List All
$ cd documents
$ find . -name "node_modules" -type d -prune | xargs du -chs
--- Example output ---
25M ./Github/Trilon.io/node_modules
482M ./Github/Some_Demo/node_modules
707M total
List All
$ cd documents
$ find . -name "node_modules" -type d -prune | xargs du -chs
--- Example output ---
25M ./Github/Trilon.io/node_modules
482M ./Github/Some_Demo/node_modules
707M total
sudo mkdir -p /var/www/xxx.com
sudo chown -R www-data: /var/www/xxx.com
/etc/apache2/sites-available/xxx.com.conf
| { | |
| "extends": [ | |
| "eslint:recommended", | |
| "prettier", | |
| "prettier/react", | |
| "plugin:import/errors", | |
| "plugin:react/recommended", | |
| "plugin:jsx-a11y/recommended" | |
| ], | |
| "rules": { |
Một số Framework hỗ trợ:
docker run --rm --interactive --tty --volume $PWD:/app composer install
docker run --rm -v $(pwd):/app -w /app php:cli php artisan
| { | |
| "printWidth": 80, | |
| "tabWidth": 4, | |
| "useTabs": false, | |
| "singleQuote": true, | |
| "phpVersion": "7.3", | |
| "trailingCommaPHP": true, | |
| "braceStyle": "psr-2", | |
| "requirePragma": false, | |
| "insertPragma": false |
| const setTweet = () => { | |
| const commentEl = document.querySelector('[class="DraftEditor-root"]'); | |
| const editable = commentEl.querySelector("[contenteditable]"); | |
| const data = new DataTransfer(); | |
| data.setData("text/plain", "Hello World! 😍"); | |
| editable.dispatchEvent( | |
| new ClipboardEvent("paste", { | |
| bubbles: true, | |
| clipboardData: data, |