Skip to content

Instantly share code, notes, and snippets.

View munshkr's full-sized avatar

Damián Silvani munshkr

  • Buenos Aires, Argentina
  • 19:56 (UTC -03:00)
  • X @munshkr
View GitHub Profile
@ndonald2
ndonald2 / moogladder.cpp
Last active December 6, 2023 06:29
Improved Moog Ladder Filter for DaisySP - Huovilainen New Moog derivation ported from Teensy Audio Library
/* Ported from Audio Library for Teensy, Ladder Filter
* Copyright (c) 2021, Richard van Hoesel
* Copyright (c) 2022, Infrasonic Audio LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
@palewire
palewire / README.md
Last active May 19, 2024 23:31
How to push tagged Docker releases to Google Artifact Registry with a GitHub Action

How to push tagged Docker releases to Google Artifact Registry with a GitHub Action

Here's how I configured a GitHub Action so that a new version issued by GitHub's release interface will build a Dockerfile, tag it with the version number and upload it to Google Artifact Registry.

Before you attempt the steps below, you need the following:

  • A GitHub repository that contains a working Dockerfile
  • The Google Cloud SDK tool gcloud installed and authenticated

Create a Workload Identity Federation

@munshkr
munshkr / README.md
Last active November 20, 2019 22:38
Script for running TidalCycles from the command line (for Linux and macOS only)

TidalCycles wrapper script

This script wraps GHCI and loads TidalCycles using the bundled bootloading script. Only works on Linux and macOS.

Install

Run the following on your terminal

@dotspencer
dotspencer / multiple-keys-gitlab.md
Last active March 7, 2024 15:01
Multiple Gitlab accounts with multiple ssh keys

Gitlab won't allow reuse of a public ssh key for multiple accounts. To get around this you need to create a second ssh key for the second account.

Create or modify your ~/.ssh/config file:

# normal                                                                                                                                                                  
Host gitlab.com-work_username
     HostName gitlab.com
     PreferredAuthentications publickey
 IdentityFile ~/.ssh/id_rsa
@jarmitage
jarmitage / default-synths-extra.tidal
Created April 25, 2019 10:53
Tidal file for playing with SuperDirt synths added in Dec 2018
-- Added Dec 2018 by bgold
-- https://github.com/musikinformatik/SuperDirt/blob/develop/library/default-synths-extra.scd
let p = n (run 12)
{-
from synthdef.art
fragment: 2018-08-16
responds to accelerate (for pitch glide)
detune (in Hz, but even small values are quite noticable)
@jarmitage
jarmitage / default-effects-extra.tidal
Created April 25, 2019 10:43
Tidal file for playing with new SuperDirt FX
-- New SuperDirt effects in Tidal 1.0.11
-- https://github.com/musikinformatik/SuperDirt/blob/develop/library/default-effects-extra.scd
-- https://github.com/tidalcycles/Tidal/blob/master/src/Sound/Tidal/Params.hs
let p = s "arpy*4"
{-
Waveloss
Divides an audio stream into tiny segments, using the signal's
zero-crossings as segment boundaries, and discards a fraction of them.
@arikfr
arikfr / README.md
Last active April 26, 2024 10:07
Setting up HTTPS with LetsEncrypt for Redash Docker Deployment
  1. Make sure the domain you picked points at the IP of your Redash server.
  2. Switch to the root user (sudo su).
  3. Create a folder named nginx in /opt/redash.
  4. Create in the nginx folder two additional folders: certs and certs-data.
  5. Create the file /opt/redash/nginx/nginx.conf and place the following in it: (replace example.redashapp.com with your domain name)
    upstream redash {
        server redash:5000;
    }
    
@1papaya
1papaya / gdal_ecw.sh
Last active November 5, 2021 22:21
Install GDAL 2.3 with ECW support on Ubuntu 18.04
#!/bin/bash
##
## Tested on: Ubuntu 18.04 & ECW 5.4 & GDAL 2.3.1
##
## Download the ERDAS ECW JP2 SDK v5.4 Linux
## https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-4-linux
## Download GDAL v2.3 Source (ex. 2.3.1)
s.boot;
(
SynthDef(\simple, { |freq=440, pos=0, amp=0.5|
Pan2.ar(SinOsc.ar(freq), pos, amp);
}).add
;
SynthDef(\simple_rev, { |sig, mix=0.5, room=0.5, damp=0.1|
FreeVerb.ar(sig, mix, room, damp);
}).add
@tobiasraabe
tobiasraabe / python-downloader.py
Last active March 18, 2024 13:17
Script to download files, resume downloads and validate downloads. Everything wrapped with a beautiful progressbar.
import click
import hashlib
import requests
from pathlib import Path
from tqdm import tqdm
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])