There are four options for creating a custom blot:
---------------+-------+
Inline | Block |
---------------+-------+
Embed |
---------------+-------+
Text |
"use strict"; | |
[foo,bar] = TNG(foo,bar); | |
// NOTE: intentionally not TNG(..) wrapping useBaz(), so that it's | |
// basically like a "custom hook" that can be called only from other | |
// TNG-wrapped functions | |
function foo(origX,origY) { | |
var [x,setX] = useState(origX); | |
var [y,setY] = useState(origY); |
Startup | English |
---|---|
This team is growing | We're hiring lots of people |
"Hunger" | Enthusiasm |
"Fire" | Enthusiasm |
"Spark" | Enthusiasm |
Commander's intent | Goals |
Onboarding | Training |
The best | Pretty good |
Burn | Money-losing |
#include <CoreFoundation/CoreFoundation.h> | |
#include <IOKit/IOKitLib.h> | |
#include <dispatch/dispatch.h> | |
// 5 minutes | |
#define TIMEOUT (5*60) | |
bool reset_watchdog (int timeout) { | |
io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOWatchDogTimer")); | |
if (service == IO_OBJECT_NULL) { |
All price estimates are for one-way. Car and train and bus return doubles price, air has significant discount for round trip.
TODO: For longer trips it can be a little cheaper to ride Amtrak by signing up for rewards, buying miles, then booking tickets; haven't calculated cost for Portland yet.
Downtown Portland is about 215 miles from the Tri-Cities and takes about 3h30m. Cost calculated with gas at $3.69/gal and fuel economy averaging 30mpg (i.e. 12.3¢/mile).
javascript: (function($) { | |
var bookmarklet = document.getElementById( | |
'DELI_save_link_slidedown'); | |
if (bookmarklet) { | |
$('#DELI_mist').show(); | |
$('#DELI_save_link_slidedown').slideDown('normal'); | |
return | |
}; | |
if (!window.jQuery) { | |
node = document.createElement('SCRIPT'); |
note: I converted this script into the much easier to install joinopenwifi
module on NPM
see https://github.com/maxogden/joinopenwifi#joinopenwifi for installation instructions
#!/bin/bash | |
# Uses a PID file to add daemon-like behavior to an arbitrary program. | |
################################################################################ | |
usage() { | |
echo "Usage: `basename $0` PROGRAM {start|stop|restart|force-stop|force-restart|status} [PIDFILE|PID]" >&2 | |
echo "Where: PROGRAM is an executable file." >&2 | |
echo " PIDFILE is the file that contains (or will contain) the PID." >&2 | |
echo " PID is a process id to use in place of a PIDFILE." >&2 | |
} |
These instructions work for the Raspberry Pi running Raspbian (hard float) and create a hardware optimized version of NodeJS for the Raspberry PI, (and include a working install and NPM!!!):
Install Raspbian - http://www.raspberrypi.org/downloads
Install the necessary dependecies:
sudo apt-get install git-core build-essential
(If you just installed git then you need to administer your git identity first, else adding the patches below will fail!!!)