Skip to content

Instantly share code, notes, and snippets.

View Kanabanarama's full-sized avatar

Kana Lantzsch Kanabanarama

View GitHub Profile
@Kanabanarama
Kanabanarama / gist:35a1e04fd09008f2a26cd82379a9af16
Last active January 20, 2025 22:34
Sonic Pi: Play all synths
synths = [
:bass_foundation, :bass_highend, :beep, :blade, :bnoise, :chipbass, :chiplead,
:chipnoise, :cnoise, :dark_ambience, :dpulse, :dsaw, :dtri, :dull_bell,
:fm, :gabberkick, :gnoise, :growl, :hollow, :hoover, :kalimba, :mod_beep,
:mod_dsaw, :mod_fm, :mod_pulse, :mod_saw, :mod_sine, :mod_tri, :noise,
:organ_tonewheel, :piano, :pluck, :pnoise, :pretty_bell, :prophet, :pulse,
:saw, :sc808_bassdrum, :sc808_clap, :sc808_hihat, :sc808_closed_hihat,
:sc808_congahi, :sc808_congalo, :sc808_congamid, :sc808_cowbell, :sc808_cymbal,
:sc808_maracas, :sc808_open_hihat, :sc808_rimshot, :sc808_snare, :sc808_tomhi,
:sc808_tomlo, :sc808_tommid, :sine, :sound_in, :sound_in_stereo, :square,
pkt1q5c2qtw766qelv2m7ssymfh5zj7nymgmeeq737x
return html`
<body class="code lh-copy">
<main>
<section class="vh-100 w-100 bg-white cover mw10 center flex flex-wrap items-center-ns">
<div class="dt dt--fixed">
<div class="dtc tc pv4 bg-black-10">
<div class="black-50 w-100 w-100-l">
# https://github.com/jwilder/nginx-proxy
# https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
@Kanabanarama
Kanabanarama / chromeos-setup
Last active November 26, 2019 22:02
Configure ChromeOS Linux for a full stack developer.
#!/bin/sh
PLATFORM=$(cat /proc/device-tree/model)
if echo $PLATFORM | grep 'Raspberry Pi'; then
echo "🍓 I'm a Raspberry Pi!"
sudo apt install -y ufw
fi
# Configure ChromeOS Linux for a full stack developer.
[profile]
layer_height = 0.2
wall_thickness = 0.6
retraction_enable = True
solid_layer_thickness = 0.6
fill_density = 20
print_speed = 50
print_temperature = 210
print_temperature2 = 0
print_temperature3 = 0