Skip to content

Instantly share code, notes, and snippets.

(module USB_C_receptacle_JAE_DX07S024XJ1R1100 (layer F.Cu) (tedit 5EB99084)
(fp_text reference REF** (at 0 -3) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value USB_C_receptacle_JAE_DX07S024XJ1R1100 (at 0 8) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -4.695 -1) (end -3.695 -1) (layer F.SilkS) (width 0.12))
(fp_line (start -4.695 -1) (end -4.695 0) (layer F.SilkS) (width 0.12))
(fp_line (start 4.695 -1) (end 3.696 -1) (layer F.SilkS) (width 0.12))
@edsammy
edsammy / gist:4522570
Created January 13, 2013 05:54
Arduino RGB lamp
/* Click and Press+Hold RGB lamp
By Eddie Samuels
To keep input interfaces simple, I want to use a single button to:
1) cycle trough colors
2) press and hold to enter mood lamp mode
*/
int buttonPin = 2; // analog input pin to use as a digital input
int redLed = 9; // digital output pin red led
int greenLed = 11; // digital output pin for green led
@edsammy
edsammy / gist:4516246
Created January 12, 2013 05:18
Google script to send weekly summaries of Google calendar events
EMAIL = "[email protected]";
CALENDAR = "calendarname";
function weeklyReminder() {
var StartDate = new Date();
var StartDateDD = StartDate.getDate() + 1;
// Months are based on 0-11 so +1
var StartDateMM = StartDate.getMonth() + 1;
var EndDateDD = StartDate.getDate() + 7;
// Across months, the date will get messed up so...(NEEDS TESTING!)