Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <select size="10" multiple id="myMultiSelectBox"> | |
| <option value="1" selected>One</option> |
| # Run script 3 times because of the deeply nested variables | |
| # PROXY_USERNAME is the username used to connect to proxy. | |
| # May be different than the existing USERNAME. | |
| # USERNAME is the account you logged into VM with, | |
| # like 'Administrator', which may not have access through proxy | |
| # Primary variables (CHANGE THESE FIRST!) | |
| setx PROXY_HOSTNAME my_domain.com | |
| setx PROXY_USERNAME my_user | |
| setx PROXY_PASSWORD my_password |
| ######################################### | |
| ## Sonic Pi Drum Machine | |
| ## coded by Darin Wilson | |
| ## | |
| use_bpm 95 | |
| in_thread(name: :drum_machine) do | |
| # choose your kit here (can be :acoustic, :acoustic_soft, :electro, :toy) |
| # ------------------------------------------- | |
| # CRASH INTO SONIC PI! | |
| # Learn to code music in less than 30 minutes | |
| # ------------------------------------------- | |
| # - download Sonic Pi from sonic-pi.net | |
| # - copy and paste these code snippets | |
| # - change and experiment with the snippets | |
| # - go! | |
| # ------------------------------------------- | |
| # These snippets were made for a workshop to |
| # Ambient experiment for Sonic Pi (http://sonic-pi.net/) | |
| # | |
| # The piece consists of three long loops, each of which plays one of | |
| # two randomly selected pitches. Each note has different attack, | |
| # release and sleep values, so that they move in and out of phase | |
| # with each other. This can play for quite awhile without | |
| # repeating itself :) | |
| live_loop :note1 do | |
| use_synth :hollow |
| use_debug false | |
| use_bpm 130 | |
| # Our mixer! | |
| master = (ramp *range(0, 1, 0.01)) | |
| kick_volume = 1 | |
| bass_volume = 1 | |
| revbass_volume = 1 | |
| snare_volume = 0.5 | |
| hats_volume = 0.5 |
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
| # :saws live loop written by @pjagielski, | |
| # but I couldn't hold back to play with it! | |
| # soundcloud: https://soundcloud.com/hopbit/live-coding-session-2016-05-14-count-on-me | |
| use_bpm 130 | |
| set_volume! 1 | |
| ch1 = [62,65,69] | |
| ch2 = [63,67,70] | |
| ch3 = [65,69,72] | |
| ch4 = [67,70,74] |
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
Afterwards, we'll see how easy it is to package our newly provisioned VM