Update 8/16/2015: I updated this guide a bit and posted it to Medium
A few notes about things I do when I travel to Japan.
I have two user accounts set up on my mac. User drew I use for most things, but if I'm making a screencast I'll switch to the demo user. I know that the demo user has a clean desktop, and the font size is larger than usual in my terminal and text editors, making everything a bit more legible when capturing the screen. When I record a screencast as the demo user, I save the file to /Users/Shared/screencasts. As I understand it, the /Users/Shared directory is supposed to be accessible to all user accounts on the mac. If I created and saved a screenflow document as the demo user, I should be able to read and write that file when logged in as user drew.
That was the theory, but it didn't always work out that well in practice. I would occasionally find that a directory was only writable by one user or the other. Perhaps I'd open a screenflow document as user drew and attempt to export the video to the same directory, only to find that the directory was owned by demo, meaning that I couldn't cr
| require 'childprocess' | |
| guard 'shell' do | |
| watch %r{^app/(.+)\.rb$} do |m| | |
| `killall rake` | |
| # Why this: | |
| # - spawn a child process to avoid locking Guard | |
| # - make sure that the child process has stdout and stdin otherwise it crashes | |
| # - bonus point: get REPL access in the simulator! |
A community funded event sponsor
ConfKick makes it possible for individuals to sponsor confernces and meetups focused, to begin with, on developer events.
A user can pledge an amount towards a conference/meetup/hackday as a token sponsorship, often a lot less than the price of a ticket to attend the event.
- All sessions are 30 minutes long
- There will be no Q/A (a.k.a: please hang out with the attendees at our awesome bar and hack with them on any questions that might come up)
- You must use our presenters computer
- There will be a presenter remote
- Your slides must be 1440x1080px
I know that not using your own computer can be painful but I will go length to install everything under the sun to make you feel as comfortable on that machine as possible.
| #include <Adafruit_NeoPixel.h> | |
| #define PIN 1 | |
| #define STRIPSIZE 16 | |
| // Parameter 1 = number of pixels in strip | |
| // Parameter 2 = pin number (most are valid) | |
| // Parameter 3 = pixel type flags, add together as needed: | |
| // NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
| // NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) |
| #define MAXTIMINGS 85 | |
| #define cli noInterrupts | |
| #define sei interrupts | |
| #define DHT11 11 | |
| #define DHT22 22 | |
| #define DHT21 21 | |
| #define AM2301 21 |
| #!/usr/bin/env node | |
| // A simple DMX example which will turn all the lights on and off every second | |
| // You can use this as a fork within another application as well (cluster-awareness) | |
| //////////// | |
| // dmx.js // | |
| //////////// | |
| var ftdi = require('ftdi'); |
| var Cylon = require('cylon'); | |
| var rest = require('restler'); | |
| var haarcascade = "" + __dirname + "/haarcascade_frontalface_alt.xml"; | |
| var DroneRobot = (function(){ | |
| function DroneRobot() {} | |
| DroneRobot.prototype.commands = ["faceOff"]; | |