Skip to content

Instantly share code, notes, and snippets.

@derekpitt
derekpitt / readme.md
Created April 21, 2015 17:50
TypeScript 1.5 alpha in VS2013

These are the steps I had to take to get VS2013 using and outputting TS1.5 with es6 output.

Get Node installed.

npm -g install typescript@1.5.0alpha

This should install to C:\Users\<USER>\AppData\Roaming\npm\node_modules\typescript

{
"name": "slideroom-website",
"version": "0.0.1-17",
"engines": {
"node": "0.8.x",
"npm": "1.1.x"
},
"dependencies": {
"docpad": "6.21.3",
"docpad-plugin-eco": "",
@derekpitt
derekpitt / err.log with latest version of docpad
Last active December 15, 2015 07:19
nodejitsu deploy error
info: Welcome to Nodejitsu slideroom
info: jitsu v0.12.0, node v0.10.1
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in ./node_modules/docpad/bin/docpad-server
info: Creating snapshot 0.0.1-17
info Uploading: [=============================] 100%
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET https://registry.npmjs.org/docpad/6.26.1
@derekpitt
derekpitt / check.coffee
Created February 11, 2012 23:11
big brother
# Big brotha is watching at http://big-brotha.appspot.com/static/index.html
# The map view is annoying though.. plus most of the cameras listed don't work anymore..
# This script just checks them all and then let's you know if any of them give a 200.
url = require 'url'
http = require 'http'
generate_callback = (data, f) -> -> f(data)