git clone https://github.com/radiodan/provision
cd provision
sudo ./provision node
git fetch origin
git checkout -b minimal origin/minimal
sudo apt-get install libv8-dev -y
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' |
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' |
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' |
require 'rss' | |
require 'open-uri' | |
require 'open_uri_redirections' | |
require 'cgi' | |
links = [] | |
# hackparse opml file | |
file = File.new("subscriptions.opml", "r") | |
while (line = file.gets) |
#!/usr/bin/python | |
# 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 | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
# 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. |
var radiodan = require('radiodan-client'); | |
radiodan.create().player.discover().then(function(players) { | |
console.log(players); // [ playerObjects ] | |
}); |
var radiodan = require('radiodan-client').create; | |
radiodan.player.discover().then(function(players) { | |
console.log(players); // [ playerObjects ] | |
}); |
I hereby claim:
To claim this, I am signing this object: