https://data.sfgov.org/City-Infrastructure/Street-Tree-List/tkzw-k3nq
View ConsCarCdr.js
This file contains 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
/** | |
* Generic Container, which can contain a single item, and the next item as a function | |
*/ | |
function cons(value, next) { | |
return function wrap(wrapper) { return wrapper(value, next) }; | |
}; | |
/** | |
* Get value of item by calling unwrap function, taking value | |
*/ |
View extract_har.py
This file contains 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
import json | |
import base64 | |
import os | |
# make sure the output directory exists before running! | |
folder = os.path.join(os.getcwd(), "imgs") | |
with open("src.har", "r") as f: | |
har = json.loads(f.read()) |
View rPi3-ap-setup.sh
This file contains 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/bash | |
# | |
# This version uses September 2017 august stretch image, please use this image | |
# | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi |
View Vagrantfile
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "debian/jessie64" | |
config.vm.network "private_network", ip: "10.0.0.7" | |
config.vm.hostname = "magento2.local" | |
config.vm.provider "virtualbox" do |vb| | |
# Display the VirtualBox GUI when booting the machine |
View goes in config file
This file contains 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
[Input-SDL-Control1] | |
# Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number. | |
version = 2 | |
# Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic | |
mode = 0 | |
# Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number | |
device = 0 | |
# SDL joystick name (or Keyboard) | |
name = "DragonRise Inc. Generic USB Joystick " |
View README.md
"The Buzz" Playstation 2 EU USB controller
Using tool "Simple HID Write"
- W: Write
- R: Read
W 00 {FF} 00 00 00 // controller 1 red light activate
W 00 {00} 00 00 00 // controller 1 red light deactivate
View Dockerfile
This file contains 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
FROM ubuntu:xenial | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
RUN apt-get update -qq | |
RUN apt-get install -y -qq git curl python python-pip build-essential | |
RUN pip install virtualenv | |
ENV NVM_DIR /usr/local/nvm | |
ENV NODE_VERSION 4.1.2 |
View dh-diagram.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View docker-compose.yml
This file contains 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
version: '3.5' | |
services: | |
# LewisCowles local docker-compose partial for Minio/S3 | |
minio: | |
image: minio/minio | |
ports: | |
- 9000:9000 | |
restart: always | |
volumes: | |
- ./data/minio:/data |
NewerOlder