This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DeviceInfo(softwareRevision, isOn, | |
SceneLightState(color, powerOnBehavior, deviceInfo | |
Light(id, | |
Capabilities(dimmable, customState | |
PowerOnBehavior(option | |
hueplay, huebloom, hueiris, huelightstrip, huego, plug, bollard, wallspot, groundspot, flexiblelamp, wallshade, walllantern | |
[ea:44:13:bd:db:59] Service [b8843add-0000-4aa1-8794-c3f462030bda] Unknown, ble_firmware_update? | |
[ea:44:13:bd:db:59] Characteristic [b8843add-0004-4aa1-8794-c3f462030bda] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
State | Under 5 Years | 5 to 13 Years | 14 to 17 Years | 18 to 24 Years | 25 to 44 Years | 45 to 64 Years | 65 Years and Over | |
---|---|---|---|---|---|---|---|---|
AL | 310504 | 552339 | 259034 | 450818 | 1231572 | 1215966 | 641667 | |
AK | 52083 | 85640 | 42153 | 74257 | 198724 | 183159 | 50277 | |
AZ | 515910 | 828669 | 362642 | 601943 | 1804762 | 1523681 | 862573 | |
AR | 202070 | 343207 | 157204 | 264160 | 754420 | 727124 | 407205 | |
CA | 2704659 | 4499890 | 2159981 | 3853788 | 10604510 | 8819342 | 4114496 | |
CO | 358280 | 587154 | 261701 | 466194 | 1464939 | 1290094 | 511094 | |
CT | 211637 | 403658 | 196918 | 325110 | 916955 | 968967 | 478007 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p .ssh | |
chmod 700 .ssh | |
cat >>~/.ssh/authorized_keys<<EOF | |
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwI/RmvE2TG+LVUwnJho4i+evr7ZuN8T2xAfffJUNoz5KUHScN0tvOIALCQsNE7iJicUVV1PEUz0pBnWliU+UCsjhHuogbWQ13t/GHxIzmoWZrXcFCMLQ9yHv3yr/1WVyLzPWpKRRDeZ5vSGGnP4wHMpI3qZxUnSNn51VLILdDOutLwtBEpW7QjnlO9gIhipGJIHaPF10WorJGJRoMLzNAb/rRwEKwFXRAI0PwJ46dJs1GkxGEWY8+2WPd6kQ0i3kJzEFmD08kSsHPgo8RPuCmWGSoDWY5mBReIEWNyH1v/rQLSnfWR2OfRihIe7J49UKYur2yX9yzRn1aRw2Y9+R9w== [email protected] | |
EOF | |
chmod 644 ~/.ssh/authorized_keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Tkinter | |
import datetime | |
import commands | |
class PomodoroTimer(): | |
""" | |
Simple pomodoro timer app | |
""" | |
def __init__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
gem 'soundcloud-ruby-api-wrapper' | |
require 'soundcloud' | |
sc_client = Soundcloud.register | |
puts 'Enter search, like : fine-cut-bodies or just hit enter! :)' | |
search = gets.strip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FIXME: You shouldn't do thatway! | |
def how_to_make_pizza( components, pizza_size ) | |
components.each do |component| | |
angle = rand( 2 * Math::PI * 1000 ).to_f / 1000 | |
dist = rand(pizza_size.to_i) | |
Fan << component.move_to( Position.new( dist * Math.cos( angle ), dist * Math.sin ( angle )).release | |
end | |
end |