- Install tools to build:
sudo apt-get update
sudo apt-get install kernel-package fakeroot wget bzip2- Linux-2.6.39.1-linode34 is same as regular 2.6.39
| cd /var/spool/exim/db | |
| sudo rm retry retry.lockfile wait-remote_smtp wait-remote_smtp.lockfile | |
| sudo /etc/init.d/exim restart |
| iptables -t nat -A OUTPUT -p all -d XXX.XXX.XXX.XXX -j DNAT --to-destination YYY.YYY.YYY.YYY |
| // ORIGINAL random matrix multiply // | |
| // originally from: | |
| // https://github.com/JuliaLang/julia/blob/master/test/perf/perf.js // | |
| function assert(t) { if (!t) throw new Error("assertion failed"); } | |
| function runTest(func, arg, str) { | |
| var tmin = Number.POSITIVE_INFINITY; | |
| var t = (new Date).getTime(); | |
| var C = func(arg); |
| var mt = require('microtime'); | |
| // TO BEAT: | |
| // fib 0.168085 | |
| // parse_int 0.417948 | |
| // mandel 2.943993 | |
| // quicksort 0.912189 | |
| // pi_sum 47.051191 | |
| // rand_mat_stat 14.281034 | |
| // rand_mat_mul 192.106009 | |
| // printfd 33.056021 |
| // I saw the site from a link on Reddit. | |
| // I wished I could easily sync the cameras. | |
| // 3 hours later I had a script to do it. | |
| // Just copy and paste it into your console. (I'm too lazy to make an extension). | |
| // | |
| // Features: | |
| // - Control all cameras simultaneously by using the controls of any camera view. | |
| // (except for volume and crap like that). | |
| // - Have cams playing? Launch another and it should sync up automatically. | |
| // |
| #!/bin/sh | |
| VM="Ubuntu Server" | |
| function wakefunc { | |
| VBoxManage startvm $VM | |
| osascript -e 'tell application "Skype" to send command "SET USERSTATUS ONLINE" script name "wakescript"' | |
| } | |
| function sleepfunc { |
So, apt-get fails you. What do?
Old versions of ubuntu are found here.
| brew install libzmq | |
| export CFLAGS=-Qunused-arguments | |
| export CPPFLAGS=-Qunused-arguments | |
| pip install pyzmq --install-option="--zmq=/usr/local/Cellar/zeromq/4.0.4" |