Skip to content

Instantly share code, notes, and snippets.

View gilbertbw's full-sized avatar

Gilbert Bishop-White gilbertbw

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gilbertbw on github.
  • I am gilbertbw (https://keybase.io/gilbertbw) on keybase.
  • I have a public key ASCtHwGgZB1MNLe9dtkAZj4B7DxYDguMoVsEphwxdoqiAgo

To claim this, I am signing this object:

@gilbertbw
gilbertbw / asana.py
Created June 11, 2013 22:54
Prints to console list of all your asana tasks for a workspace/org, ordered by due date then creation date. Cashes tasks for offline use. for use for GEEKTOOL
import urllib2, base64, io, json
user = {}
# your api key
user['key'] = ""
# your workspace id, can be found from https://app.asana.com/api/1.0/workspaces when logged into webapp!
user['workspace'] = ""
# Absolute path for cashing file
bkup_loaction = "/users/username/tasks.json"
npm install tower -g
npm http GET https://registry.npmjs.org/tower
npm http 200 https://registry.npmjs.org/tower
npm http GET https://registry.npmjs.org/tower/-/tower-0.4.2-25.tgz
npm http 200 https://registry.npmjs.org/tower/-/tower-0.4.2-25.tgz
npm ERR! error rolling back Error: EPERM, chmod '/usr/local/share/npm/bin/tower'
npm ERR! error rolling back tower@0.4.2-25 { [Error: EPERM, chmod '/usr/local/share/npm/bin/tower']
npm ERR! error rolling back errno: 50,
npm ERR! error rolling back code: 'EPERM',
npm ERR! error rolling back path: '/usr/local/share/npm/bin/tower' }
{{<base}}
{{$content}}
<p>hi</p>
{{/content}}
{{/base}}
<html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
/*
* GET home page.
*/
exports.index = function(req, res){
res.render('hi.hbs', { title: 'Express' });
};
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, http = require('http')
, path = require('path');
C:\Users\Gilbert\WebstormProjects\NodeOfGames>npm install consolidate --save
npm http GET https://registry.npmjs.org/consolidate
npm http 200 https://registry.npmjs.org/consolidate
npm http GET https://registry.npmjs.org/-/consolidate-0.4.0.tgz
npm http 404 https://registry.npmjs.org/-/consolidate-0.4.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/-/consolidate-0.4.0.tgz
npm ERR! Error: 404 Not Found
npm ERR! at null.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm
\lib\utils\fetch.js:47:16)
npm ERR! at EventEmitter.emit (events.js:115:20)
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Gilbert>cd webstormprojects/nodeofgames
C:\Users\Gilbert\WebstormProjects\NodeOfGames>npm install bcrypt --save
npm http GET https://registry.npmjs.org/bcrypt
npm http 200 https://registry.npmjs.org/bcrypt
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 200 https://registry.npmjs.org/bindings/1.0.0
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Gilbert>cd webstormprojects/nodeofgames C:\Users\Gilbert\WebstormProjects\NodeOfGames>npm install bcrypt --save npm http GET https://registry.npmjs.org/bcrypt npm http 200 https://registry.npmjs.org/bcrypt npm http GET https://registry.npmjs.org/bindings/1.0.0 npm http 200 https://registry.npmjs.org/bindings/1.0.0 npm http GET https://registry.npmjs.org/-/bindings-1.0.0.tgz npm http 404 https://registry.npmjs.org/-/bindings-1.0.0.tgz npm ERR! fetch failed https://registry.npmjs.org/-/bindings-1.0.