How to Install Composer on mac / OSX

1. Open Terminal and paste these code and run php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘sha384’, ‘composer-setup.php’) === ‘8a6138e2a05a8c28539c9f0fb361159823655d7ad2deecb371b04a83966c61223adc522b0189079e3e9e277cd72b8897’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;” php composer-setup.php php -r “unlink(‘composer-setup.php’);” 2. It will install composer locally. Now we need to move it globally sudo mv composer.phar…

Android Add Animations Left Right Top Bottom Translation.

Animation animSlideDown = AnimationUtils.loadAnimation(getActivity(), R.anim.bottom_to_top); yourLayout.startAnimation(animSlideDown); Animations. Just create an animation file inside anim folder under the res. app->res->anim bottom_to_top.xml <?xml version=”1.0″ encoding=”utf-8″?><set xmlns:android=”http://schemas.android.com/apk/res/android”> <translate…

Android 4.0 Stable version Released

https://developer.android.com/studio/releases/?utm_medium=studio-assistant&utm_source=android-studio#4-0-0 Major Features Build Analyzer Java 8 library desugaring in D8 and R8 Feature-on-feature dependencies Dependencies metadata Support for Kotlin DSL script files CPU Profiler…