WWDC 2006 2007 2008 2009 2010 2011 2012 2013 2014
This file contains hidden or 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
esphome: | |
name: shabadge | |
esp32: | |
board: esp32-pro | |
logger: | |
wifi: | |
ssid: !secret wifi_ssid |
This file contains hidden or 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 | |
XCODE_PATH = File.expand_path(File.join(`xcode-select -p`.chomp, '../..')) | |
def open_cmd(pattern) | |
files = Dir.glob(pattern) | |
`open -a "#{XCODE_PATH}" "#{files.first}"` and exit if files.count == 1 | |
end | |
open_cmd '*.xcworkspace' |
This file contains hidden or 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
Mindset: The New Psychology of Success - Carol Dweck | |
Test Driven Development: By Example - Kent Beck | |
Implementation Patterns - Kent Beck | |
Wim Crouwel in his own words (http://www.lauwenprojects.com/projects.asp?id=114) | |
Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability - Steve Krug | |
Badass: Making Users Awesome - Kathy Sierra | |
Thinking with Type: A Critical Guide for Designers, Writers, Editors, & Students - Ellen Lupton | |
The Vignelli Canon - Massimo Vignelli (http://www.vignelli.com/canon.pdf) | |
Stop Stealing Sheep & Find Out How Type Works - Erik Spiekermann, E.M Ginger | |
Mental Models - Indi Young |
This file contains hidden or 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
Fast, incremental Lua uploads for NodeMCU | |
INSTALLATION | |
1. This script requires nodemcu-uploader and gulp to be installed globally: | |
$ npm install -g gulp | |
$ npm install -g nodemcu-tool | |
$ pip install nodemcu-uploader |
This file contains hidden or 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
// Easter calculation in swift after Anonymous Gregorian algorithm | |
// Also known as Meeus/Jones/Butcher algorithm | |
import Foundation | |
func easter(Y : Int) -> NSDate { | |
let a = Y % 19 | |
let b = Int(floor(Double(Y) / 100)) | |
let c = Y % 100 | |
let d = Int(floor(Double(b) / 4)) |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
This file contains hidden or 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
/** | |
* A simple menu with a :hover action | |
*/ | |
html { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
font: 100%/2.5 helvetica, arial; | |
} |
This file contains hidden or 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
+----------------------------------------------+ | |
| Series | Episode | Description | | |
+--------+---------+---------------------------+ | |
| 5 | 5 | Jaguar at the Nurburgring | | |
| 5 | 8 | Race to Verbier | | |
| 8 | 0 | Winter Olympics Special | | |
| 8 | 3 | Amphibious Cars | | |
| 8 | 6 | Caravan Vacation | | |
| 9 | 3 | America Special | | |
| 10 | 0 | Polar Special | |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
NewerOlder