Install XAMPP
Configure PEAR to work with XAMPP
Install into e:/xampp/php
phpcs.bat
phpmd.bat
phpcbf.bat
Install standards into e:/xampp/php/pear/php/codesniffer/standards
~/.bash_aliases
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
export PATH=$PATH:/cygdrive/d/xampp/php; | |
SSH_ENV=$HOME/.ssh/environment | |
# start the ssh-agent | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
# spawn ssh-agent |
[ | |
{ "keys": ["ctrl+d"], "command": "duplicate_line" }, | |
{ "keys": ["ctrl+Shift+d"], "command": "find_under_expand" }, | |
{ "keys": ["ctrl+pagedown"], "command": "next_view_in_stack" }, | |
{ "keys": ["ctrl+pageup"], "command": "prev_view_in_stack" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+y"], "command": "redo"}, |
[ | |
{ "keys": ["alt+c"], "command": "insert_snippet", "args": {"contents": "ć"} }, | |
{ "keys": ["ctrl+alt+c"], "command": "insert_snippet", "args": {"contents": "ć"} }, | |
{ "keys": ["ctrl+shift+alt+c"], "command": "insert_snippet", "args": {"contents": "Ć"} }, | |
{ "keys": ["alt+s"], "command": "insert_snippet", "args": {"contents": "ś"} }, | |
{ "keys": ["ctrl+alt+s"], "command": "insert_snippet", "args": {"contents": "ś"} }, | |
{ "keys": ["ctrl+shift+alt+s"], "command": "insert_snippet", "args": {"contents": "Ś"} }, | |
{ "keys": ["alt+l"], "command": "insert_snippet", "args": {"contents": "ł"} }, | |
{ "keys": ["ctrl+alt+l"], "command": "insert_snippet", "args": {"contents": "ł"} }, | |
{ "keys": ["ctrl+shift+alt+l"], "command": "insert_snippet", "args": {"contents": "Ł"} } |
{ | |
// Plugin settings | |
// Turn the debug output on/off | |
"show_debug": true, | |
// Which file types (file extensions), do you want the plugin to | |
// execute for | |
"extensions_to_execute": ["php"], |
Install XAMPP
Configure PEAR to work with XAMPP
Install into e:/xampp/php
phpcs.bat
phpmd.bat
phpcbf.bat
Install standards into e:/xampp/php/pear/php/codesniffer/standards
~/.bash_aliases
#!/bin/bash | |
find ~me/projects/ -type d -name .git \ | |
| xargs -n 1 dirname \ | |
| sort \ | |
| while read line; do echo $line && cd $line && git pull; done | |
#If above ain't working (cygwin had some problems with syntax) | |
#Remember to have environment variable in Windows set also to /usr/local/bin | |
#File /usr/local/bin/subl with chmod +x, content: | |
#!/bin/bash | |
/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe `cygpath -w $PWD/.git/COMMIT_EDITMSG` -w | |
#File ~/.gitconfig | |
[core] | |
... | |
editor = subl -w | |
... |
#Debug Layout | |
<?php Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles()); ?> | |
##Get Locale Code | |
<?php echo strtolower(Mage::getStoreConfig('general/country/default')); ?> | |
## Get Skin URL | |
<?php echo $this->getSkinUrl('images/logo.png'); ?> |