Skip to content

Instantly share code, notes, and snippets.

View knaaptime's full-sized avatar

eli knaap knaaptime

View GitHub Profile
@knaaptime
knaaptime / UrbanSim test 1
Created January 17, 2014 20:27
first UrbanSim run with sample data
Fri Jan 17 15:21:50 2014
Running buildings.json
Fetching buildings
Fetching parcels
Fetching modify_table
Fetching jobs
Fetching modify_table
Fetching modify_table
Specifying model in 0.965123
@knaaptime
knaaptime / UrbanSim test 2
Created January 17, 2014 21:51
UrbanSim run using foti branch
Zero:example knaaptime$ ./run.sh
Fri Jan 17 16:48:14 2014
Running buildings.json
Fetching buildings
Fetching parcels
Fetching modify_table
Fetching jobs
Fetching modify_table
Fetching modify_table

Keybase proof

I hereby claim:

  • I am knaaptime on github.
  • I am knaaptime (https://keybase.io/knaaptime) on keybase.
  • I have a public key whose fingerprint is 81F6 F328 936F F78A FDC6 41E8 7C4E F365 D36C D802

To claim this, I am signing this object:

@knaaptime
knaaptime / markov.py
Last active April 25, 2017 21:27
testing new method for SpatialMarkov with discrete values
from __future__ import print_function
"""
Markov based methods for spatial dynamics.
"""
__author__ = "Sergio J. Rey <[email protected]"
__all__ = ["Markov", "LISA_Markov", "Spatial_Markov", "kullback",
"prais", "shorrock", "homogeneity"]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@knaaptime
knaaptime / install_jupyterlab_launch_agent.sh
Created July 17, 2018 17:50 — forked from nathanielobrown/install_jupyterlab_launch_agent.sh
script to install a jupyter lab launch agent on MacOS
cat <<EOF > ~/Library/LaunchAgents/com.$(whoami).jupyterlab.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.$(whoami).jupyterlab</string>
<key>ProgramArguments</key>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.