Skip to content

Instantly share code, notes, and snippets.

View wovalle's full-sized avatar

Willy Ovalle wovalle

View GitHub Profile
import { Collection } from 'fireorm';
@Collection()
class Band {
id: string;
name: string;
formationYear: number;
genres: Array<string>;
}
@wovalle
wovalle / fireorm-model.ts
Last active February 6, 2019 15:58
Introducing fireorm!
class Band {
id: string;
name: string;
formationYear: number;
genres: Array<string>;
}
@wovalle
wovalle / cloudSettings
Last active September 22, 2018 20:34
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-09-22T20:34:19.139Z","extensionVersion":"v3.1.2"}
@wovalle
wovalle / cloudSettings
Last active August 25, 2020 14:55
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-25T14:55:45.150Z","extensionVersion":"v3.4.3"}
const five = require("johnny-five")
const client = require('messenger').createSpeaker(8000)
const stopwatch = require('../stopwatch')
let board, buttons, timer
board = new five.Board({
repl: false
})
const buttonsObj = {
@wovalle
wovalle / gist:fa06b9beb3e692ead956
Last active August 2, 2017 03:57
RPI - docker
#Download and install raspbian-lite
#Expand filesystem
sudo raspi-config
expand filesystem
sudo reboot
#Test new space
df -H