$ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt
$ git clone --depth=1 https://github.com/php/php-src.git
$ cd php-src
<keymap version="1" name="Dvorak - Eclipse" parent="Eclipse (Mac OS X)"> | |
<action id="Back"> | |
<mouse-shortcut keystroke="button4" /> | |
</action> | |
<action id="CloseAllEditors"> | |
<keyboard-shortcut first-keystroke="shift meta W" /> | |
<keyboard-shortcut first-keystroke="shift control meta W" /> | |
</action> | |
<action id="CommentByBlockComment" /> | |
<action id="CommentByLineComment"> |
#!/bin/zsh | |
# | |
# Highlight a given file and copy it as RTF. | |
# | |
# Simon Olofsson <[email protected]> | |
# | |
set -o errexit | |
set -o nounset |
#Refer: http://www.linuxfoundation.org/collaborate/workgroups/networking/netem#Delaying_only_some_traffic | |
#Refer: http://www.bomisofmab.com/blog/?p=100 | |
#Refer: http://drija.com/linux/41983/simulating-a-low-bandwidth-high-latency-network-connection-on-linux/ | |
#Setup the rate control and delay | |
sudo tc qdisc add dev lo root handle 1: htb default 12 | |
sudo tc class add dev lo parent 1:1 classid 1:12 htb rate 56kbps ceil 128kbps | |
sudo tc qdisc add dev lo parent 1:12 netem delay 200ms | |
#Remove the rate control/delay | |
sudo tc qdisc del dev lo root |