Skip to content

Instantly share code, notes, and snippets.

// 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`.

API Endpoint Requirements Worksheet

Upload Users

Upload one or more users. Existing users with the same name will be replaced.

More requirements for actual work here...

Route

Features

  • Garbage collection
  • Type inference

Types

  • bool
  • int8
  • int16

Updates to search results

All index and search endpoints now return the following:

{
  "total_count": 10,
  "results": []
}