20 Septembre 2012
Bonne question
| find . -type f -name *.php | xargs sed -i.bak 's/foo/bar/g' |
| /etc/init.d/mysql stop | |
| mysqld --skip-grant-tables & | |
| mysql -vv < restore_root_privileges.sql | |
| /etc/init.d/mysql restart | |
| mysql -u root -p | |
| mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION; | |
| mysql> quit; |
| telnet server 143 | |
| 01 LOGIN <user> <pass> | |
| 02 LIST "" * | |
| 03 SELECT INBOX |
| function is_email(id){return (/^([\w!.%+\-\*])+@([\w\-])+(?:\.[\w\-]+)+$/).test(id);} |
| aptitude install rssh |
| onload = function() { | |
| if (document.getElementById('ads_bottom').offsetHeight == 0) { | |
| alert('Désactivez AdBlock !'); | |
| } | |
| } |
| .animation { | |
| -webkit-transform: translate3d(0, 0, 0); | |
| -webkit-backface-visibility: hidden; | |
| -webkit-perspective: 1000; | |
| } |
| defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1 |
| cd [votre repo local] | |
| git remote add oldorigin git@[ancienserveurgit]:[organisation]/[nomdurepo].git | |
| git remote set-url origin [email protected]:[organisation]/[nomdurepo].git |