Skip to content

Instantly share code, notes, and snippets.

Im immartian

Block or report user

Report or block immartian

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
immartian / guitar.rb
Created May 28, 2018 — forked from emlyn/guitar.rb
Strumming guitar chords in Sonic Pi
View guitar.rb
# Guitar Strumming - by Emlyn
# This tries to work out the guitar (or ukulele etc.) fingering for arbitrary chords (and tuning).
# It seems to work reasonably well for basic chords, but is quite naive and probably makes many mistakes.
# Ideas, bug reports, fixes etc. gratefully received, just comment below, or tweet @emlyn77.
# Feel free to make use of this code as you like (with attribution if you feel like it, but you don't have to).
# Thanks to @Project_Hell_CK for fixing the tuning, and spotting that it gets chord(:f, :major) not quite right.
# Next note higher or equal to base note n, that is in the chord c
define :next_note do |n, c|
# Make sure n is a number

Keybase proof

I hereby claim:

  • I am immartian on github.
  • I am imisaac ( on keybase.
  • I have a public key whose fingerprint is 3290 3616 5797 0255 CD98 8E55 1C22 8B8E 5AB6 F26B

To claim this, I am signing this object:

immartian / RPi: Syncthing + start on boot
Created Aug 10, 2016
How to install Syncthing on Raspberry Pi + start on boot
View RPi: Syncthing + start on boot
Create a folder in /opt and cd to it
$ sudo mkdir -p /opt/syncthing
$ cd /opt/syncthing
Get the latest arm version of syncthing from github ( x marks the version number.
$ sudo wget
sudo tar -xzvf syncthing-linux-arm-vx.xx.x.tar.gz
sudo rm syncthing-linux-arm-vx.xx.x.tar.gz
Move content one folder up
You can’t perform that action at this time.