Skip to content

Instantly share code, notes, and snippets.

Ari Russo arirusso

Block or report user

Report or block arirusso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@arirusso
arirusso / branches.md
Last active Aug 2, 2019
Build & Upload Mutable Instruments Branches Firmware
View branches.md

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 Jul 11, 2019
Use the original Nord Modular Editor with OSX
View nord_modular_osx.md

Use the original Nord Modular Editor with OSX

Required

  • Homebrew

Compatibility

Confirmed working with

@arirusso
arirusso / img_convert.rb
Created Sep 30, 2011
convert html img tags to rails image_tag calls
View img_convert.rb
#!/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***
#
@arirusso
arirusso / video-example.rb
Created Mar 27, 2012
ruby-processing: video processing example
View video-example.rb
#!/usr/bin/env ruby
# this is a test of ruby-processing (https://github.com/jashkenas/ruby-processing) with the video library
# use "rp5 unpack library" at a command line to install the video library, among others
# tested with Ruby 1.9.2
# video file: http://bit.ly/H5yBjK
class VideoTest < Processing::App
@arirusso
arirusso / video-capture-example.rb
Created Mar 28, 2012
ruby-processing: video capture processing example
View video-capture-example.rb
#!/usr/bin/env ruby
# this is a test of ruby-processing (https://github.com/jashkenas/ruby-processing) with video capture
# use "rp5 unpack library" at a command line to install the video library, among others
# tested with Ruby 1.9.2 on OSX with built in web cam
class VideoCaptureTest < Processing::App
View twigs_build_upload.md

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 / peaks.md
Last active May 4, 2016
Build Mutable Instruments Peaks software
View peaks.md

Build Mutable Instruments Peaks software

This is what I used to build Peaks using OSX 10.11.4

Install GCC ARM Toolchain

brew tap PX4/homebrew-px4
brew update
brew install gcc-arm-none-eabi
@arirusso
arirusso / wav2mp3.sh
Created Feb 17, 2016
Convert directory of wav files to mp3 in OSX using lame
View wav2mp3.sh
for i in *.wav; do lame -b 320 -h "${i}" "${i}.mp3"; done
@arirusso
arirusso / webkitSpeechRecognition
Created Jan 4, 2014
Hello world for Web Speech API in a browser. Speak into the microphone and the recognized words will be printed
View webkitSpeechRecognition
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JavaScript Web Speech API Example</title>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript">
var final_transcript = '';
@arirusso
arirusso / duration.sh
Created Jan 21, 2014
One-liner to get the total duration for .mov video files in the current directory
View duration.sh
#!/bin/sh
#
# Get the total duration for .mov video files in the current directory
#
find *.mov -print0 | xargs -0 /Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended.mpBinaries/Contents/MacOS/mplayer -vo dummy -ao dummy -identify 2>/dev/null | perl -nle '/ID_LENGTH=([0-9\.]+)/ && ($t +=$1) && printf "%02d:%02d:%02d\n",$t/3600,$t/60%60,$t%60' | tail -n 1
You can’t perform that action at this time.