Skip to content

Instantly share code, notes, and snippets.

View nakami's full-sized avatar

nakami nakami

  • Germany
View GitHub Profile
@phiresky
phiresky / README.md
Last active April 5, 2023 00:51
guitar synthesizer in 96 characters of C

tiny guitar synth in 96 chars of C

works by starting with a array filled with white noise (from /dev/urandom), then continuously modulating it with a low pass filter of the desired frequency.

this results in a sound pretty similar to a guitar with steel or nylon strings.

@florimondmanca
florimondmanca / README.md
Last active August 22, 2024 15:05 — forked from imbolc/httpx_aiohttp.py
HTTPX vs aiohttp (over HTTPS)

Usage

  • Generate TLS certificates for localhost:
pip install trustme-cli
trustme-cli
  • Run wrk on each endpoint, eg:
// ==UserScript==
// @name Animal Crossing Twitter Rating
// @description Display the rating of tweets using the Animal Crossing letter rating system
// @version 1
// @grant none
// @include https://twitter.com/*
// ==/UserScript==
// Notes via https://twitter.com/jamchamb_/status/1025977659522789376
@kennygoff
kennygoff / pair-programming-bunny.js
Last active May 3, 2018 22:46
Bunny with sign ascii art meme with "this is your spot" for sharing code tasks with developers
//
// | ̄ ̄ ̄ ̄ ̄ ̄|
// | this is |
// | your |
// | spot |
// |__________|
// (\__/) ||
// (•ㅅ•) ||
// / づ
//
@mimoo
mimoo / py2pdf
Created March 7, 2015 16:40
python source code printed to pdf file
vim abc.py -c ":hardcopy > abc.ps" -c ":q"
ps2pdf abc.ps abc.pdf