Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tancredi
tancredi / shrimp-yang.svg
Created July 31, 2024 18:10
Shrimp yang laser
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tancredi
tancredi / shrimp-01.svg
Created July 31, 2024 17:11
shrimp-laser.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tancredi
tancredi / numbered-tokens.svg
Last active July 16, 2024 19:13
numbered-tokens
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tancredi
tancredi / monkey-stencil.svg
Created June 28, 2024 17:23
monkey-stencil
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tancredi
tancredi / remade-cut.svg
Last active March 5, 2024 20:11
remade-cut
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tancredi
tancredi / downsize-assets.js
Created July 18, 2022 12:03
Downsize retina assets (Node.js) script
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-var-requires */
const { join, basename, dirname } = require('path');
const Jimp = require('jimp');
const glob = require('fast-glob');
const color = require('cli-color');
@tancredi
tancredi / resize
Created July 15, 2022 12:29
Image resize script
#!/usr/bin/env node
const color = require('cli-color');
const Jimp = require('jimp');
const [inputFile, resizeInput, outputFile] = process.argv.slice(2);
const usage = () => {
console.log(
color.red(
@tancredi
tancredi / Pioneer DDJ-200 Alternative.midi.xml
Last active July 16, 2022 10:42
DDJ-200-alternative-mappings
<?xml version='1.0' encoding='utf-8'?>
<MixxxControllerPreset schemaVersion="1" mixxxVersion="2.0.0+">
<info>
<name>Pioneer DDJ-200 (Alternative)</name>
<author>Dan Giddins, Frank.Breitling at gmx.de, Geovanni Pacheco</author>
<description>2-deck USB and Bluetooth MIDI controller with support for 4-deck mode.</description>
<forum>https://mixxx.discourse.group/t/pioneer-ddj-200-mapping/18259</forum>
<manual>pioneer_ddj_200_alternative</manual>
</info>
<controller id="DDJ-200 ALT">