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
# Use the official lightweight Python image. | |
# https://hub.docker.com/_/python | |
FROM python:3.7-slim | |
# Allow statements and log messages to immediately appear in the Knative logs | |
ENV PYTHONUNBUFFERED True | |
# Copy local code to the container image. | |
ENV APP_HOME /app | |
WORKDIR $APP_HOME |
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
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://sandboxvr.com/schema/gamedata.json", | |
"type": "object", | |
"title": "The GameData Schema", | |
"required": [ | |
"experience", | |
"team", | |
"members", |
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
const _ = require('lodash'); | |
const fs = require('fs'); | |
const runSequence = require('run-sequence'); | |
const mkdirp = require('mkdirp'); | |
const gulp = require('gulp'); | |
const gulpFileProcess = require('gulp-file-process'); | |
const path = require('path'); | |
const exec = require('child_process').exec; | |
const AWS = require('aws-sdk'); | |
const canvas = require('./canvas'); |
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: '2' | |
volumes: | |
dst-data-volume: | |
external: true | |
driver: 'null' | |
services: | |
dst-data-volume: | |
image: busybox | |
network_mode: none | |
volumes: |
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
var argv = require('minimist')(process.argv.slice(2)); | |
var fs = require('fs'); | |
var csvParse = require('csv-parse'); | |
var csvStringify = require('csv-stringify'); | |
var moment = require('moment'); | |
if (argv._.length === 0) { | |
console.log('Usage: node tax --year 2014 Libra.csv output.csv'); | |
process.exit(); | |
} |
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
// For interfacing with Arduino | |
var five = require("johnny-five"); | |
// Initialize a new Johnny-Five board | |
var board = new five.Board({ | |
port: 'COM11' | |
}); | |
board.on("ready", function() { |
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
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
void setup() { | |
LiquidCrystal_I2C lcd(0x27, 20, 4); | |
lcd.init(); | |
lcd.backlight(); | |
lcd.setCursor(5, 0); | |
lcd.print("Hello from"); |
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
// For interfacing with Arduino | |
var five = require("johnny-five"); | |
// Initialize a new Johnny-Five board | |
var board = new five.Board({ | |
port: 'COM11' // or whatever-- auto detection is sometimes finicky for me | |
}); | |
board.on("ready", function() { |
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
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); | |
void setup() { | |
// set up the LCD's number of columns and rows: | |
lcd.begin(16, 2); | |
lcd.setCursor(5, 0); | |
lcd.print("Hello"); | |
lcd.setCursor(2, 1); |