Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block libbymiller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import flickrapi
import urllib
import json
import random
import filecmp
import shutil
import os.path
from pprint import pprint
api_key = u'your api key'
libbymiller / randomFeedsToHTML.rb
Created Jun 3, 2017
A script to take an OPML file, hack-parse it, and find 10 random things to read
View randomFeedsToHTML.rb
require 'rss'
require 'open-uri'
require 'open_uri_redirections'
require 'cgi'
links = []
# hackparse opml file
file ="subscriptions.opml", "r")
while (line = file.gets)
# coding=UTF8
# Copyright 2015 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
libbymiller /
Last active Apr 22, 2016
Petey autostarted with supervisor on a Pi B+ with physical buttons and wifi enabled.

install the wifi stuff

git clone
cd provision
sudo ./provision node

git fetch origin
git checkout -b minimal origin/minimal

sudo apt-get install libv8-dev -y
View radiodan_logs_no_audio.txt
# using a B+ and the default skeleton app I get no startup audio on a B+.
# pi 2 works perfectly.
# I can control audio from the webpage fine.
# This is what I did:
diskutil list
diskutil unmountDisk /dev/disk2
sudo dd bs=1m if=~/Downloads/2016-02-26-raspbian-jessie.img of=/dev/rdisk2
Put it in the Pi, login, expand the filesystem, reboot and login again.
View test2.js
var radiodan = require('radiodan-client');
radiodan.create() {
console.log(players); // [ playerObjects ]
View test1
var radiodan = require('radiodan-client').create; {
console.log(players); // [ playerObjects ]

Keybase proof

I hereby claim:

  • I am libbymiller on github.
  • I am nicecupoftea ( on keybase.
  • I have a public key whose fingerprint is 792A 4FED BFA1 2FA7 45CC 6EAB 567E 547D 14ED 4690

To claim this, I am signing this object:

libbymiller / test_flickraw.rb
Created Feb 7, 2016
flickr download script with flickraw
View test_flickraw.rb
require 'flickraw'
require 'pp'
flickr.access_token = "xxx"
flickr.access_secret = "xxx"
login = flickr.test.login
View bt_button.js
// by @dirkx
// Apache 2 license
// see
// you may need to fiddle with lines 20 and 25 - alternatives are given!
"use strict";
var noble = require('noble');
You can’t perform that action at this time.