This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://vscode-update.azurewebsites.net/latest/linux-deb-x64/stable -O /tmp/code_latest_amd64.deb | |
| sudo dpkg -i /tmp/code_latest_amd64.deb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysql -Nse 'show tables' DATABASE_NAME | while read table; do mysql -e "truncate table $table" DATABASE_NAME; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * An helper file for Laravel 4, to provide autocomplete information to your IDE | |
| * Generated with https://github.com/barryvdh/laravel-ide-helper | |
| * Updated for Laravel 4.1.22 (2014-02-03) | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| */ | |
| exit('Only to be used as an helper for your IDE'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set root | |
| sudo su | |
| # Install Composer | |
| curl -sS https://getcomposer.org/installer | php | |
| mv composer.phar /usr/local/bin/composer | |
| # Exit root | |
| exit | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to crack Sublime Text (2 and 3) | |
| === | |
| 1. Open Sublime in a HEX editor (the executable file) | |
| 2. Find 43 33 33 42 30 32 | |
| 3. Replace in the string above 33 42 with 32 42 | |
| 4. Save | |
| 5. Enter the license below: | |
| —–BEGIN LICENSE—– |