(Also see [remarkable][], the markdown parser created by the author of this cheatsheet)
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
<!doctype html> | |
<meta charset="utf-8"> | |
<script src="//d3plus.org/js/d3.js"></script> | |
<script src="//d3plus.org/js/d3plus.js"></script> | |
<div id="viz"></div> | |
<script> | |
var sample_data =[ |
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
<!doctype html> | |
<meta charset="utf-8"> | |
<script src="//d3plus.org/js/d3.js"></script> | |
<script src="//d3plus.org/js/d3plus.js"></script> | |
<div id="viz"></div> | |
<script> | |
var data = [ |
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
# Load libraries | |
library(dplyr) | |
library(tidyr) | |
# Map libraries | |
# You must install geos (http://trac.osgeo.org/geos/) and | |
# gdal (http://www.gdal.org/) first. | |
# Easy to do on OS X: `brew install geos gdal` | |
# Then install these packages from source | |
# install.packages(c("rgeos", "rgdal"), type="source") |
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
# Enhanced Network Hosts File | |
# Authored by Carl Bennett <https://carlbennett.me> | |
# | |
# How To <https://support.rackspace.com/how-to/modify-your-hosts-file/> | |
# (I do not endorse Rackspace, the document is simply of decent quality.) | |
# | |
# This file is hereby released under the MIT license. A copy of the license can | |
# be found at: <https://opensource.org/licenses/MIT> | |
# |
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
#!/bin/sh | |
# because gconftool doesn't have "append" | |
glist_append() { | |
local type="$1"; shift | |
local key="$1"; shift | |
local val="$1"; shift | |
local entries="$( | |
{ |
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
# Assuming you're in the 'debian' directory and the directories (var, usr, etc.) are contained within | |
find -type f | egrep -v '^\./DEBIAN' | xargs --replace=hh -n1 md5sum "hh" | sed 's/\ \.\///' > DEBIAN/md5sums |