Skip to content

Instantly share code, notes, and snippets.

View CliffordAnderson's full-sized avatar

Clifford Anderson CliffordAnderson

View GitHub Profile
@joewiz
joewiz / clean-excel-table.xq
Last active August 29, 2015 14:22 — forked from CliffordAnderson/build-ead.xqy
@CliffordAnderson's clean-excel-table.xqy, adapted for use with eXist 3.0 (develop branch)
xquery version "3.1";
declare namespace html="http://www.w3.org/TR/REC-html40"; (: the version of HTML used by the URL below :)
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization"; (: use XQuery 3.1's JSON serialization :)
import module namespace http="http://expath.org/ns/http-client"; (: @see http://expath.org/spec/http-client :)
declare option output:method "json";
declare option output:media-type "application/json";
@mdlincoln
mdlincoln / rstudio-cc.yml
Last active August 9, 2022 11:46
cloud-config script to setup Rstudio server and Shiny server on Ubuntu 14.04 on Digital Ocean
#cloud-config
# In order to access RStudio server via the web interface, you must log on with
# a user account that allows password access. This script does not add that user
# by default. You may either ssh as root into the server and `adduser` as
# normal, or script a user addition here:
# users:
# - name: # username #
# lock-passwd: false # allow login with password

October 28, 2014

  • Matt Perkins or maybe Calvin Bottoms: Word time
  • Josh Bush - show-and-tell: PewPew, a game written in Elm
  • Bryan Hunter - show-and-tell of Elixir's DocTest
  • Project Rosalind dojo

January 27, 2015

  • Dave Nolan - A first look at Nim and how to approach it functionally
= Network analysis with Neo4j
:neo4j-version: 2.1.0
:author: Suellen Stringer-Hye
:twitter: @suellenshye
:tags: domain:education, use-case:network analysis
@jnsprnw
jnsprnw / berlin.csv
Last active August 15, 2017 19:23
Wikidata
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 3 columns, instead of 2. in line 6.
attribute,identifier,value
"highest point",P610,"Arkenberge (Q19259618) ()"
"topic's main Wikimedia portal",P1151,"Portal:Berlin (Q3248436) ()"
"instance of",P31,"seat of government (Q1901835) ();metropolis (Q200250) ();federal capital (Q257391) (+1990-10-03T00:00:00Z);big city (Q1549591) ();state of Germany (Q1221156) ();municipality of Germany (Q262166) ();city with millions of inhabitants (Q1637706) ();city-state (Q133442) ();integrated municipality (Q1307779) ();city (Q515) ();Einheitsgemeinde of Germany (Q15974307) ()"
"contains administrative territorial entity",P150,"Mitte (Q163966) ();Friedrichshain-Kreuzberg (Q158893) ();Pankow (Q163012) ();Charlottenburg-Wilmersdorf (Q158095) ();Spandau (Q158083) ();Steglitz-Zehlendorf (Q158064) ();Tempelhof-Schöneberg (Q158106) ();Neukölln (Q4071168) ();Treptow-Köpenick (Q158089) ();Marzahn-Hellersdorf (Q119284) ();Lichtenberg (Q329609) ();Reinickendorf (Q158876) ()"
"legislative body",P194,"Abgeordnetenhaus of Berlin (Q640859) ()"
"highest judicial authority",P209
@cpistrang
cpistrang / Charlottenburg_Project_1947.geojson
Last active March 1, 2017 22:29
Chris Pistrang and Ari Bradshaw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/sh
# Install:
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/michaeldever/4be94b7dac9add53cc2025522d620ec7/raw/1297ba9b60542e5dd70ab107951ce1c2fac94185/install.sh)"
# References:
# https://gist.github.com/bradp/bea76b16d3325f5c47d4
# https://gist.github.com/CliffordAnderson/817777b5dc0e67769e4b
# https://gist.github.com/codeinthehole/26b37efa67041e1307db
# https://github.com/thoughtbot/laptop/blob/master/mac