Skip to content

Instantly share code, notes, and snippets.

View oliviano's full-sized avatar

Olivier Jean oliviano

  • New Zealand - Waiheke Island
View GitHub Profile
@robertsdionne
robertsdionne / deepdream-install.md
Last active February 15, 2021 16:07
Deepdream installation
#!/usr/bin/env bash

# Assuming OS X Yosemite 10.10.4

# Install XCode and command line tools
# See https://itunes.apple.com/us/app/xcode/id497799835?mt=12#
# See https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html
xcode-select --install
@petrklus
petrklus / rgb_to_kelvin.py
Last active May 10, 2025 11:06
Kelvin to RGB in python
"""
Based on: http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/
Comments resceived: https://gist.github.com/petrklus/b1f427accdf7438606a6
Original pseudo code:
Set Temperature = Temperature \ 100
Calculate Red:
If Temperature <= 66 Then
I spent some time messing around getting Time Lapse and HTTP Live streaming
working on my Raspberry Pi
I'm using a raspberry pi, Logitech C920 webcam and some powered 4 port hub from amazon
Had a lot of problems with firmware (Make sure you update to the, as of April
18th 2014, beta firmware and set the USB concurrency flags to 0x7 (or something
like that).)
I also had problems with shitty USB cables, but now its pretty stable.
@timpulver
timpulver / p5_keystroke_simulator.java
Created September 24, 2012 13:05
[Processing] Simulates a key press
import java.awt.AWTException;
import java.awt.Robot;
KeystrokeSimulator keySim;
void setup(){
keySim = new KeystrokeSimulator();
}
void draw(){