This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fail() { | |
omg / lol; | |
}; | |
$(function() { | |
DNode().connect(function(remote) { | |
remote.hello(function() { | |
fail(); | |
}); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch -f --commit-filter ' | |
if [ "$GIT_AUTHOR_NAME" = "eirikb@heavyload" ]; | |
then | |
GIT_COMMITTER_NAME="<Eirik Brandtzæg>"; | |
GIT_AUTHOR_NAME="<Eirik Brandtzæg>"; | |
GIT_COMMITTER_EMAIL="<[email protected]>"; | |
GIT_AUTHOR_EMAIL="<[email protected]>"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mvn clojure:test | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building comicparser 0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- clojure-maven-plugin:1.3.4:test (default-cli) @ comicparser --- | |
Testing no.eirikb.comicparser.comicparser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"image":{ | |
"operatingSystem":{ | |
"family":"UBUNTU", | |
"arch":"paravirtual", | |
"version":"", | |
"description":"DB2 Express-C 9.7.1 on Ubuntu 9.10 i386 - 20100407", | |
"is64Bit":false | |
}, | |
"description":"DB2 Express-C 9.7.1 running on Ubuntu 9.10. Built 2010-04-07", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my.test-lib: { | |
a: 'hello', | |
b: 'world', | |
c: 1337, | |
t: true, | |
f: false, | |
inner.object: 'Works!', | |
my.very-inner.object: 7, | |
nesting-test: +(1 2 3 -(6 1)), | |
string-test: str('hello' ', ' 'world'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[eirikb@eeeirik mineserver2]$ cmake . | |
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1197 (message): | |
Unable to find the requested Boost libraries. | |
Unable to find the Boost header files. Please set BOOST_ROOT to the root | |
directory containing Boost or BOOST_INCLUDEDIR to the directory containing | |
Boost's headers. | |
Call Stack (most recent call first): | |
CMakeLists.txt:59 (FIND_PACKAGE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl eltafans.com/3/powerplus-redshop -v | |
* About to connect() to eltafans.com port 80 (#0) | |
* Trying 174.143.122.1... connected | |
> GET /3/powerplus-redshop HTTP/1.1 | |
> User-Agent: curl/7.22.0 (x86_64-unknown-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.0e zlib/1.2.5 libssh2/1.3.0 | |
> Host: eltafans.com | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK | |
< Date: Wed, 16 Nov 2011 15:33:55 GMT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ for i in {1..10}; do curl http://eltafans.com/3/powerplus-redshop | wc; done | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1406 100 1406 0 0 1770 0 --:--:-- --:--:-- --:--:-- 2221 | |
39 137 1406 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1406 100 1406 0 0 1064 0 0:00:01 0:00:01 --:--:-- 1212 | |
39 137 1406 | |
% Total % Received % Xferd Average Speed Time Time Time Current |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map $remote_addr $proxyaddr{ | |
default http://10.0.0.5:8001; | |
10.0.1.7 http://10.0.1.7:8001; | |
} | |
server { | |
listen 8001; | |
server_name localhost; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table | |
thead | |
tr | |
th Name | |
th Age | |
th Gender | |
tbody | |
tr | |
td Eirik | |
td 25 |
OlderNewer