[ Launch: sankey-test-1 ] 2446e1dc3bc789e7a4ca25872f621bd6 by whitelynx[ Launch: diagonal-test-1 ] 1217283ecbd2093073d4 by jdutta[ Launch: quick-chart-vert ] 2c8553335067321f44a4 by jdutta[ Launch: quick-chart-1 ] 99181b7e0eb393be4380 by jdutta[ Launch: scratchpad ] 9721189 by jdutta
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 util = require('util'); | |
var _ = require('lodash'); | |
var pg = require('pg'); | |
/** | |
* Convert a JavaScript object to the PostgreSQL `hstore` format. | |
* | |
* @param object e.g. {a:1, b:2, c:3} | |
* @return e.g. 'a=>1,b=>2,c=>3' |
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 python2 | |
"""A simple (slightly broken) implementation of writing a VRT file from Python, using GDAL. | |
Adapted from sample code at: http://gis.stackexchange.com/questions/44003/python-equivalent-of-gdalbuildvrt#answer-44048 | |
""" | |
## Options ## | |
x_size, y_size = 512, 512 | |
source_path = 'test.tif' | |
source_band = 1 |
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
//// Functions that return... //// | |
// ...queries: // | |
row.join('government.dim_state', {state_code: row.field('loc_state')}) | |
// ...selectors: // | |
row.field('loc_state') | |
row.join('government.dim_state', {state_code: row.field('loc_state')}).field('state_abbrev') | |
// ...filters: // |
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
//--------------------------------------------------------------------------------------------------------------------- | |
// Parse (mostly) RFC822-compliant headers. | |
// | |
// This will parse header blocks that conform to [RFC822 Section 3][], as well as a few variations of that standard. | |
// One major deviation is that this library treats '\r\n' and '\n' as the same, so headers separated by either will be | |
// parsed. | |
// | |
// [RFC822 Section 3]: https://tools.ietf.org/html/rfc822#section-3 | |
// | |
// @module header-parse |
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
// --------------------------------------------------------------------------------------------------------------------- | |
// PromiseProxy - A proxy object that wraps a promise, and exposes `pending`, `result` and `error` properties. This is | |
// most useful when setting results of promises on the scope directly, so you can work with them in your templates. | |
// | |
// @module promise-proxy.js | |
// --------------------------------------------------------------------------------------------------------------------- | |
function PromiseProxyFactory(promise) | |
{ | |
var proxy = { |
[ Launch: sankey-test-1 ] ff9cb26a35ad7c41501f08ebadf2be84 by whitelynx[ Launch: sankey-test-1 ] 2446e1dc3bc789e7a4ca25872f621bd6 by whitelynx[ Launch: diagonal-test-1 ] 1217283ecbd2093073d4 by jdutta[ Launch: quick-chart-vert ] 2c8553335067321f44a4 by jdutta[ Launch: quick-chart-1 ] 99181b7e0eb393be4380 by jdutta[ Launch: scratchpad ] 9721189 by jdutta
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
set defaultnewtabpage | |
let barposition = "bottom" | |
let completionengines = ["duckduckgo", "wikipedia", "google", "google-images", "youtube"] | |
let defaultengine = "duckduckgo" | |
let blacklists = ["https://mail.google.com/*", "https://inbox.google.com/*", "http*://trello.com/*", "http*://checkvist.com/*", "http*://gingkoapp.com/*"] | |
"let hintcharacters = "ueoaihtnsdkjq;xmwvzbp.,'ygcrlf" | |
"let hintcharacters = "ueoaikjq;xp.,'yhtnsdmwvzbgcrlf" | |
"let hintcharacters = "ueoakjq;p.e,'ixyhtnsmwvzgcrldbf" |
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
license: gpl-3.0 |
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
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
set $mod Mod4 | |
set $mixer_control Master | |
# Bar on top: | |
set $bar_pos top |