Skip to content

Instantly share code, notes, and snippets.

@worace
worace / test.geojson
Last active July 13, 2018 19:53
GeoJSON Example
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@worace
worace / command_line.md
Created December 22, 2017 21:12
Command Line Tools and Unix I/O

Intro: Command Line Tools

  • Types of programs: Side-effect-y (mkdir, touch) vs Function-y (cat, grep, wc) -- Produce output
  • Basic Unix "contract": Take in text stream and output text stream
  • Somewhat janky but works fairly well

Examples

  • head - show me first lines of a file
@worace
worace / goober.markdown
Created September 29, 2015 18:57
Goober - Rides when you want them

Goober -- Rides When You Want Them

It's like Uber for...Uber. - Jeff Casimir

Finally I can put the LeBaron to work. - Andrew Carmer

Do they have a bike rickshaw option? - Horace Williams

Table of Contents

@worace
worace / accumulator.log
Last active October 16, 2017 21:28
Accumulators Log Output
Compiling accumulators.core
log4j:WARN No appenders could be found for logger (accumulators.core).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
17/10/16 14:28:30 INFO SparkContext: Running Spark version 2.1.0
17/10/16 14:28:30 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/10/16 14:28:30 INFO SecurityManager: Changing view acls to: horace
17/10/16 14:28:30 INFO SecurityManager: Changing modify acls to: horace
17/10/16 14:28:30 INFO SecurityManager: Changing view acls groups to:
@worace
worace / factual_geo.geojson
Last active October 6, 2017 16:45
Franklin Mountain State Park
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.
(ns snake-quil.core
(:require [quil.core :as q :include-macros true]
[quil.middleware :as m]))
(enable-console-print!)
(defn setup []
(q/frame-rate 60)
(q/color-mode :hsb)
{:color 0
name | address_1 | miles_from_laci
-----------------------------------------------------------+---------------------------------------+------------------
Youth Green Community Garden | 12467 W. Osborne Street | 17.8526752533434
Eagle Rockdale Community Garden and Art Park | 1003 Rockdale Avenue | 6.99298846428767
Milagro Allegro Community Garden | 111 S Ave 56 | 5.28154294629922
Glassell Park Community Garden | 3305 Drew Street | 5.50435772214898
Elysian Valley Community Garden | 1816 W Blake Avenue | 3.93094291476127
Fountain Community Gardens | 5620 Fountain Avenue | 5.73078542701499
Mansfield Fountain Community Garden | 1259 N Mansfield