This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # Nagaoka-Rosa solenoid inductance calculation | |
| # Project Crew™ 4/19/2026 | |
| from math import pi, tau, log, sqrt, exp | |
| f = 144 # frequency in MHz | |
| N = 9.2 # turns count | |
| dw = 0.0045 # coax shield/braid diameter | |
| jw = 0.0061 # coax outer diam. incl. jacket | |
| Df = 0.0223 # form diameter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* frequency <-> wavelengths | |
| * Project Crew™ 3/18/2026 | |
| */ | |
| #define PROGNAME "f2wl" | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <cmath> | |
| #include "cxxopts.hpp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* the "Thiele/Small Box Alignment" | |
| * subwoofer box calculator | |
| * Project Crew™ 3/11/2026 | |
| */ | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <cmath> | |
| using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;****************************** | |
| ; Press any key to reboot v2.1 | |
| ; For flat assembler | |
| ; Project Crew™ 2/29/2008 | |
| ;****************************** | |
| version equ '2.1' | |
| format binary as 'ima' | |
| include 'Ata_Atapi.inc' ; Use Craig Bamford's library | |
| ; for CD Eject functions | |
| Load_Segment equ 7C00h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # wa.sh - rinse away the sin of trailing whitespace <- Project Crew™ 2/23/2026 | |
| PROGNAME=$(basename ${0}) | |
| if test -n "${1}" | |
| then | |
| if test -f "${1}" | |
| then | |
| echo ${PROGNAME}: Looking at file: ${1} | |
| NL=$(egrep -ch ' +$' ${1}) | |
| echo ${PROGNAME}: Found ${NL} line\(s\) ending in whitespace. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; vasm hello world for Apple ][ | |
| ; address for call of the ROM BIOS function routines | |
| COUT equ $fded ; character output | |
| CROUT equ $fd8e ; start new line | |
| WRST equ $3d0 ; warm reset, return to system | |
| ; symbols to get rid of the "magic numbers" | |
| ABM equ $80 ; abyte modifier (chars + $80) | |
| CR equ 13 ; carriage return char |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Strip all the executable files in current directory that don't have | |
| # '.' character in the name. | |
| echo -n "stripall.sh: Number of programs to strip: " | |
| find -maxdepth 1 -executable \! -name '*.*' | wc -l | |
| echo Stripping... | |
| find -maxdepth 1 -executable \! -name '*.*' -print0 | xargs -0 strip -s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; fasm hello world DOS | |
| ; Project Crew™ 2/16/2026 | |
| CR equ 13 ; carriage return | |
| LF equ 10 ; line feed | |
| org 100h | |
| start: | |
| mov ah, 9 ; Display String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* depend: Tom Merchant's Voss-McCartney pink-noise approximation algorithm: | |
| * (https://gist.github.com/tom-merchant/5ced03a0638b06138ee7d11c0c209aa4) | |
| * | |
| * output is FLOAT_LE (32-bit) | |
| * Project Crew™ 2/4/2026 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <curses.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Voss-McCartney pink noise | |
| * Project Crew™ 1/27/2026 | |
| * | |
| * Pros might wanna use low freq high pass. | |
| */ | |
| #include <iostream> | |
| #include <cmath> | |
| #include <random> | |
| #include <array> |
NewerOlder