In response to a Stack Overflow question regarding TopoJSON for congressional districts.
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
| # ~/.inputrc | |
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| set show-all-if-ambiguous on | |
| set completion-ignore-case on |
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
| brew install https://raw.github.com/jmandzik/homebrew/master/Library/Formula/pdsh.rb |
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
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} |
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
| { | |
| "translate_tabs_to_spaces": true, | |
| "tab_size": 2, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme", | |
| "fade_fold_buttons": false, | |
| "font_size": 15.0, | |
| "highlight_line": true, | |
| "ignored_packages": [], |
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 bash | |
| # bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2011-10-04 | |
| # | |
| # _______________| noise : ambient Brown noise generator (cf. white noise). | |
| # | |
| # Usage: noise [minutes=59] [band-pass freq center=1786] [wave] | |
| # ^minutes can be any positive integer. | |
| # Command "noise 1" will display peak-level meter. | |
| # | |
| # Dependencies: play (from sox package) |
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
| // Inline style | |
| // The function parameters can be renamed (or minified) because the '$http' & '$rootScope' strings | |
| angular.module('rio.directives').directive('entityMap', ['$http', '$rootScope', function($http, $rootScope) { | |
| }]); | |
| // functionally equivalent | |
| angular.module('rio.directives').directive('entityMap', ['$http', '$rootScope', function(xhr, rs) { | |
#Tools of my trade
##Preferred tech
The majority of my day job work is writing web applications. Modern front ends (to the extent legacy browsers will allow), *AMP backends. My personal work involves realtime data visualization, which I prefer writing on the Node.js, MongoDB, Redis, & AngularJS platforms. I like Mac hardware, but any Unix-based OS is fine. As such, here's how I do my thing...
###Actively using
- Github (DVCS)
NewerOlder