Add this file to your AI assistant's system prompt or context to help it avoid common AI writing patterns. Source: tropes.fyi by ossama.is
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
| /* 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: |
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
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
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
| -- 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) |
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
| -- 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. |
- Make sure the domain you picked points at the IP of your Redash server.
- Switch to the
rootuser (sudo su). - Create a folder named
nginxin/opt/redash. - Create in the nginx folder two additional folders:
certsandcerts-data. - Create the file
/opt/redash/nginx/nginx.confand place the following in it: (replaceexample.redashapp.comwith your domain name)upstream redash { server redash:5000; }
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 | |
| ## | |
| ## 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) |
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
| 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 |
NewerOlder