Skip to content

Instantly share code, notes, and snippets.

@arirusso
arirusso / img_convert.rb
Created September 30, 2011 16:44
convert html img tags to rails image_tag calls
#!/usr/bin/env ruby
require "nokogiri"
# opens every file in the given dir tree and converts any html img tags to rails image_tag calls
#
# example usage:
# ruby convert.rb ~/my_rails_app/app/views
#
# ***be careful and backup before using this***
#

Notes on Building & Uploading Twigs Alt Firmware

This is what I've used to build and upload Twigs using OSX 10.11.4

This is the AVR interface I'm using

Install GCC ARM Toolchain

brew tap PX4/homebrew-px4
@arirusso
arirusso / branches.md
Last active January 22, 2023 08:36
Build & Upload Mutable Instruments Branches Firmware

Build & Upload Mutable Instruments Branches Software

This is what I used to build Branches using OSX 10.11.4

This is the AVR interface I'm using

Install GCC ARM Toolchain

brew tap PX4/homebrew-px4
@arirusso
arirusso / nord_modular_osx.md
Last active March 10, 2023 21:22
Use the original Nord Modular Editor with OSX

Use the original Nord Modular Editor with OSX

Required

  • Homebrew

Compatibility

Confirmed working with

@arirusso
arirusso / midi_notes_to_yaml.rb
Created April 30, 2011 23:00
generate MIDI note names/numbers in YAML format
# generate MIDI note names/numbers in YAML format
octaves = (0..10)
range = (0..127)
naturals = [
{ :name => "C", :val => 0 },
{ :name => "D", :val => 2 },
{ :name => "E", :val => 4 },
{ :name => "F", :val => 5 },