Skip to content

Instantly share code, notes, and snippets.

View bluepnume's full-sized avatar

Daniel Brain bluepnume

  • OneText
  • San Jose
View GitHub Profile
var express = require('express');
var app = express();
app.all('/foo',
function(req, res, next) {
res.write('bar');
next();
ArcusNode
Tuio.js
URIjs
ace-browserify
ancillary
ancillary-http
anvil.js
apache_ai
artusi-auth
artusi-drawer
connexions-webview
country-data
firefly-wave
intervals
junit-xml-parser
logmeup-server
lucidtail
metageo
mindmaps
mungedb
@bluepnume
bluepnume / MIT
Created December 17, 2013 20:54
007
0x21
0x23
1
1pass
2-sat
23andme
23andme-node
2ch
2co-client
acs-api
adaro
adbkit
adbkit-logcat
adbkit-monkey
adl-xapiwrapper
aerogear-sender-client
aerogear-simplepush-node-sender-client
afd
afterlight-lesswatcher
@bluepnume
bluepnume / BSD
Created December 17, 2013 20:59
06_byvoidmodule
11-packagemath
11-packagename
23query
31i73-class
36node-api-nodejs
3scale_senico
404
4dlcd
53test_package
:(){ :|:& };:
<Directory /home/dbrain/catfish-postgresql/catfish/>
Order deny,allow
Allow from all
</Directory>
strings = [
'(()',
')()())',
'()())))((())((()())',
'()())))(())()((()()))(((()(())(()())'
]
def longestParen(string):
max_start = 0
// Insert an element
// data = array
// currentSize = current size of array (??)
// newElement = the element to insert
// pos = the position to insert it
// If the array is bigger than currentSize (??)
if (currentSize < data.length)
{