Mode | Control 1 | Control 2 |
---|---|---|
Room | Bass (thin→thick) | Modulation (shallow→deep) |
Hall | Bass (thin→thick) | Hall Size (1-5) |
E-Dome | Bass (thin→thick) | Modulation (shallow→deep) |
True Spring | Bass (thin→thick) | Short/Medium/Long springs |
Plate | Bass (thin→thick) | Small/Medium/Large plate |
Lo-fi | Distortion (clean→distorted) | Modulation (shallow→deep) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A greyscale Mandelbrot set based on 100 iterations | |
// with a non-linear pow applied to make it Not Dark | |
// A complex number with an a (real) and b (imaginary) part. | |
// It can mutate itself by `add`ing itself to an `other`, or squaring itself in-place. | |
// It can also compare its own magnitude to an arbitrary given magnitude in `isBiggerThan`. | |
class Complex { | |
constructor(a,b) { | |
this.a = a; | |
this.b = b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// It's an old untuned TV screen | |
function setup() { | |
createCanvas(400, 400); | |
pixelDensity(1); | |
loadPixels(); | |
} | |
function shadeAt(x,y) { | |
return random(255); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for APP in $(heroku apps -A | awk '{ print $1 }' | grep "[a-z]") | |
do | |
echo $APP ':' | |
heroku addons --app "$APP" | grep '/month' | |
heroku ps:type --app "$APP" | awk '$4 ~ /[1-9]/' | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prefix Verb URI Pattern Controller#Action | |
root GET / home#index | |
letter_opener_web /letter_opener LetterOpenerWeb::Engine | |
health GET /health(.:format) health#show | |
sidekiq /sidekiq Sidekiq::Web | |
pghero /pghero PgHero::Engine | |
native_oauth_authorization GET /oauth/authorize/native(.:format) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Print the small constellation of objects in your integration test and how they relate. | |
# Requires Graphviz. Optimised for Mac. YMMV. | |
module Diagram | |
def save_and_open_diagram(**args) | |
DotGenerator.new(**args).open | |
end | |
# Collect RSpec `let`s for a given example and all her parents | |
class RSpecLets | |
def initialize(example) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/tasks/asset.rake | |
# | |
# Hook up to jsbundling-rails by making spec:prepare dependent | |
# on app/assets/builds/application.js, a file-based equivalent to | |
# javascript:build. Will only rebuild when JS files have changed | |
if Rails.env.test? | |
ASSET_SOURCE_DIR = 'app/javascript'.freeze | |
ASSET_BUILDS_DIR = 'app/assets/builds'.freeze | |
JS_SOURCE = FileList["#{ASSET_SOURCE_DIR}/**/*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Reference - not used directly, see PluginParameters, each of | |
which has a sendCC property | |
const PortamentoON_OFF=65; | |
const PortamentoValue=5; | |
const ArpON_OFF=117; | |
const ArpType=119; | |
const LegatoControl=118; |
May 31, 2020 in ADPH Updates, Covid-19, Health Protection, President's Blog by Campbell Findlay
COVID-19 has already taken a huge social and economic toll on our nation – and the reality is that it will continue to do so for some time.
We are at a critical moment. We need to weigh up the balance of risks between easing restrictions, to enable more pupils to return to school, more businesses to open and more social connections to happen, with the risk of causing a resurgence of infections.
Directors of Public Health are increasingly concerned that the Government is misjudging this balancing act and lifting too many restrictions, too quickly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psql DataSubmissionServiceApi_development on [local] as russ | |
=> EXPLAIN ANALYZE | |
SELECT submissions.*, | |
COUNT(DISTINCT (orders.id)) AS _order_entry_count, | |
COUNT(DISTINCT (invoices.id)) AS _invoice_entry_count, | |
MIN(blobs.filename)::text AS _first_filename | |
FROM "submissions" | |
LEFT JOIN submission_entries orders | |
ON ( | |
orders.submission_id = submissions.id |
NewerOlder