Skip to content

Instantly share code, notes, and snippets.

View cleary's full-sized avatar

Bernard Gray cleary

View GitHub Profile
@cleary
cleary / .tmux.conf
Last active September 15, 2020 01:51
set -g window-style 'fg=colour241,bg=default'
set -g window-active-style 'fg=white,bright,nodim,bg=default'
set -g history-limit 7000
set-window-option -g mode-keys vi
set-window-option -g xterm-keys on
set -sg escape-time 0
@cleary
cleary / darktable-shortcuts.md
Last active February 19, 2018 03:21
Darktable Workflow Keyboard Shortcuts
@cleary
cleary / vscode_shortcuts.md
Last active March 15, 2024 06:35 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

  • For mac, replace "Ctrl" with "cmd" and "Alt" with "option"

Official List of all commands

@cleary
cleary / tmux-cheatsheet.markdown
Last active May 11, 2020 22:55 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@cleary
cleary / tidal_sample_reference
Last active September 30, 2020 09:59
tidal sample descriptions
-- Dirt-Samples
d1 $ slow 2 $ s "bass3" <| n (run 10) -- softer synth bass, 0 = A2, 1-4 = C#2, 5 = G#2, 6-7 = D3, 8 = C2 9-10 = B2(woah)
d1 $ slow 2 $ s "pluck" <| n (run 16) -- double bass, pitch in filename, 9 = E1, vscode swaps # compared to superdirt
-- n (toScale [5,6,10,12,15,2,4] (run7)) -- pluck C major scale-ish
d1 $ slow 2 $ s "sax" <| n (run 21) -- sax long notes, pitch in filename, 5 = C2
-- jamie-lidell-iso
d1 $ slow 2 $ s "lidellvox" <| n (run 23) -- CMaj scale 3+ octaves from C4, # legato
-- reggae
do let accent = "[ 0.7 1 0.7 1]"
d1 $ struct "t?0.9 ~ t ~" $ "bd" -- kick
d2 $ struct "t t(3,8) t t" $ gain accent # s "cpu:1" -- rimshot
d3 $ struct "[~ t!3]*4" $ gain accent # s "cpu:4" -- closed hh
-- Indian - Taala-like
d1 $ stack [
struct "[t@1.5 t]" $ n "2" # s "lo"
-- companion video of the set: https://www.youtube.com/watch?v=BBLuobPLE4w
-- https://club.tidalcycles.org/t/tidal-club-new-moon-sign-up-info/1839/1 (requires free membership)
-- hi all
-- @moxus amazin set
-- I feel like a total prude but... here's a piano
--lol
@cleary
cleary / 20200917.tidal
Last active February 5, 2022 19:35
tidal practice livestream companion
-- livestream replay:
-- https://www.twitch.tv/videos/743029308
-- https://youtu.be/kliiBKWWy4w
d1 $ stack [
foldEvery [7,8] (0.25 <~ ) $ s "[[<dr_few dr_few*2?> realclaps*4?], [~ cpu:2]]"
] # room 0.3 # sz 0.3
d5 $ silence
@cleary
cleary / 20200923.tidal
Last active September 23, 2020 11:33
Tidalcycles Live Coding Practive
-- https://gist.github.com/cleary
-- 20200923.tidal
setcps 0.5
d1 $ slow 4 $ stack [
n "0(5,8) [[2 0] 0]" # s "cpu"
, s "cpu:20*4 cpu:20(5,8)?0.7"
, s "cpu:4*16?"
@cleary
cleary / 20200930.tidal
Created September 30, 2020 11:50
Tidal Practice
-- https://www.twitch.tv/videos/756377738
-- welcome .... revisiting the long samples
-- chord management ideas from this great newmoon set from th4:
-- https://www.youtube.com/watch?v=alTqtIngNgI
d1 $ slow 2 $ up "<'min7 ['thirteen 'aug] 'maj7 'maj7>"
# s "<lidellvox:8 lidellvox:4 [ lidellvox:5 lidellvox:7] lidellvox:0>"
d2 $ slow 2 $ struct "t t*2? t t?" $ up "<2 [6 5] [7 0] 0>" # s "pluck:5"