This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"id": 1, | |
"name": "Afghanistan", | |
"states": [ | |
{ | |
"id": 3901, | |
"name": "Badakhshan", | |
"cities": [ | |
{ |
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
### Keybase proof | |
I hereby claim: | |
* I am icehunter on github. | |
* I am icehunter (https://keybase.io/icehunter) on keybase. | |
* I have a public key ASBptmE6G3tTU0M_fyUx-Zt6HKvcMH4DQ81Alr8CiZkZvwo | |
To claim this, I am signing this object: |
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
#!/bin/bash | |
# --------------------------------------------------------- | |
# Customizable Settings | |
# --------------------------------------------------------- | |
# where to store the sparse-image | |
WORKSPACE=${HOME}/.workspace.dmg.sparseimage | |
# location where workspace will be mounted |
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
'use strict'; | |
// linting rules prevent modifying Object directly | |
var extend = Object; | |
extend.compact = function (obj) { | |
var self = this; | |
function compactArray(array) { | |
return array.filter(function (value) { |
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 shouldTrueCount = 0; | |
var shouldTrue = [ | |
' ', | |
'a', | |
true, | |
1, {} | |
]; | |
for (var i = 0; i < shouldTrue.length; i++) { | |
if (shouldTrue[i]) { | |
shouldTrueCount++; |
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
#! /bin/bash | |
# Google Chrome Installer/Uninstaller for CentOS 6 | |
# (C) Richard K. Lloyd 2013 <rklloyd@gmail.com> | |
# See http://chrome.richardlloyd.org.uk/ for further details. | |
# This script is in the public domain and has no warranty. | |
# It needs to be run as root because it installs/uninstalls RPMs. | |
# Minimum system requirements: |
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
#!/bin/bash | |
# by http://github.com/jehiah | |
# this prints out some branch status (similar to the '... ahead' info you get from git status) | |
# example: | |
# $ git branch-status | |
# dns_check (ahead 1) | (behind 112) origin/master | |
# master (ahead 2) | (behind 0) origin/master | |
git for-each-ref --format="%(refname:short) %(upstream:short)" refs/heads | \ |
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
// WrappingDemo.cs | |
// | |
// Created by Ryan Wilson. | |
using System; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
namespace WrappingDemoWPF | |
{ |