Skip to content

Instantly share code, notes, and snippets.

@rdhyee
rdhyee / datatables1.html
Created March 22, 2014 22:38
A working example of using datables derived from http://live.datatables.net/. I have it running on http://mashupguide.net/wwod14/datatable.html
<!DOCTYPE html>
<html>
<head>
<link href="//datatables.net/download/build/nightly/jquery.dataTables.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="//datatables.net/download/build/nightly/jquery.dataTables.js"></script>
<meta charset=utf-8 />
<title>DataTables - JS Bin</title>
</head>
@rdhyee
rdhyee / handsondataframe.ipynb
Created March 31, 2014 17:21
This notebook is a slight rewrite of [Cyrille Rossant](https://github.com/rossant)'s [Excel-like data grid editor for Pandas in the IPython notebook](http://nbviewer.ipython.org/gist/rossant/9463955) (which I learned about via Fernando Perez's [tweet](https://twitter.com/fperez_org/status/448636988858454016). I wanted to see whether I could use …
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdhyee
rdhyee / programmableweb_api.ipynb
Created April 4, 2014 22:50
a start on using Python with the programmableweb API
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdhyee
rdhyee / tl06001_bg.geo_30ps.json
Created April 7, 2014 17:02
Alameda County Block groups geojson (reduced to 30.8% by http://www.mapshaper.org/)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdhyee
rdhyee / tl06001_bg.geo_30ps.topo.json
Created April 7, 2014 17:36
simplified topjson Census block groups for Alameda County
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdhyee
rdhyee / tl_2010_06001_tract10_4ps.geo.json
Created April 7, 2014 23:01
Alameda County census tracts for 2010 (simplified to 4% of original file)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdhyee
rdhyee / tl_2010_06001_tract10_4ps.topo.json
Created April 7, 2014 23:04
topojson for Alameda County census tracts for 2010 (simplified)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdhyee
rdhyee / qis.yml
Created April 12, 2014 01:26
ansible playbook for installing QGIS on Ubuntu 12.04LTS
- hosts: vagrant_local
sudo: true
pre_tasks:
- name: check apt last update
stat: path=/var/cache/apt
register: apt_cache_stat
- name: update apt if needed
@rdhyee
rdhyee / Vagrantfile
Last active August 29, 2015 13:59
a template Vagrantfile that adds ansible provisioning, along with accompanying ansible playbook. To run the ansible playbook: ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --private-key=~/.vagrant.d/insecure_private_key -u vagrant hello.yml
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.