I hereby claim:
- I am mediocregopher on github.
- I am mediocregopher (https://keybase.io/mediocregopher) on keybase.
- I have a public key whose fingerprint is 27AB 502A 9EA8 96F6 4A27 4970 95C4 6FA6 A411 48AC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
~ ▻ gem install --debug chef | |
NOTE: Debugging mode prints all exceptions even when rescued | |
Exception `ArgumentError' at /home/mediocregopher/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/resolv.rb:2318 - IPv6 address must be 16 bytes | |
ERROR: While executing gem ... (ArgumentError) | |
IPv6 address must be 16 bytes | |
/home/mediocregopher/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/resolv.rb:2318:in `initialize' | |
/home/mediocregopher/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/resolv.rb:2058:in `new' | |
/home/mediocregopher/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/resolv.rb:2058:in `decode_rdata' | |
/home/mediocregopher/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/resolv.rb:1556:in `block in get_rr' | |
/home/mediocregopher/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/resolv.rb:1457:in `get_length16' |
package main | |
import ( | |
"bytes" | |
"log" | |
"math/rand" | |
"net/http" | |
"time" | |
"github.com/gorilla/rpc/v2" |
.global _c_int00 ;This assembler directive allows _c_int00 to be a | |
;global variable. This tells the linker where your | |
;program (.text code) begins and where to boot from. | |
;***************************** Program Constants **************************************** | |
; Creating constants using the .set assembler directive. This should be at the top of your | |
; program. This is like a define statement in C. | |
data_sect .set 0xa000 ;constant that is actually the starting addr of .data section | |
bss_sect .set 0xb000 ;constant that is actually the starting addr of .bss section |
.global _c_int00 ;This assembler directive allows _c_int00 to be a | |
;global variable. This tells the linker where your | |
;program (.text code) begins and where to boot from. | |
;***************************** Program Constants **************************************** | |
; Creating constants using the .set assembler directive. This should be at the top of your | |
; program. This is like a define statement in C. | |
data_sect .set 0xa000 ;constant that is actually the starting addr of .data section | |
bss_sect .set 0xb000 ;constant that is actually the starting addr of .bss section |
Index: | |
{ | |
"v" : 1, | |
"key" : { | |
"arid" : 1, | |
"_id" : -1 | |
}, | |
"ns" : "feeds.artistEvents", | |
"name" : "arid_1__id_-1", | |
"background" : true |
(ns socketspam.pconn | |
(:use lamina.core aleph.tcp aleph.formats)) | |
(def socketspam-host "localhost") | |
(def socketspam-port 9000) | |
;Create an endpoint and ground it so messages don't get queued up | |
;if nothing is listening | |
(def endpoint (channel)) | |
(ground endpoint) |
#!/usr/bin/env python | |
import sys | |
import json | |
def main(): | |
for line in sys.stdin: | |
struct = json.loads(line) | |
clean_struct(struct) | |
clean_line = json.dumps(struct,sort_keys=True) |
//To make gethostname be defined | |
#define _BSD_SOURCE | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <string.h> |
(defn get-reference-children | |
[fn-id] ;fullname-or-id | |
(-> (select* reference) | |
(fields :id :fullname :isDir ) | |
(#(if-not (string? fn-id) | |
(where %1 {:parent_id fn-id}) | |
(where %1 {:parent_id (subselect reference | |
(fields :id) | |
(limit 1) | |
(where {:fullname fn-id}))} ))) |