Skip to content

Instantly share code, notes, and snippets.

Avatar
🚲

Erik Price erik

🚲
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am erik on github.
  • I am erikprice (https://keybase.io/erikprice) on keybase.
  • I have a public key whose fingerprint is C90A 6F73 8A4C 8219 AFD5 55D6 6BC5 BEEC 6215 B5F7

To claim this, I am signing this object:

View gist:3244971

testing(); something.

This is also a test.
A multiline one at that.
int main(void)
{
  return 1;
}
View gist:1714211
make 37.48s user 4.70s system 95% cpu 43.954 total
make -j6 42.86s user 3.91s system 501% cpu 9.332 total
make -j 43.77s user 3.80s system 472% cpu 10.071 total
View gist:1612560
/************************************************************************
* procmail - The autonomous mail processor *
* *
* It has been designed to be able to be run suid root and (in *
* case your mail spool area is *not* world writable) sgid *
* mail (or daemon), without creating security holes. *
* *
* Seems to be perfect. *
* *
* Copyright (c) 1990-1999, S.R. van den Berg, The Netherlands *
View gist:1392642
==20235== Invalid write of size 8
==20235== at 0x400E28: main (in /home/erik/code/c/xalloc/tester)
==20235== Address 0x51c3070 is 0 bytes after a block of size 48 alloc'd
==20235== at 0x4C279FC: calloc (vg_replace_malloc.c:467)
==20235== by 0x40076C: xalloc_new_entry (in /home/erik/code/c/xalloc/tester)
==20235== by 0x40071A: xalloc_new (in /home/erik/code/c/xalloc/tester)
==20235== by 0x400DE2: main (in /home/erik/code/c/xalloc/tester)
==20235==
==20235== Invalid read of size 8
==20235== at 0x400E33: main (in /home/erik/code/c/xalloc/tester)
View gist:1368510
Resolving dependencies...
Configuring FoieGras-0.0...
Preprocessing executables for FoieGras-0.0...
Building FoieGras-0.0...
[1 of 1] Compiling Main ( FoieGras.hs, dist/build/FoieGras/FoieGras-tmp/Main.o )
FoieGras.hs:138:0:
Couldn't match expected type `Double'
against inferred type `GLdouble'
Expected type: DTime
View gist:1362418
diff --git a/flamejam/static/countdown.js b/flamejam/static/countdown.js
index b8ecf8d..8d09124 100644
--- a/flamejam/static/countdown.js
+++ b/flamejam/static/countdown.js
@@ -27,17 +27,9 @@ function countdown() {
if (isNaN(end_utc.getTime())) {
end_utc = new Date(t.split(".")[0].replace(/-/g, "/"));
}
- var end_utc_msec = end_utc.getTime();
View gist:1349491
┌─[erik@ares][~]
└─> traceroute 69.195.128.140
traceroute to 69.195.128.140 (69.195.128.140), 30 hops max, 60 byte packets
1 192.168.1.1 (192.168.1.1) 3.001 ms 3.449 ms 4.056 ms
2 10.176.0.1 (10.176.0.1) 715.097 ms 720.346 ms *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
View gist:1340649
<curtis> hm... there's an idea
<curtis> redis + sinatra!
* CodeBlock sighs at people misusing redis :P
<curtis> it's a database
<curtis> how do you misuse it?
<CodeBlock> it's a key-value store :|
<curtis> how do you misuse it
<curtis> if you use it as a pure key-value store... there isn't much use for it at all
<CodeBlock> true
* CodeBlock shrugs
You can’t perform that action at this time.