A brain dump of ideas for potential nodecopter projects
Watch a flying nodecopter using a kinect, allowing for a much more precise positioning system and tighter feedback loop.
# coding: utf-8 | |
require "json" | |
require "java" | |
import "java.util.concurrent.ConcurrentHashMap" | |
class Session | |
def self.current | |
@current ||= ConcurrentHashMap.new |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
function isRetina(){ | |
return (('devicePixelRatio' in window && devicePixelRatio > 1) || | |
('matchMedia' in window && matchMedia("(min-resolution:144dpi)").matches)) | |
} |
## Most important settings
Create a new facebook app (1) and make sure the canvas url (2) in the basic tab matches the host and port configured with Capybara.server_port and Capybara.app_host. Activating sandbox mode (3) in the advanced tab enables you to roll without providing an SSL canvas url. You want to set the display mode (4) of your facebook dialogs to page, which is also the default.
Not this is rocket sience :)
Fill the water heater with a finger more than 1 liter of water. Set it on its power-base, hit the button that’s all the way out on the handle. This starts the heating process. Now hit the “minus” (“-”) button so you see a red light on the 90° marker. Let it heat up. In the meantime:
function getSafe (self, uuid) { | |
if (typeof self === 'object' || typeof self === 'function') var safe = {} | |
if (Array.isArray(self)) var safe = [] | |
var recurse = [] | |
Object.defineProperty(self, uuid, {}) | |
var attrs = Object.keys(self).filter(function (i) { | |
if (i === uuid) return false |
kvz: "I'm recommending these Mac apps to a colleague who's losing his OSX virginity: https://gist.github.com/1372883. Anything you think I should add?"
Don't forget to look at the suggestions at the bottom, there's some cool stuff in there.