Skip to content

Instantly share code, notes, and snippets.

Sergio Vilar sergiovilar

Block or report user

Report or block sergiovilar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Quick install PHP 7.0:

1. Install depends PHP 7.0
$ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt
2. Configure PHP 7.0
$ git clone --depth=1
$ cd php-src
mefellows / rubymine-eclipse-dvorak
Last active May 10, 2016
Rubymine Eclipse-like Keymap for Dvorak
View rubymine-eclipse-dvorak
<keymap version="1" name="Dvorak - Eclipse" parent="Eclipse (Mac OS X)">
<action id="Back">
<mouse-shortcut keystroke="button4" />
<action id="CloseAllEditors">
<keyboard-shortcut first-keystroke="shift meta W" />
<keyboard-shortcut first-keystroke="shift control meta W" />
<action id="CommentByBlockComment" />
<action id="CommentByLineComment">
# Highlight a given file and copy it as RTF.
# Simon Olofsson <>
set -o errexit
set -o nounset
trongthanh / gist:1196596
Created Sep 6, 2011
Emulate slow Internet connection speed on localhost with netem (Ubuntu)
View gist:1196596
#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
You can’t perform that action at this time.