This file contains hidden or 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
| import random | |
| VOWELS = "aeiou" | |
| CONSONANTS = "bcdfghjklmnpqrstvwxyz" | |
| # Confusable letter pairs (trap mode) | |
| TRAPS = [ | |
| ("b", "p"), | |
| ("m", "n"), | |
| ("d", "t"), |
This file contains hidden or 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
| select | |
| sum(case when n.title like '🟪 %' then 1 else 0 end) as purple, | |
| sum(case when n.title like '🟩 %' then 1 else 0 end) as green, | |
| sum(case when n.title like '🟦 %' then 1 else 0 end) as blue, | |
| sum(case when n.title like '🟥 %' then 1 else 0 end) as red, | |
| sum(case when n.title like '🟨 %' then 1 else 0 end) as yellow, | |
| sum(case when n.title like '🟫 %' then 1 else 0 end) as brown, | |
| sum(case when n.title like '🔳 %' then 1 else 0 end) as white, | |
| sum(case when n.title like '⬛ %' then 1 else 0 end) as black, | |
| sum(case when n.title like '🟧 %' then 1 else 0 end) as orange |
This file contains hidden or 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
| int maxIter = 100; // maximum iterations | |
| float zoom = 200; // zoom level | |
| float offsetX = 0; // horizontal shift | |
| float offsetY = 0; // vertical shift | |
| void setup() { | |
| size(800, 800); | |
| loadPixels(); | |
| for (int x = 0; x < width; x++) { | |
| for (int y = 0; y < height; y++) { |
This file contains hidden or 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
| use_bpm 112 | |
| use_cue_logging false | |
| use_debug false | |
| use_real_time | |
| # Section length in bars | |
| section_duration = 32 | |
| total_sections = 6 | |
| reset_tick = section_duration * total_sections |
This file contains hidden or 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
| section_duration = 16 | |
| arrangement = { | |
| kick: [0, 1, 1, 0, 1, 1], | |
| snare: [0, 0, 1, 1, 1, 0], | |
| hat: [0, 1, 1, 1, 1, 0] | |
| } | |
| define :section_on? do |inst| | |
| section = get(:look) / section_duration |
This file contains hidden or 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
| use_bpm 112 | |
| use_cue_logging false | |
| use_debug false | |
| use_real_time | |
| # Section length in bars | |
| section_duration = 32 | |
| total_sections = 6 | |
| reset_tick = section_duration * total_sections |
This file contains hidden or 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 | |
| # Usage: ./install-appimage.sh /path/to/MyApp.AppImage | |
| set -e | |
| APPIMAGE_PATH="$1" | |
| if [[ -z "$APPIMAGE_PATH" || ! -f "$APPIMAGE_PATH" ]]; then | |
| echo "Usage: $0 /path/to/AppImage" |
This file contains hidden or 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
| void main () { | |
| // test("31.2.3", "31.2.10"); | |
| // test("31.2.3", "31.2"); | |
| // test_greater_method("31.2.10", "31.2.3", compare_versions_contributor); | |
| // test_greater_method("31.2.3", "31.2", compare_versions_contributor); | |
| test_greater_method("1.2.3", "1.2.2", compare_versions_improved); | |
| test_greater_method("1.2.10", "1.2.2", compare_versions_improved); | |
| test_greater_method("1.2.3-2", "1.2.3-1", compare_versions_improved); | |
| test_greater_method("2.4.5", "2.4", compare_versions_improved); |
This file contains hidden or 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
| use_bpm 60 | |
| define :rand_chord do | |
| # A soft shifting chord from E minor, randomly voiced | |
| root = [:e3, :g3, :b3].choose | |
| chord(root, :minor7, num_octaves: 2).shuffle.take(3) | |
| end | |
| # === Breath Pad Layer === | |
| live_loop :breathy_pad do |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder