This file contains 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
{ "county": "", | |
"city": "Ottawa", | |
"website": "http://data.ottawa.ca/dataset/address-points-main-and-subordinates", | |
"license": "", | |
"year": "" | |
} |
This file contains 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
HISTSIZE=10000 | |
SAVEHIST=10000 | |
HISTFILE=~/.history | |
setopt autopushd pushdsilent | |
fpath=(/usr/local/share/zsh-completions $fpath) | |
autoload -U colors && colors | |
autoload -U compinit promptinit |
This file contains 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
WARN [launcher]: Can not load "Safari", it is not registered! | |
Perhaps you are missing some plugin? | |
WARN [launcher]: Can not load "Firefox", it is not registered! | |
Perhaps you are missing some plugin? |
This file contains 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
window.L.Icon.Default.imagePath = '//api.tiles.mapbox.com/mapbox.js/' + 'v' + | |
require('./package.json').version + '/images'; |
This file contains 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
// Hi! | |
(function() { return 'hi'; })(); | |
// This is a sketchpad for Javascript | |
// ---------------------------------- | |
// * 2 spaces are default so that stuff fits | |
// on projectors. | |
// * some things might be weird, don't be afraid | |
// * console.whatever doesn't do anything |
This file contains 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 treeui = require('treeui'); | |
var insertCSS = require("insert-css"); | |
insertCSS("body { font:normal 12px/20px sans-serif; } .treeui-caret { color:#555; font-size:10px; padding-right:5px; } .treeui-caret:hover { cursor:pointer; } .treeui-level { padding-left:15px; border-left:1px solid #555; } "); | |
treeui(request) | |
.onclick(function(level) { | |
console.log(level); | |
}) | |
.appendTo(document.body); |
This file contains 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
'/dccode/foo'.replace(/^\/dccode/simple/) |
This file contains 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
void require('https://rawgithub.com/mapbox/node-sphericalmercator/master/sphericalmercator.js'); | |
var sph = new SphericalMercator(); | |
sph.inverse([2113201.397, 5244297.435]) |
This file contains 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
void require('https://rawgithub.com/mapbox/node-sphericalmercator/master/sphericalmercator.js') | |
var sph = new SphericalMercator(); | |
var zoom = 10; | |
tl = sph.px([0, 20], zoom); | |
br = sph.px([10, 0], zoom); | |
((br[0] - tl[0]) / 256) * ((br[1] - tl[1]) / 256) |
This file contains 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
Undefined symbols for architecture x86_64: | |
"_CGLChoosePixelFormat", referenced from: | |
_main in glsl_optimizer_tests.cpp.o | |
"_CGLCreateContext", referenced from: | |
_main in glsl_optimizer_tests.cpp.o | |
"_CGLDestroyContext", referenced from: | |
_main in glsl_optimizer_tests.cpp.o | |
"_CGLDestroyPixelFormat", referenced from: | |
_main in glsl_optimizer_tests.cpp.o | |
"_CGLSetCurrentContext", referenced from: |