Skip to content

Instantly share code, notes, and snippets.

@ax3l
ax3l / CUDA_Compilers.md
Last active August 3, 2026 20:04
CUDA Compilers
@walfie
walfie / strudel-roman-chords.js
Last active August 3, 2026 19:58
Roman notation chords in Strudel
const romanChordMapping = { i: 0, ii: 1, iii: 2, iv: 3, v: 4, vi: 5, vii: 6 }
register('romanChord', function (scaleName, pat) {
return pat.as("roman:chordSuffix").fmap(({ roman, chordSuffix}) => {
const lower = roman.toLowerCase();
return n(romanChordMapping[lower]).scale(scaleName).fmap(value => {
return value.note.slice(0, -1) + (roman == lower ? 'm' : '') + (chordSuffix || '');
}).chord();
}).outerJoin();
});
@repsejnworb
repsejnworb / CrossOverLicence.sh
Last active June 13, 2026 01:39
unlimited CrossOver 24 trial (MacOS)
We couldn’t find that file to show.
@fedelkev
fedelkev / CrossOverLicence.sh
Created March 14, 2026 04:10 — forked from repsejnworb/CrossOverLicence.sh
unlimited CrossOver 24 trial (MacOS)
#!/bin/sh
# Variables
FOLDER_NAME="CrossOverLicence"
PLIST_NAME="com.codeweavers.CrossOver.license.plist"
BOTTLES_PATH="$HOME/Library/Application Support/CrossOver/Bottles"
SCRIPT_URL="https://gist.githubusercontent.com/repsejnworb/84d3e0852cf90ef40edf7e9c060f193b/raw/CrossOverLicence.sh?token=$(date +%s)"
TOTAL_STEPS=3
STEP=0
@protrolium
protrolium / ffmpeg.md
Last active May 25, 2026 14:10
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@zAstergun
zAstergun / CompleteDiscordQuest.md
Last active August 3, 2026 19:22 — forked from aamiaa/CompleteDiscordQuest.md
Discord Missões Orb (PT-BR)

Caution

A partir de 7 de abril de 2026, o Discord expressou sua intenção de reprimir a automatização da conclusão de missões.

Alguns usuários receberam a seguinte mensagem do sistema:

image Não há muito que eu possa fazer para tornar o script indetectável, então use-o por sua conta e risco, pois você provavelmente SERÁ sinalizado ao fazê-lo.

Complete Recent Discord Quest (Versão PT-BR aprimorada)

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 3, 2026 19:27
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@brunobertolini
brunobertolini / busca-imoveis.md
Created July 23, 2026 17:33
Buscador de imóveis com mapa, marcações e multi-portais

Copie tudo daqui pra baixo e cole no Claude (Cowork). Antes de enviar, preencha o bloco FILTROS. Se você deixar algum campo em branco, o assistente vai te perguntar antes de começar.


⬇️ PREENCHA AQUI (seus filtros)

FILTROS
- Objetivo: [alugar | comprar]
- Tipo de imóvel: [apartamento | casa | qualquer]
@jkmartindale
jkmartindale / awa-twitch.js
Last active August 3, 2026 19:21
Paste this into your browser console to hopefully start earning rewards. Forum thread: https://web.archive.org/web/20230922092451/https%3A%2F%2Fna.alienwarearena.com%2Fucf%2Fshow%2F2167631
/* Twitch Quest Fixer v3.1 */
const extensionID = "ehc5ey5g9hoehi8ys54lr6eknomqgr";
const channel = location.pathname.slice(1).toLowerCase();
const channelId = __APOLLO_CLIENT__.cache.data.data.ROOT_QUERY["channel({\"name\":\""+channel+"\"})"].__ref.split(":")[1];
const pollDuration = 60000;
let authToken = __APOLLO_CLIENT__.cache.data.data["Channel:" + channelId].selfInstalledExtensions.filter(x => x.helixToken.extensionID == extensionID)[0].token.jwt;
grantPermission = async () => {
console.log("Attempting to grant permission automatically...");
const integrityResponse = await (await fetch("https://gql.twitch.tv/integrity", { method: "post", headers: commonOptions.headers })).json();
@pksunkara
pksunkara / config
Last active August 3, 2026 19:16
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
# vi: ft=dosini
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[column]