This file contains 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
alias gundo='git reset HEAD~ && git clean -df' |
This file contains 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
/** | |
* Taken from http://paste.laravel.com/b8n | |
* and added a datum attr to submit data along with the RESTful request | |
* | |
* Restfulize any hiperlink that contains a data-method attribute by | |
* creating a mini form with the specified method and adding a trigger | |
* within the link. | |
* Requires jQuery! | |
* | |
* Ex in Laravel: |
This file contains 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
ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/ |
This file contains 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
421 421 421 | |
7 7 7 | |
user group other | |
rwx rwx rwx |
This file contains 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
['account.updated', | |
'account.application.deauthorized', | |
'account.external_account.created', | |
'account.external_account.deleted', | |
'account.external_account.updated', | |
'application_fee.created', | |
'application_fee.refunded', | |
'application_fee.refund.updated', | |
'balance.available', | |
'bitcoin.receiver.created', |
This file contains 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
hasMany : model remote local | |
BelongsTo: model local remote | |
hasOne : model remote local |
This file contains 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
du -sk -- * | sort -n | perl -pe '@SI=qw(K M G T P); s:^(\d+?)((\d\d\d)*)\s:$1." ".$SI[((length $2)/3)]."\t":e' |