This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var StanfordSimpleNLP = require('stanford-simple-nlp').StanfordSimpleNLP; | |
var options = { | |
annotators: ['parse'] | |
}; | |
var stanfordSimpleNLP = new StanfordSimpleNLP(options, function(err) { | |
stanfordSimpleNLP.process('This is so good.', function(err, result) { | |
if (err) console.log(err); | |
console.log(result) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
html | |
head | |
title My Awesome site | |
link(rel="stylesheet", href="/css/main.css") | |
!= partial("/js/moment") | |
body | |
!= yield |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rss": { | |
"layout":false | |
}, | |
"sitemap": { | |
"site_url": "http://example.com", | |
"layout":false | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html | |
http://code.google.com/p/nltk/source/browse/trunk/nltk | |
http://wordnet.princeton.edu/wordnet/download/ | |
http://code.google.com/p/nltk/source/browse/trunk/nltk/nltk/chunk/named_entity.py | |
http://www.writingcentre.uottawa.ca/hypergrammar/subjpred.html | |
http://nlp.stanford.edu/software/crf-faq.shtml | |
http://sourceforge.net/apps/mediawiki/opennlp/index.php?title=Name_Finder | |
http://en.wikipedia.org/wiki/Sentiment_analysis | |
http://arxiv.org/pdf/cs.LG/0212032 | |
http://www.scribd.com/doc/7865458/the-learning-chatbot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.btt a[href*=#]').bind("click", $.NS.navigationJump); | |
$.NS = function(){ | |
$(document).ready(function(){ | |
try { | |
if(location.hash.length > 0){ | |
var target = location.hash.split('/')[1]; | |
var of = (target == "header") ? 0 : 350; | |
$('html, body').animate({scrollTop: $('#'+target).offset().top + of}, 500); | |
$('.nav a[href=#'+target+']').addClass('active'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FMWK.button = function() { | |
var _this = this; | |
this.el = document.createElement('button'); | |
['hide','show'].forEach(function(method){ | |
FMWK.button.prototype[method] = function(){ | |
$(_this.el)[method].apply($(_this.el), Array.prototype.slice.call(arguments)); | |
} | |
}); | |
return this; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"author": "Rob Ellis <[email protected]>", | |
"name":"trakt_trending", | |
"version" : "0.0.1", | |
"dependencies": { | |
"request" : "2.9.202", | |
"xml2js": "*" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var express = require("/Users/ironman/.node_libraries/express"); | |
var startPort = 4567; | |
var app = express.createServer(); | |
app.configure(function(){ | |
app.use(express.static(process.cwd() + '/')); | |
app.use(express.directory(process.cwd() + '/',{ icons:true })); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6.1101,17.592 | |
5.5277,9.1302 | |
8.5186,13.662 | |
7.0032,11.854 | |
5.8598,6.8233 | |
8.3829,11.886 | |
7.4764,4.3483 | |
8.5781,12 | |
6.4862,6.5987 | |
5.0546,3.8166 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('connect').createServer( | |
connect.static(__dirname + '/videos', { maxAge: 0 }), | |
function(req, res) { | |
res.setHeader('Content-Type', 'text/html'); | |
res.end('<video width="300px" src="/OLD_BOY.mp4" controls="controls" autoplay="autoplay"></video>'); | |
} | |
).listen(process.env.PORT || 4000); |