Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
<?xml version="1.0" encoding="UTF-8"?> | |
<inspections version="1.0" is_locked="false"> | |
<option name="myName" value="Expert Level PHP" /> | |
<option name="myLocal" value="false" /> | |
<inspection_tool class="BadExpressionStatementJS" enabled="false" level="WARNING" enabled_by_default="false" /> | |
<inspection_tool class="CallerJS" enabled="false" level="WARNING" enabled_by_default="false" /> | |
<inspection_tool class="CommaExpressionJS" enabled="false" level="WARNING" enabled_by_default="false" /> | |
<inspection_tool class="ConstantConditionalExpressionJS" enabled="false" level="WARNING" enabled_by_default="false" /> | |
<inspection_tool class="ConstantIfStatementJS" enabled="false" level="WARNING" enabled_by_default="false" /> | |
<inspection_tool class="ContinueOrBreakFromFinallyBlockJS" enabled="false" level="WARNING" enabled_by_default="false" /> |
#!/bin/bash | |
# args | |
MSG=${1-'deploy from git'} | |
BRANCH=${2-'trunk'} | |
# paths | |
SRC_DIR=$(git rev-parse --show-toplevel) | |
DIR_NAME=$(basename $SRC_DIR) | |
DEST_DIR=~/svn/wp-plugins/$DIR_NAME/$BRANCH |
# Compile PCRE - Perl Compatible Regular Expressions | |
cd /usr/local/src | |
curl -O ftp://ftp.csx.cam.ac.uk//pub/software/programming/pcre/pcre-8.31.tar.gz | |
tar -xvzf pcre-8.31.tar.gz | |
cd pcre-8.31 | |
./configure | |
make | |
sudo make install | |
# Compile Autoconf |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
username: vagrant | |
password: vagrant | |
sudo apt-get update | |
sudo apt-get install build-essential zlib1g-dev git-core sqlite3 libsqlite3-dev | |
sudo aptitude install mysql-server mysql-client | |
sudo nano /etc/mysql/my.cnf |
#!/bin/sh -e | |
# | |
# Usage: ssh-copy-rsub [--bash] [user@]machine | |
# | |
# Shell script to install rsub on the remove server so we can open shell scripts locally. | |
# Author: Leon Radley (http://github.com/leon) | |
URL="https://raw.github.com/avian/rmate/master/rmate" | |
if [ "$#" -gt 1 ] || [ "$1" = "-b" ] || [ "$1" = "--bash" ]; then |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
alias lls='ls -lha' | |
alias ~='cd ~' | |
alias reload="source ~/.bash_profile" | |
alias pyserver="python -m SimpleHTTPServer" | |
# Projects | |
alias cdb1="cd ~/Sites/blah1" | |
alias cdb2="cd ~/Sites/blah2" |