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
apt-get clean && apt-get update && apt-get upgrade && apt-get install vim htop jnettop nmap apache2 mysql-server php5 libapache2-mod-php5 php5-mcrypt php5-cgi php5-cli php5-curl php5-common php5-mysql php5-gd php5-dev php5-pgsql php5-sqlite php5-xmlrpc phpunit php5-intl php5-ssh2 git php5-imagick |
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
<snippet> | |
<content><![CDATA[ | |
<? if( \$${1} empty( \$${1} ) == ): ?> | |
<? else: ?> | |
<? endif ?> | |
]]></content> | |
<tabTrigger>sif</tabTrigger> |
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
<snippet> | |
<content><![CDATA[ | |
<? foreach( \$${1} as \$key => \$${2}): ?> | |
<?= \$${1}['${3}']['${4}']?> | |
<? endforeach ?> | |
]]></content> |
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
apm install | |
emmet file-icons dracula-theme autocomplete-php atom-beautify php-cs-fixer autoprefixer | |
atom-ide-ui ide-php goto-definition php-integrator-navigation php-integrator-call-tips php-integrator | |
php-integrator-linter php-integrator-autocomplete-plus atom-pair atom-symfony2 symfony-snippets | |
atom-symfony |
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
find /var/www -name template-loader.php -exec egrep -Rw 'wp_enqueue_script("swfobject");' {} \; | |
# assuming /var/www is your web projects folder | |
# also you can check online in: http://sitecheck.sucuri.net/ |
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
DocBlockr | |
HTML/CSS/JS Prettify | |
BracketHighlighter | |
SublimeLinter | |
PHPUnit Completions | |
ColorHighlighter | |
SublimeCodeIntel | |
Emmet | |
Colorsublime | |
SidebarEnhancements |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"font_size": 12, | |
"translate_tabs_to_spaces": true, | |
"tab_size": 2, | |
"scroll_speed": 2.0, | |
"folder_exclude_patterns": [".svn", ".git", "._d", ".metadata", ".settings"], | |
"file_exclude_patterns": ["*.pyc", "*.pyo", ".project", "*.jpg", "*.png", "*.gif"], | |
"detect_indentation": true, | |
"detect_slow_plugins": false, |
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
egrep 'wp_version =' `find . -name version.php` |
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
git config --global alias.st "status -s" | |
git config --global alias.puom "push -u origin master" | |
git config --global alias.lol "log --all --graph --decorate" | |
git config --global alias.com "checkout master" | |
git config --global alias.cod "checkout dev" | |
git config --global alias.b "branch" | |
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
#!/bin/sh | |
# replace cmd1 for the command to execute | |
host=192.168.1.1 | |
port=23 | |
user=myuser | |
pass=mypass | |
cmd1='ifconfig wl0 down' | |
( echo open ${host} |