In this short article we are going to install composer php packages manager in Ubuntu 16 and above.
- Make sure php is installed by typing
php -vin terminal. otherwise install PHP with this command:
sudo apt-get update
sudo apt-get install php
| ## | |
| # You should look at the following URL's in order to grasp a solid understanding | |
| # of Nginx configuration files in order to fully unleash the power of Nginx. | |
| # https://www.nginx.com/resources/wiki/start/ | |
| # https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ | |
| # https://wiki.debian.org/Nginx/DirectoryStructure | |
| # | |
| # In most cases, administrators will remove this file from sites-enabled/ and | |
| # leave it as reference inside of sites-available where it will continue to be | |
| # updated by the nginx packaging team. |
php.ini to make it work with PHPStorm[XDEBUG]
zend_extension = C:\xampp\php\ext\php_xdebug-2.5.4-7.1-vc14.dll
xdebug.remote_enable = true
xdebug.idekey = PHPSTORM
Composer autoloadervendor/autoload.phpphpunit.xml in the current project for the default configuration file| function doubleMe(name, x) { | |
| console.log('I am running ' + name); | |
| return new Promise(resolve => { | |
| setTimeout(() => { | |
| resolve(x * 2); | |
| console.log('hoooo'); | |
| }, 2000); | |
| }); | |
| } |
| { | |
| "name": "Babel with Nodemon", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "public/index.js", | |
| "scripts": { | |
| "start": "node ./public/index.js", | |
| "start:dev": "nodemon ./public/index.js", | |
| "clean": "rm -rf dist", | |
| "build": "npm run clean && mkdir dist && babel app -d dist --copy-files", |
Run this command and it will give you list of in installed packages:
code --list-extensions | xargs -L 1 echo code --install-extension
I have this packages:
code --install-extension christian-kohler.path-intellisense