Skip to content

Instantly share code, notes, and snippets.

View tracker1's full-sized avatar

Michael J. Ryan tracker1

View GitHub Profile
@jetfir3
jetfir3 / download_workstation.sh
Last active May 15, 2026 00:24
Download VMware Workstation for Linux without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Workstation for Linux
# Handles legacy versions (12.x - 17.6.3) from Cloudflare CDN cache and
# newer versions (17.6.4+) from Archive.org.
#
# Use '-k' to keep the CDN download file compressed, exiting after download. (Ignored for v17.6.4+)
# Use '-v <Version>' to specify desired version directly.
BASE_URL="https://softwareupdate-prod.broadcom.com/cds/vmw-desktop/"
@d4kine
d4kine / lg-tv_adguard.block
Last active October 10, 2025 20:12
LG TV Blocklist Adguard Home
||aic.recommend.lgtvcommon.com
||aic.sports.lgtviot.com
||images.pluto.tv
||discovery.meethue.com
||aic.homeprv.lgtvcommon.com
||aic.lgtviot.com
||us.emp.lgsmartplatform.com
||us.lgeapi.com
||aic.nudge.lgtvcommon.com
||www.ueiwsp.com
@othyn
othyn / guide.md
Last active April 28, 2026 13:22
Fix horrendously bad macOS (12.3.1 tested) SMB (Samba) performance on Unraid

Intro

Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.

Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!

May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata.

Sources

@loopmode
loopmode / gitlab-secrets-bookmarklets.md
Last active November 11, 2020 20:06
Bookmarklet: Gitlab Secrets

gitlab secrets bookmarklets

Helper bookmarklets to display all keys and values of a gitlab secrets page in a single element. This way, you can copy them all in one go.

gitlab_secrets_bookmarklets

Why? Because otherwise, you'd have to select, copy and paste each key and value manually, which is tedious.

Not a common use case, but I needed this several times, e.g. when requested by project managers, or when you need to replicate deployments or builds on a different system or locally.

@Jaykul
Jaykul / Get-ColorMode.ps1
Last active March 27, 2025 05:18
Virtual terminal queries (DECRQSS) return values as INPUT but allow us to test support for syntax
function Get-ColorMode {
<#
.SYNOPSIS
Tests for FullColor (RGB) mode and X11/XTerm (XColor) modes by writing SGR and verifying it with a DECRQSS
Returns "Uknown" if there's no DECRQSS support, or "FullColor" and/or "XColor" otherwise
.NOTES
See the XTerm FAQ for details on why some terminals use ; (to be compatible with a mistake made by XTerm)
https://invisible-island.net/xterm/xterm.faq.html#color_by_number
See the ISO-8613-6 standard for details on the ODA color modes
@tracker1
tracker1 / detect-fastest-dns.sh
Last active April 6, 2018 01:36
Linux Troubleshooting
curl https://raw.githubusercontent.com/cleanbrowsing/dnsperftest/master/dnstest.sh | bash | sort -k 22 -n
@technion
technion / Password References.md
Last active June 11, 2025 12:07
A set of references on modern password policies

References on modern password policies

Below links provide source, reference link and relevant quote

Standards

NIST

https://github.com/usnistgov/800-63-3/blob/nist-pages/sp800-63b/sec5_authenticators.md

Verifiers SHOULD NOT impose other composition rules (e.g., requiring mixtures of different character types or prohibiting consecutively repeated characters) for memorized secrets. Verifiers SHOULD NOT require memorized secrets to be changed arbitrarily (e.g., periodically).However, verifiers SHALL force a change if there is evidence of compromise of the authenticator.

Major organisations

@sagivo
sagivo / gist:3a4b2f2c7ac6e1b5267c2f1f59ac6c6b
Last active May 11, 2026 18:44
webRTC stun / turn server list
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
stun:
stun.l.google.com:19302,
stun1.l.google.com:19302,
stun2.l.google.com:19302,
stun3.l.google.com:19302,
stun4.l.google.com:19302,
stun.ekiga.net,
stun.ideasip.com,
/**
* Simple userland CPU profiler using v8-profiler
* Usage: require('[path_to]/CpuProfiler').init('datadir')
*
* @module CpuProfiler
* @type {exports}
*/
var fs = require('fs');
var profiler = require('v8-profiler');