These instructions were performed on a RaspberryPI 2 with a proper heatsink.
- Follow these instructions to install NOOBS with a Mac.
- Choose "Raspbian" from the selected options when installing.
const fs = require('fs'); | |
const path = require('path'); | |
const readline = require('readline'); | |
const {google} = require('googleapis'); | |
const SCOPES = ['https://www.googleapis.com/auth/gmail.readonly']; | |
const TOKEN_PATH = 'token.json'; | |
const OUTPUT_FOLDER = './output'; | |
const METADATA_FILE = 'metadata.json'; |
require 'webrick' | |
require 'fileutils' | |
if ARGV.length != 0 | |
root = ARGV.first.gsub('\\', '/') | |
else | |
root = '.' | |
end | |
BACKUP_DIR = 'bak' |
#!/bin/sh | |
# Enable and disable HDMI output on the Raspberry Pi | |
is_off () | |
{ | |
vcgencmd display_power | grep "display_power=0" >/dev/null | |
} | |
case $1 in |
These instructions were performed on a RaspberryPI 2 with a proper heatsink.
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/ | |
// See also: http://www.paulund.co.uk/change-url-of-git-repository | |
$ cd $HOME/Code/repo-directory | |
$ git remote rename origin bitbucket | |
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git | |
$ git push origin master | |
$ git remote rm bitbucket |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
# Outputs this at warn log level: | |
# 1.2.3.4 GET /path 200 OK BlahController#action HTML 938.2 (DB 11.8, View 719.7) {params} {optional params from flash[:log]} | |
# | |
# Save as config/initializers/oneline_detailed_logging.rb. Consider | |
# decreasing the log level from "info" to "warn" (in production.rb) so | |
# the one-line log message replaces the standard request logs. | |
# override process_action to add 2 things to the payload: | |
# - remote IP |