I hereby claim:
- I am konsumer on github.
- I am konsumer (https://keybase.io/konsumer) on keybase.
- I have a public key whose fingerprint is 511A 00DA 737A 4120 81FB 0E3F A72D B62D 41CC C68A
To claim this, I am signing this object:
var mongoose = require('mongoose'); | |
mongoose.connect(process.env.MONGO_URI); | |
mongoose.connection.on('error', function(e){ | |
console.log('Mongoose Error:', e) | |
}); | |
var Tester = mongoose.model('Tester', new mongoose.Schema({ | |
cool: Boolean | |
})); |
I hereby claim:
To claim this, I am signing this object:
{ | |
"name": "testdir", | |
"version": "0.0.0", | |
"main": "index.js", | |
"dependencies": { | |
"randopeep": "^0.2.0", | |
"request": "^2.36.0" | |
} | |
} |
var models = require('../models'), | |
mongoose = require('mongoose'); | |
module.exports = function(app) { | |
var angularBridge = new (require('angular-bridge'))(app, { | |
urlPrefix : '/api/' | |
}); | |
// add API interface for all models | |
for (modelName in models){ |
<!doctype html> | |
<!--[if lt IE 7]> <html class="static no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="static no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="static no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="static no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Sound Test</title> | |
<meta name="description" content=""> |
var db = require('./db'), | |
readline = require('readline'), | |
path = require('path'), | |
fs = require('fs'); | |
var types = { | |
'first':'facebook-firstnames-withcount', | |
'last':'facebook-lastnames-withcount', | |
'full':'facebook-names-unique' | |
}; |
var db = require('./db'), | |
readline = require('readline'), | |
path = require('path'), | |
fs = require('fs'), | |
poolr = require('poolr').createPool, | |
couchPool = poolr(2, db); | |
var types = { | |
'first':'facebook-firstnames-withcount', | |
'last':'facebook-lastnames-withcount', |
var LineByLineReader = require('line-by-line'), | |
path = require('path'), | |
db = require('./db') | |
// line-by-line read file, turn into a couch record | |
function processFile(type){ | |
var fname = path.join('data', types[type] + '.txt'); | |
var lr = new LineByLineReader(fname, {skipEmptyLines: true}); | |
lr.on('error', function (err) { |
<script src="http://connect.soundcloud.com/sdk.js"></script> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> | |
<img src="https://i1.sndcdn.com/artworks-000058833387-zq7xz5-t120x120.jpg?e76cf77"> |
# Python version of Micheal's fermimerge IDL program... hopefully. | |
# Import as needed: | |
import subprocess | |
import time | |
import os | |
import pdb | |