Skip to content

Instantly share code, notes, and snippets.

View tymoshenko's full-sized avatar
🍇

Yurii Tymoshenko tymoshenko

🍇
View GitHub Profile
@james-see
james-see / tidalup.sh
Last active October 11, 2019 03:05
TidalCycles Installer Script for Mac OS https://tidalcycles.org/index.php/MacOS_installation
#!/bin/bash
# Author: James Campbell
# Date: September 2019
# Last Updated: September 2019
# Contact: [email protected]
# What: tidalcycles installer script for OSX
#### COLORS
COLOR_PURPLE='\033[0;35m'
normal='\033[0m'
@tymoshenko
tymoshenko / bjorklund.js
Created March 27, 2017 08:39 — forked from withakay/bjorklund.js
Bjorklund algorithm in JavaScript
/*
An implementation of the Bjorklund algorithm in JavaScript
Inspired by the paper 'The Euclidean Algorithm Generates Traditional Musical Rhythms'
by Godfried Toussaint

This is a port of the original algorithm by E. Bjorklund which I
found in the paper 'The Theory of Rep-Rate Pattern Generation in the SNS Timing Systems' by
E. Bjorklund.
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class
@alexpchin
alexpchin / Add_Existing_Project_To_Git.md
Created June 1, 2014 20:14
Add Existing Project To Git Repo

#Adding an existing project to GitHub using the command line

Simple steps to add existing project to Github.

1. Create a new repository on GitHub.

In Terminal, change the current working directory to your local project.

##2. Initialize the local directory as a Git repository.

git init
@megawertz
megawertz / bashsnippets.sh
Created October 17, 2013 01:27
Some basic bash snippets I use to introduce shell scripting to my Linux class.
#!/bin/bash
# viewing environment variables
echo "The value of the home variable is: "
echo $HOME
# issue a command
echo "The output of the pwd command is: "
pwd
@withakay
withakay / bjorklund.js
Created October 14, 2011 10:10
Bjorklund algorithm in JavaScript
/*
An implementation of the Bjorklund algorithm in JavaScript
Inspired by the paper 'The Euclidean Algorithm Generates Traditional Musical Rhythms'
by Godfried Toussaint

This is a port of the original algorithm by E. Bjorklund which I
found in the paper 'The Theory of Rep-Rate Pattern Generation in the SNS Timing Systems' by
E. Bjorklund.