Skip to content

Instantly share code, notes, and snippets.

View MikeKlem's full-sized avatar
🎯

Mike Klemencic MikeKlem

🎯
View GitHub Profile
@Strykar
Strykar / update_sqm.sh
Last active January 23, 2023 02:23
Update SQM limits in openwrt 4 times a day
#!/bin/sh
# v0.1 Avinash H. Duduskar <strykar@live.com>
# This adjusts OpenWRT SQM settings by re-calculating up/down bandwidth
# Needs the Speedtest.net CLI binary - https://www.speedtest.net/apps/cli
# Call this script every 4 or 6 hours via cron
set -euf -o pipefail
_sqm_int="queue" # Your actual wan interface: ifstatus wan | grep -e l3_device
_pul="90" # Percentage of wan upload speed to set, 90-95 is good
_pdl="95" # Percentage of wan download speed to set, 90-95 is good
@ladyrick
ladyrick / iterm2_profiles.json
Created April 24, 2020 11:27
iterm2 profiles
{
"Profiles": [
{
"Thin Strokes": 0,
"Working Directory": "\/",
"Prompt Before Closing 2": false,
"Selected Text Color": {
"Green Component": 0,
"Blue Component": 0,
"Red Component": 0