Skip to content

Instantly share code, notes, and snippets.

Andrew Dupont savetheclocktower

Block or report user

Report or block savetheclocktower

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
igrr /
Created Jun 11, 2015
ESP8266 Arduino OTA test script
# this script will push an OTA update to the ESP
# use it like: python <ESP_IP_address> <sketch.bin>
# on the ESP side you need code like this: to handle the update
import socket
igrr / OTATest.ino
Created Jun 11, 2015
ESP8266 Arduino OTA example v1
View OTATest.ino
#include <ESP8266WiFi.h>
#include <WiFiUDP.h>
const char* ssid = "..........";
const char* password = "...........";
WiFiUDP listener;
void setup() {
lrytz / z-automator.png
Last active Feb 17, 2020
Shortcut for Syntax Highlighting in Keynote
View z-automator.png
BrendanEich / minimalist-classes.js
Created Nov 1, 2011 — forked from jashkenas/minimalist-classes.js
less minimalism, richer leather
View minimalist-classes.js
// A response to jashkenas's fine proposal for minimalist JavaScript classes.
// Harmony always stipulated classes as sugar, so indeed we are keeping current
// JavaScript prototype semantics, and classes would only add a syntactic form
// that can desugar to ES5. This is mostly the same assumption that Jeremy
// chose, but I've stipulated ES5 and used a few accepted extensions.
// Where I part company is on reusing the object literal. It is not the syntax
// most classy programmers expect, coming from other languages. It has annoying
// and alien overhead, namely colons and commas. For JS community members who
rwaldron / ideas.js
Created May 8, 2011
Thinking outloud, exploring ideas that might compete with # or -> as function shorthands. Recreating examples form
View ideas.js
( ( <argument-list> ) <expression> | <block> )
var identity = (( x ) {
x; // with tail calls
var f = (( a, b, c ) {
// a, b, c
mislav / builder.png
Created Feb 7, 2011
Reloads a specific Safari extension in development
View 1_open.rb
class Fixnum
def seconds
def minutes
self * 60
def hours
You can’t perform that action at this time.