Skip to content

Instantly share code, notes, and snippets.

View exiva's full-sized avatar

Travis La Marr exiva

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutoSubmitted</key>
<true/>
<key>SysInfoCrashReporterKey</key>
<string>03e1f43779af49174f7b76199b3625589eda94e4</string>
<key>bug_type</key>
<string>109</string>
@exiva
exiva / darkice.cfg
Created October 1, 2011 02:06
DarkIce config
# this section describes general aspects of the live streaming session
[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds
reconnect = yes # reconnect to the server(s) if disconnected
realtime = yes # run the encoder with POSIX realtime priority
rtprio = 3 # scheduling priority for the realtime threads
# this section describes the audio input that will be streamed
[input]
@exiva
exiva / icecast.xml
Created October 1, 2011 02:08
icecast config
<icecast>
<limits>
<clients>4</clients>
<sources>1</sources>
<threadpool>1</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>120</source-timeout>
<burst-on-connect>0</burst-on-connect>
diff -ru jack-1.9.6/common/wscript jack-1.9.6_patched/common/wscript
--- jack-1.9.6/common/wscript 2010-08-30 12:23:53.000000000 +0200
+++ jack-1.9.6_patched/common/wscript 2010-10-20 13:18:05.000000000 +0200
@@ -30,8 +30,8 @@
if bld.env['IS_LINUX']:
process.env.append_value("CPPFLAGS", "-fvisibility=hidden")
if bld.env['IS_MACOSX']:
- process.env.append_value("CPPFLAGS", "-mmacosx-version-min=10.4 -arch i386 -arch ppc")
- #process.env.append_value("LINKFLAGS", "-arch i386 -arch ppc")
+ process.env.append_value("CPPFLAGS", "-mmacosx-version-min=10.4 -arch i386")
<?xml version="1.0" encoding="ISO-8859-1"?>
<channels>
<channel>
<title><![CDATA[Groove Salad]]></title>
<description><![CDATA[A nicely chilled plate of ambient/downtempo beats and grooves.]]></description>
<dj><![CDATA[Rusty Hodge]]></dj>
<genre>ambient|electronica</genre>
<image>http://iapps4.somafm.com/img/groovesalad120.png</image>
<largeimage>http://iapps4.somafm.com/logos/256/groovesalad256.png</largeimage>
<xlimage>http://iapps4.somafm.com/logos/512/groovesalad512.png</xlimage>
<?php
header('Content-type: text/xml');
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: POST, GET, OPTIONS");
$intme = date('YmdHis');
$start = $_GET['ind'];
$url = "http://some.data.source/data.xml";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
@exiva
exiva / harmonious2.ino
Created June 18, 2012 20:07
Harmonious v2
#define WEBDUINO_FAVICON_DATA "" //save 198 bytes.
#include <SPI.h>
#include <Ethernet.h>
#include <WebServer.h>
#include <OneWire.h>
#include <IRremote.h>
//Define Ethernet addresses
static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
static uint8_t ip[] = { 192, 168, 1, 210 };
------------
values
Raw code: 35 //should be 9050,5043,4334
Raw len: 35 //right value
------------
#define WEBDUINO_FAVICON_DATA "" //save 198 bytes.
#include <SPI.h>
#include <Ethernet.h>
#include <WebServer.h>
//config ehternet
static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
static uint8_t ip[] = { 192, 168, 1, 210 };
#define PREFIX ""
#define WEBDUINO_FAVICON_DATA "" //save 198 bytes.
#include <SPI.h>
#include <Ethernet.h>
#include <WebServer.h>
//config ehternet
static uint8_t mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
static uint8_t ip[] = { 192, 168, 1, 210 };
#define PREFIX ""