Installing rabbitmq: https://bugzilla.mozilla.org/show_bug.cgi?id=561459#c0
$ rabbitmq-server +---+ +---+ | | | | | | | |
L1 cache reference | 0.5 ns | |
Branch mispredict | 5 ns | |
L2 cache reference | 7 ns | |
Mutex lock/unlock | 25 ns | |
Main memory reference | 100 ns | |
Compress 1K bytes w/ cheap algorithm | 3,000 ns | |
Send 2K bytes over 1 Gbps network | 20,000 ns | |
Read 1 MB sequentially from memory | 250,000 ns | |
Round trip within same datacenter | 500,000 ns | |
Disk seek | 10,000,000 ns |
#!/bin/bash | |
php52_so_path="/usr/local/php5/lib/libphp5.so" | |
# /usr/libexec/apache2/libphp5.so will be copied to | |
# $php53_so_path if $php53_so_path does not exist | |
php53_so_path="/usr/libexec/apache2/libphp5.so.apple" | |
# where apache thinks the php .so file is | |
apache_conf_php_so_path="/usr/libexec/apache2/libphp5.so" | |
switch_to_php=$php52_so_path |
<?php | |
/** | |
* array Util class | |
*/ | |
class Arr { | |
/** | |
* $array Can be either an Array or the string output of | |
* print_r($array, true); | |
*/ | |
public static function print_php($array) { |
$ git co -b rss-versions | |
# make your branch visible for others | |
$ git push origin rss-versions |
open term | |
$ workon zamboni | |
$ pyman runserver 8888 | |
open term | |
$ rabbitmq-server | |
# if wont start, http://gist.github.com/472601 | |
open term | |
$ workon zamboni |
$ rabbitmq-server +---+ +---+ | | | | | | | |