Skip to content

Instantly share code, notes, and snippets.

View questionlp's full-sized avatar
🐍
Wait Wait Statsing

Linh Pham questionlp

🐍
Wait Wait Statsing
View GitHub Profile
@questionlp
questionlp / wwdtm_list-all-shows-dates-month-day.txt
Last active March 2, 2020 18:49
Listing of all show dates by month and day
All Shows
=========
January
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24
25 26 27 28 29 30 31
@questionlp
questionlp / wwdtm_list-regular-shows-dates-month-day.txt
Last active March 2, 2020 18:49
Listing of all regular show dates by month and day
Regular Shows
=============
January
1 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25
26 27 28 29 30 31
@questionlp
questionlp / macOS-Pipe Organ Text-to-Speech
Created December 11, 2020 04:31
macOS Pipe Organ Text-to-Speech
say -o filename.wav --data-format=LEF32@88200 -v "pipe organ"
@questionlp
questionlp / Windows Terminal- Color Schemes.json
Created February 16, 2021 14:17
Windows Terminal: Color Schemes
{
"schemes": [
{
"name": "Solarized Dark Higher Contrast",
"black": "#002831",
"red": "#d11c24",
"green": "#6cbe6c",
"yellow": "#a57706",
"blue": "#2176c7",
"purple": "#c61c6f",
@questionlp
questionlp / FSF 2002-11-25_amended-by-laws.txt
Last active March 25, 2021 00:50
FSF 2002-11-25_amended-by-laws.txt
Printed by Bradley M. Kuhn
Dec 16, 02 15:47 2002-11-25_amended-by-laws.txt Page.1/9
BY-LAWS
OF
FREE SOFTWARE FOUNDATION, INC.
ARTICLE I
@questionlp
questionlp / .editorconfig
Created March 26, 2022 23:10
.editorconfig
# EditorConfig File
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{json,md,py,rst}]
charset = utf-8
@questionlp
questionlp / nut-server.service
Created April 22, 2022 05:36
Nut Server Service File for Raspberry Pi OS or Raspbian
# Install as /etc/systemd/system/nut-server.service
#
[Unit]
Description=Network UPS Tools - power devices information server
After=local-fs.target network.target nut-driver.service
# We don't Require drivers to be successfully started! This would be
# a change of behavior compared to init SysV, and could prevent from
# accessing successfully started, at least to audit a system.
Wants=nut-driver.service
Before=nut-monitor.service
@questionlp
questionlp / Windows 11 Context Menu Registry Fix.md
Last active May 29, 2022 16:38
Windows 11 Context Menu Registry Fix
@questionlp
questionlp / TBTL Singing Clip Mashup.md
Created June 8, 2022 01:43
Compiling TBTL Singing Clips

The following commands will connect FLAC files that contain the phrase "Singing" and "sing-songy" in the file name and copy them into the current directory.

find ~/Dropbox/TBTL -type f -name '*Singing *.flac' -exec cp "{}" . \;
find ~/Dropbox/TBTL -type f -name '*sing-songy*.flac' -exec cp "{}" . \;

To generate a text file containing a list of collected files, run:

@questionlp
questionlp / generate-random-mac-address.sh
Created June 14, 2022 04:14
Generate Random MAC Address Shell Script
#!/bin/sh
echo "$(printf "%012X" $(( 0x$(hexdump -n6 -e '/1 "%02X"' /dev/random) & 0xFEFFFFFFFFFF | 0x020000000000 )) | sed 's/.\{2\}/&:/g' | sed s/:$//g)"