Skip to content

Instantly share code, notes, and snippets.

View azimsai's full-sized avatar

Azeem S azimsai

View GitHub Profile
@azimsai
azimsai / update.sh
Created October 18, 2018 08:59 — forked from ctrleffive/update-vs-code.md
Update VS Code
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
@azimsai
azimsai / gist:e4978ff4cea4c4196226
Last active August 29, 2015 14:01 — forked from Suave/gist:6127873
Truncate all tables in database
mysql -Nse 'show tables' DATABASE_NAME | while read table; do mysql -e "truncate table $table" DATABASE_NAME; done
<?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');
# Set root
sudo su
# Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
# Exit root
exit
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—–