Skip to content

Instantly share code, notes, and snippets.

View ndmgrphc's full-sized avatar

Aaron P. ndmgrphc

View GitHub Profile
@ndmgrphc
ndmgrphc / egra-blomley.tsv
Created September 22, 2021 17:14
Blomley amp tsv digikey
Index Manufacturer Part Number Manufacturer Name Description Customer Reference
1 RNF14FTD100R Stackpole Electronics Inc RES 100 OHM 1% 1/4W AXIAL R33,R39,R29,R36
2 ZTX553 Diodes Incorporated TRANS PNP 100V 1A E-LINE Q5,Q7,Q10,Q6
3 ZTX453 Diodes Incorporated TRANS NPN 100V 1A E-LINE Q4, Q11, Q9, Q2
4 1N914 Microchip Technology DIODE GEN PURP 75V 200MA DO35 D1,D4A,D4B,D5
5 PV36W501C01B00 Bourns Inc. TRIMMER 500 OHM 0.5W PC PIN TOP R13,R14
6 UES1H221MHM Nichicon CAP ALUM 220UF 20% 50V RADIAL C6,C9
7 UFG2A010MDM1TD Nichicon CAP ALUM 1UF 20% 100V RADIAL C13
8 ECA-1JHG222 Panasonic Electronic Components CAP ALUM 2200UF 20% 63V RADIAL C10
9 CMF60100R00FKEB Vishay Dale RES 100 OHM 1W 1% AXIAL R33,R39
@ndmgrphc
ndmgrphc / base_k.js
Created October 14, 2020 22:49
Base K conversion from number to *any* base in Javascript
/**
* Base K Conversion with Javascript
*
* Convert any number to any base (using a list of words).
* wordsToInt("crop-dust-poor-been") === 11435338126
* intToWords(11435338126) === "crop-dust-poor-been"
*/
const baseWords = ["able", "acid", "aged", "also", "area", "army", "away", "baby", "back", "ball", "band", "bank", "base", "bath", "bear", "beat", "been", "beer", "bell", "belt", "best", "bill", "bird", "blow", "blue", "boat", "body", "bomb", "bond", "bone", "book", "boom", "born", "boss", "both", "bowl", "bulk", "burn", "bush", "busy", "call", "calm", "came", "camp", "card", "care", "case", "cash", "cast", "cell", "chat", "chip", "city", "club", "coal", "coat", "code", "cold", "come", "cook", "cool", "cope", "copy", "core", "cost", "crew", "crop", "dark", "data", "date", "dawn", "days", "dead", "deal", "dean", "dear", "debt", "deep", "deny", "desk", "dial", "dick", "diet", "disc", "disk", "does", "done", "door", "dose", "down", "draw", "drew", "drop", "drug", "dual", "duke", "dust", "duty", "each",