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
#!/usr/bin/env ruby | |
require 'osc-ruby' | |
include OSC | |
listen_on_port = 8000 | |
last_msg = nil | |
warn "If you pass an arg it will be used as the port number instead of #{listen_on_port}" |
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
// Origanally takne from https://github.com/asaeed/WiFiRobot | |
// which seems ot have been copied over from https://github.com/sparkfun/WiFly-Shield | |
// Licensed under the LGPL | |
// Modifications made by James Britt / Neurogami June 2014 to play nice with a Teensy 3.1 board | |
#include "Arduino.h" | |
#include "RNXV.h" | |
RNXV::RNXV() { | |
} |
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
#include "RNXV.h" | |
#include "settings.h" | |
#include <OSCMessage.h> | |
int led = 13; // For Teensy 3.1 | |
RNXV rnxv = RNXV(); | |
String usbSerialBuffer = ""; | |
String cmds1[] = { |
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
#!/usr/bin/env ruby | |
require 'osc-ruby' | |
include OSC | |
listen_on_port = 8000 | |
last_msg = nil | |
warn "If you pass an arg it will be used as the port number instead of #{listen_on_port}" |
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
-- /song/track/XXX/send_switch | |
-- see http://neurogami.com/blog/neurogami-renoise-send-track-scripting-with-osc.html | |
add_track_action { | |
pattern = "/send_switch", | |
description = "Change the receiver of the track's send device.\n" .. | |
"Requires you follow a naming convention", | |
arguments = { argument("send_index", "number") }, | |
handler = function(track_index, send_index) |
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
--[[============================================================================ | |
com.neurogami.Configgy.xrnx/main.lua | |
============================================================================]]-- | |
package.path = os.currentdir() .. "../../UserConfig/?.lua;" .. package.path | |
local menu_name = "Main Menu:Tools:Neurogami Configgy" | |
-- http://forum.renoise.com/index.php/topic/38914-adding-song-notifiers-on-song-load/ |
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
#!/usr/bin/env ruby | |
require 'fileutils' | |
if ARGV.empty? | |
warn "Usage: #{__FILE__} <file-to-version>" | |
end | |
f = ARGV.first |
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
// ==UserScript== | |
// @name Remove Twitter Trends and Recommendations | |
// @namespace neurogami.com | |
// @description Removes Twitter Trends and "who to Follow" from the Sidebar. Works, as of 10/22/12 | |
// @include http://twitter.com/* | |
// @include https://twitter.com/* | |
// ==/UserScript== | |
window.setTimeout(function() {var evilDiv, thisDiv; | |
evilDiv = document.evaluate("//div[@data-component-term='user_recommendations']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); | |
for (var i = 0; i < evilDiv.snapshotLength; i++) { |
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
/** | |
* ##library.name## | |
* ##library.sentence## | |
* ##library.url## | |
* | |
* Copyright James Britt / Neurogami | |
* | |
* The MIT License (MIT) | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
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
W/dalvikvm( 158): VFY: unable to resolve new-instance 13 (Lorg/jruby/RubyInstanceConfig;) in Lcom/neurogami/jrubyhack/MainActivity; | |
W/dalvikvm( 158): VFY: rejecting opcode 0x22 at 0x0003 | |
W/dalvikvm( 158): VFY: rejected Lcom/neurogami/jrubyhack/MainActivity;.onCreate (Landroid/os/Bundle;)V | |
W/dalvikvm( 158): Verifier rejected class Lcom/neurogami/jrubyhack/MainActivity; | |
W/dalvikvm( 158): Class init failed in newInstance call (Lcom/neurogami/jrubyhack/MainActivity;) | |
D/AndroidRuntime( 158): Shutting down VM | |
W/dalvikvm( 158): threadid=3: thread exiting with uncaught exception (group=0x4000fe68) | |
E/AndroidRuntime( 158): Uncaught handler: thread main exiting due to uncaught exception | |
E/AndroidRuntime( 158): java.lang.VerifyError: com.neurogami.jrubyhack.MainActivity | |
E/AndroidRuntime( 158): at java.lang.Class.newInstance(Native Method) |