Skip to content

Instantly share code, notes, and snippets.

View daryltucker's full-sized avatar

Daryl Tucker daryltucker

  • Neo-Retro Group
  • Salem, Or
View GitHub Profile
daryltucker /
Last active December 15, 2023 23:19
Chunk Upload to Azure Storage with curl
# ArtifactLocation=''
# ArtifactBaseName=''
DATE_NOW=$(date -Ru | sed 's/\\+0000/GMT/')
daryltucker / certbot-dns-linode_v4.mkd
Created October 6, 2023 19:20

[{u'ERRORCODE': 16, u'ERRORMESSAGE': u'Linode API v3 is no longer active. Please use Linode API v4:'}]

Make sure you're on Debian 11+ vs Debian 10-

daryltucker /
Last active November 22, 2023 04:03
Upgrade Node for Kibana
cd /tmp/
wget --no-clobber${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.xz
sudo systemctl stop kibana
tar -xvf node-${NODE_VERSION}-linux-x64.tar.xz --strip-components=1 \
--overwrite \
--directory /usr/share/kibana/node/
cat <<EOF | tee /tmp/node_version_validator.js.patch
daryltucker /
Created August 24, 2023 17:42
Create PKCS12 from PEM (Certbot)
openssl pkcs12 -export -out -inkey /etc/letsencrypt/live/ -in /etc/letsencrypt/live/ -certfile /etc/letsencrypt/live/ -name
daryltucker / Windows11_Program_Startup.mkd
Created September 7, 2022 20:14
Windows 11 Startup Application named "Program"

While investigating Startup Applications, I noticed one named "Program". Using Task Manager, I was able to add "Command line" column under the Startup tab. This showed me which application was being started. In my case, it was WinHotKey. Also, "Startup type" column, to expose where the startup configuration lives (ie: Registry).


Place double quotes around the value. For example:

"C:\Program Files (x86)\WinHotKey\WinHotKey.exe"
daryltucker / hevrist
Created August 19, 2022 21:42
Find directories with lots of data within them.
function hevrist(){
local MAX=3;
local n=0;
function h_x(){
du -shx $1/* 2>/dev/null | sort -rh | head -n 10;
while [ -n ${n} ] && [ ${n} -lt ${MAX} ]; do
daryltucker /
Created August 1, 2022 17:35
Intel Corporation C610/X99
load-module module-udev-detect tsched=0
daryltucker / PulseAudio-No-Over-Amplification.mkd
Created July 25, 2022 17:17
Do not allow volume to exceed 100% in Pulse Audio
dconf write /com/ubuntu/sound/allow-amplified-volume false
daryltucker / README.mkd
Last active August 26, 2022 20:55
Commit Message Hooks for Various Ticketing Systems


  1. Isolate different git configurations by like-workflows
  2. Automatically associate work tasks to commits.


git checkout features/1234-banana
touch banana; git add banana
daryltucker / build-python3-wsl.mkd
Last active July 15, 2022 22:47
Build latest stable Python 3.x for WSL (Windows Subsystem for Linux)

The WSL OpenSSL libraries are missing headers, preventing actually using them to compile anything.

  1. Grab OpenSSL source and checkout latest stable version (1.*)
  2. Build and Install OpenSSL
  3. Grab Python source and checkout latest stable version (3.*)
  4. Build and Install Python w. OpenSSL available.

TIP: Be sure to use the \\wsl$\ filesystem, and link out from that, vs creating a sym-link from Windows into WSL. If your git or other operations are slow, look into this.