#!/usr/bin/env python3
import random
import time
from phue import Bridge
BRIGHTNESS = 255 # Max is 255
TRANSITION_TIME = 100 # Deciseconds for transition
bridge_ip = ""
View Invite Codes
# Airbnb
# Uber
# Lyft
# Munchery - Home cooked goods

Keybase proof

I hereby claim:

  • I am kocsenc on github.
  • I am kocsenc ( on keybase.
  • I have a public key whose fingerprint is CD11 08CF F262 C618 2657 CE68 EE43 FB56 94FB 1BCE

To claim this, I am signing this object:

View Yahoo finance

Using Yahoo's Finance API

It was surprisingly hard to find a simple straight forward stock API; this community built API hosted by Yahoo does the job.

Let's get to it.

Below is a complete URL example if you want to play on your own and figure it out.*

Install Django on OS X

Django can be tricky to install on OS X if you don't use the appropriate tools. I am using OS X 10.10 but any lower version should work.

NOTE: I assume you have NOT tried to install Python 3 in some other way, if so delete as much as you can.

  1. Get homebrew. Run ruby -e "$(curl -fsSL"
  2. brew doctor This will show you if everything is gucci. If it's not cool, then attempt to fix the issues.
  3. brew install python3 This should install both Python 3 and pip3.
View org.nginx.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
<plist version="1.0">
#!/usr/bin/env python
from time import sleep
from selenium.common.exceptions import TimeoutException, StaleElementReferenceException
from import WebDriverWait
from selenium import webdriver
from import By
from import expected_conditions as EC
import sys
from concurrent.futures import ThreadPoolExecutor
import time
import timeit
import random
def sleepsort(lst):
Use ThreadPool to execute each thread. Have it sleep for val/100 and then
add itself to results array.

jSpin for Mac and Linux

This is a quick simple guide to getting jSpin setup for Mac and Linux.


You will need:

  • Java (1.5 +)