I hereby claim:
- I am pquerna on github.
- I am pquerna (https://keybase.io/pquerna) on keybase.
- I have a public key whose fingerprint is 6941 996A 72D1 7A85 4127 C2B6 2D1B 1FF7 2C05 40B2
To claim this, I am signing this object:
#include "issue133.h" | |
int Example_A(const SomeCallbacks *sc) { | |
return 0; | |
} | |
const SomeCallbacks kSomeCallbacks = {0}; |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} /2013/ocw(.*) | |
RewriteRule (.*) - [L,PT] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule (.*) /2013/index.php [L] | |
</IfModule> |
from socket import gethostname | |
import time | |
from cloudkick.ckcrypto import secure_hash | |
_prefix = "&rh=%s&h=%s" % (secure_hash(4), gethostname()) | |
def txnId(count=0): | |
global _prefix | |
t = int(time.time()) |
srcdir = '.' | |
blddir = 'build' | |
VERSION = '0.0.1' | |
def set_options(opt): | |
opt.tool_options('compiler_cxx') | |
def configure(conf): | |
conf.check_tool('compiler_cxx') | |
conf.check_tool('node_addon') |
var fs = require('fs'); | |
var Buffer = require('buffer').Buffer; | |
var path = "/tmp/wt.dat"; | |
var tsize = 2000 * 1048578; | |
var bsizes = [1024, 4096, 8192, 16384, 32768, 65536]; | |
function bufit(size) { |
From c14bdfbb0582fa2da347aeed4a97e3eb76a8e0c8 Mon Sep 17 00:00:00 2001 | |
From: Paul Querna <[email protected]> | |
Date: Tue, 13 Jul 2010 00:22:33 -0700 | |
Subject: [PATCH 1/3] Add basic structure and macros for node modules. | |
--- | |
src/node.h | 30 ++++++++++++++++++++++++++++++ | |
1 files changed, 30 insertions(+), 0 deletions(-) | |
diff --git a/src/node.h b/src/node.h |
log = require('sys').log | |
dgram = require('./lib/dgram') | |
var Buffer = require('buffer').Buffer; | |
var endat = 10; | |
var count = 0; | |
socket = dgram.createSocket(); | |
socket.addListener('message', function (msg, rinfo) { | |
log('got message from '+ rinfo.address +' port: '+ rinfo.port); | |
log('data len: '+ rinfo.size + " data: "+ msg.toString('ascii', 0, rinfo.size)); |
log = require('sys').log | |
dgram = require('dgram') | |
var Buffer = require('buffer').Buffer; | |
socket = dgram.createSocket(); | |
socket.addListener('message', function (msg, rinfo) { | |
log('got message from '+ rinfo.address +' port: '+ rinfo.port); | |
log('data len: '+ rinfo.size + " data: "+ msg.toString('ascii', 0, rinfo.size)); | |
socket.send(rinfo.port, rinfo.address, msg, 0, rinfo.size); | |
//socket.close(); |
BlackWater:node-tests chip$ node test-json.js | |
/Users/chip/work/temp/node-tests/test-json.js:8 | |
p = JSON.parse(data); | |
^ | |
node.js:176:9 |