Skip to content

Instantly share code, notes, and snippets.

View joshuakfarrar's full-sized avatar
💻
EitherT[IO, Throwable, Human]

Joshua K. Farrar joshuakfarrar

💻
EitherT[IO, Throwable, Human]
View GitHub Profile
exports.show = function (req, res, next) {
var username = req.params.username;
var query = User.where({ username: username });
query.findOne(function (err, user) {
if (err) return next(err);
if (!user) return res.send(401);
res.json(user.profile); // this is where the magic happens
});
};
sent1nel in ~/Desktop/apps/TwitterBot (v0.10.32) on master ● λ cat index.coffee
twit = require 'twit'
opts =
consumer_key: 'a'
consumer_secret: 'b'
access_token: 'c'
access_token_secret: 'd'
T = new twit(opts)
// <canvas id="starfall" />
// #starfall {
// height: 315px;
// width: 850px;
// }
// processing 1.4.7
var stars = [];
function Starfall(processing) {
$ unset M2_HOME
$ cat /etc/mavenrc
JAVA_HOME=`/usr/libexec/java_home -v 1.6`
~/Workspace/amp-client/ (master)$ brew versions maven
Warning: brew-versions is unsupported and will be removed soon.
You should use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions
3.2.3 git checkout 941f311 /usr/local/Library/Formula/maven.rb
3.2.2 git checkout 47fc814 /usr/local/Library/Formula/maven.rb
3.2.1 git checkout 5750c48 /usr/local/Library/Formula/maven.rb
3.1.1 git checkout 3e039d4 /usr/local/Library/Formula/maven.rb
3.1.0 git checkout f160fa9 /usr/local/Library/Formula/maven.rb
commit 146332babdf5918ec68c390d3e6e4904271ef087
Author: sent1nel <[email protected]>
Date: Fri Oct 3 10:41:08 2014 -0400
two. fibonacci numbers :)
commit 5d81579953c778bbe338c8937333d28f197c0476
Author: sent1nel <[email protected]>
Date: Thu Oct 2 23:31:37 2014 -0400
$charcoal: #20201f;
$brick: #ad3434;
@font-face {
font-family: 'Miller Light';
src: font-url('millerdisplay-light-webfont.eot');
src: font-url('millerdisplay-light-webfont.eot?#iefix') format('embedded-opentype'),
font-url('millerdisplay-light-webfont.woff') format('woff'),
font-url('millerdisplay-light-webfont.ttf') format('truetype'),
font-url('millerdisplay-light-webfont.svg#millerl') format('svg');
#!/bin/bash
# FIXME:
# WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.8.0
NOKOGIRIR_VERSION=${1:-1.6.1}
LIBXML_VERSION=${2:-2.9.1}
LIBXSLT_VERSION=${3:-1.1.28}
gem uninstall nokogiri libxml-ruby
╭─sent1nel@syndicate ~ ‹system›
╰─$ setopt interactivecomments
module.exports = function(grunt) {
grunt.initConfig({
shell: {
bower: {
command: 'bower install'
}
},
bower_concat: {
all: {
dest: 'javascripts/bower.js',