Skip to content

Instantly share code, notes, and snippets.

View johnschult's full-sized avatar
🧠
Debugging reality with applied AI. Results may vary.

John Schult johnschult

🧠
Debugging reality with applied AI. Results may vary.
View GitHub Profile
var Throttle, _insts, bound, cp, formatFleURL, fs, rcp, request;
if (Meteor.isServer) {
/*
@description Require "fs-extra" npm package
*/
fs = Npm.require("fs-extra");
request = Npm.require("request");
Throttle = Npm.require("throttle");
@johnschult
johnschult / raspi-motd.sh
Created December 8, 2016 20:34 — forked from piksel/raspi-motd.sh
Script for setting a nice raspberry pi logo as MOTD on debian.
#!/bin/bash
logo="$(tput setaf 2)
.~~. .~~.
'. \ ' ' / .'$(tput setaf 1)
.~ .~~~..~. $(tput sgr0) _ _ $(tput setaf 1)
: .~.'~'.~. : $(tput sgr0) ___ ___ ___ ___| |_ ___ ___ ___ _ _ ___|_|$(tput setaf 1)
~ ( ) ( ) ~ $(tput sgr0) | _| .'|_ -| . | . | -_| _| _| | | | . | |$(tput setaf 1)
( : '~'.~.'~' : ) $(tput sgr0) |_| |__,|___| _|___|___|_| |_| |_ | | _|_|$(tput setaf 1)
~ .~ ( ) ~. ~ $(tput sgr0) |_| |___| |_| $(tput setaf 1)