Start by flashing a SD card with the latest Raspbian Jessie Lite image. You can get it from Raspberry Pi website
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39c39 | |
< //#define QUADX | |
--- | |
> #define QUADX | |
125c125 | |
< //#define CRIUS_SE_v2_0 // Crius MultiWii SE 2.0 with MPU6050, HMC5883 and BMP085 | |
--- | |
> #define CRIUS_SE_v2_0 // Crius MultiWii SE 2.0 with MPU6050, HMC5883 and BMP085 | |
417c417 | |
< //#define RCAUXPIN8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This the the MIDI controller profile, it keeps controller remappings for | |
# converting one controller ID to another, and then defines which controllers | |
# are tracked by which GUI devices. It may be edited manually, in which case | |
# changes are maintained but the GUI can also alter the controller tracking | |
# by typing <Control><Middle Mouse Button>, the moving the desired control. | |
# This file is saved whenever a GUI memory is saved. | |
# | |
# The file contains Controller Mapping (one controller to another, for example | |
# breath controller maps to footpedal, etc), Key Mappings for QWERTY to MIDI |
vim /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Then, save and activate the configuraiton.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Example code to get a MCP3*08 running with an ESP8266 | |
for DiY energy monitoring solutions | |
*/ | |
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include "MCP3208.h" | |
const char* ssid = "..."; | |
const char* host = "..."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, time | |
import glob | |
#get current Folder | |
folder = os.getcwd()+'/' | |
print 'Using pictures from ' + folder | |
fileFormats = ['JPG','jpg', 'MOV', 'mov', 'PNG', 'png', 'mp4', 'MP4', '3gp', 'jpeg']; | |
months = ['January','February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] | |
picPath = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import urllib2 | |
import sys | |
url = sys.argv[1] | |
page = urllib2.urlopen(url) | |
soup = BeautifulSoup(page,'lxml') | |
episodios = soup.find_all("a", class_="article-link") | |
for link in episodios: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
gramofon_ip = '127.0.0.1' | |
ori_sid = '00000000000000000000000000000000' | |
baseuri = 'http://' + gramofon_ip + '/api/' | |
# login to get a SID | |
dataj = {"jsonrpc":"2.0","id":"69","method":"call","params":["session","login",{"username":"admin","password":"admin"}]} | |
r = requests.post(baseuri + ori_sid , json=dataj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define SSD1306_SDA 4 | |
#define SSD1306_SCL 5 | |
#define SSD1306_SA | |
0x78 // Slave address | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (*) All in the spirit of open-source and open-hardware | |
// Janost 2017 Sweden | |
// The Micro-TS Key fob Touch Synthesizer | |
// https://janostman.wordpress.com/the-microts-diy-synth/ | |
// Copyright 2017 DSP Synthesizers Sweden. | |
// | |
// Author: Jan Ostman | |
// |
OlderNewer