Skip to content

Instantly share code, notes, and snippets.

View discatte's full-sized avatar
💾

.:/ DiSCATTe \:. discatte

💾
View GitHub Profile
@discatte
discatte / vaio_pcg_c1.md
Last active March 18, 2025 00:05
sony vaio pcg-c1 model families

VAIO C1 Picture Book Model Specs

Model CPU GPU Sound
PCG-C1* Pentium MMX 266 NM2200 NeoMagic ES1879 [ESFM]
PCG-C1X* Pentium II 400mhz NM2200 NeoMagic YMF744 [DS-XG]
PCG-C1V* Transmeta Crusoe TM5600 600+MHZ ATI Rage Mobility M1 ymf754 [DS-XG]
PCG-C1M* Transmeta Crusoe TM5800 733+MHZ ATI Rage Mobility M6 ymf753 [AC-XG]
// by dave @beesandbombs :)
float[][] result;
float t, c;
float ease(float p) {
p = c01(p);
return 3*p*p - 2*p*p*p;
}
@discatte
discatte / 3D_piano_from_midi.py
Created March 20, 2022 21:52 — forked from Zulko/3D_piano_from_midi.py
Turn a piano MIDI file into a basic 3D animated piano video.
"""
Turn a piano MIDI file into a basic 3D animated piano video.
See the result here:
I am leaving it as a script because it is not tested on enough MIDI files yet.
Zulko 2014
This script is released under a Public Domain (Creative Commons 0) licence.
const ls = window.localStorage;
// Ensure we're always sending something
let stringifiedData = '{}';
// Default to production
let url = 'https://www.nytimes.com/games/wordle'
// Don't attempt unless our user has local storage enabled
if (ls) {
const errors = [];
const localData = {
@discatte
discatte / palm_links.txt
Last active November 19, 2022 23:58
Palm OS Links
@discatte
discatte / ds9rank.csv
Created September 24, 2021 21:01
trek ranks d3 visualization
Rank Title Season Episode Hashtag
173 Profit and Lace 6 23 Female Quark equals all-time bad.
172 Let He Who Is Without Sin... 5 07 Risa episodes shouldn't be terrible.
171 The Muse 4 21 A-story and B-story equally bad.
170 Meridian 3 08 This guy? Not Dax's type!
169 Fascination 3 10 Outbreak of passion? No, thanks!
168 Ferengi Love Songs 5 20 Ishka and Zek? No, thanks!
167 Rivals 2 11 Poor casting equals poor episode.
166 The Storyteller 1 14 The Dal'Rok? Rare Bajoran misstep.
165 Melora 2 06 Heart in right place. Fails.
// Last tested with dart-sass v1.32.12
// on https://www.sassmeister.com/
$selector: "*";
$selector_rule: "*";
$selector_join: " + "; // change to " " for depth rainbows
$hsl_degree: 0;
$hsl_step: 34;
@discatte
discatte / install-dotfiles.sh
Created July 4, 2021 20:49
dot file linkup
#!/bin/bash
ln -si $PWD/.vimrc $HOME/
ln -si $PWD/.vimrc.languages $HOME/
ln -si $PWD/.vimrc.folders $HOME/
ln -si $PWD/.gitconfig $HOME/
ln -si $PWD/.gitignore $HOME/
ln -si $PWD/.bash_profile $HOME/
ln -si $PWD/.ctags $HOME/
@discatte
discatte / glsl sandbox favorites.md
Created April 29, 2021 13:08
glsl sandbox favorites
@discatte
discatte / dos_file_transfer_bootstrapping.md
Last active May 9, 2021 17:26
DOS File Transfer Bootstrapping

Further examples with @foone highjinks https://twitter.com/Foone/status/1016852411233603589