Skip to content

Instantly share code, notes, and snippets.

Ingredients

  • 1 lb fettuccine
  • 1 cup heavy cream
  • 1/2 cup unsalted butter
  • 3-4 tablespoons flour
  • 1/4 cup grated parmesan
  • Grilled and sliced chicken breast
  • Broccoli or asparagus
  • Flat leaf parsley for garnish

Features

  • Garbage collection
  • Type inference

Types

  • bool
  • int8
  • int16
Tuning: eBGDAE
capo 2nd fret. (all chords relative to capo)
Intro (played around an open A chord)
e|--------------------------|
B|--0-----------0-----------|
G|--------2-----------2-----|
D|-----2--2--------2--2-----|
// require 'rubyserial'
// s = Serial.new('/dev/cu.wchusbserial1410')
// s.write('0')
#include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(60, 3, NEO_GRB + NEO_KHZ800);
void setup() {
Serial.begin(9600);
@kkestell
kkestell / gist:d90e83cb59124219265f19fe1851ac42
Created September 16, 2017 00:25
Building epeg on Raspbian 9.1
```
$ sudo apt install libjpeg-dev libexif-dev libtool autotools
$ git clone https://github.com/mattes/epeg.git
$ cd epeg
$ sh autogen.sh
$ make
$ sudo make install
$ ldconfig
```

Photo Booth API

List Photos

GET /photos

[
  { "filename": "1505137428.jpg", "thumbnail": "1505137428_t.jpg" },
 { "filename": "1505137436.jpg", "thumbnail": "1505137436_t.jpg" },
require 'curses'
include Curses
init_screen
noecho
nodelay = true
$l = 0

GET /v1/products/{product_id}/product_segmentations

Response Body

{
	"total": 1,
	"results": [
		{
 "id": 1,

Minimal Ubuntu 17.04

Use mini.iso to install Ubuntu.

Wifi

Oddly, while my wifi card was detected and I was able to connect to my wireless network during the install, after I booted up for the first time I found that I didn't have a network connection.

Running iwconfig reveals that my wireless adapter is wlp3s0.

@kkestell
kkestell / Minimal Ubuntu 17.04
Last active May 15, 2017 12:51
minimal-ubuntu.md
# Minimal Ubuntu 17.04
Use `mini.iso` to install Ubuntu.
## Wifi
Oddly, while my wifi card was detected and I was able to connect to my wireless network during the install, after I booted up
for the first time I found that I didn't have a network connection.
Running `iwconfig` reveals that my wireless adapter is `wlp3s0`.