Skip to content

Instantly share code, notes, and snippets.

View langheran's full-sized avatar
🎧
Automation Ninja 🐱‍👓

Nisim Hurst-Tarrab langheran

🎧
Automation Ninja 🐱‍👓
View GitHub Profile
@langheran
langheran / argv.json
Created February 24, 2026 23:18
C:\Users\NisimHurst\.vscode\argv.json
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
// Use software rendering instead of hardware accelerated rendering.
// This can help in cases where you see rendering issues in VS Code.
@langheran
langheran / white_background.bat
Created February 16, 2026 22:35
C:\Users\Nisim Hurst\NDS\scripts\white_background.bat
convert -background white %* %~n1.png
@langheran
langheran / kpods.cmd
Created February 3, 2026 15:43
C:\Users\NisimHurst\NDS\scripts\cmds\kpods.cmd
kubectl get pods -o custom-columns=NAME:.metadata.name,IMAGE:.spec.containers[*].image -n ingress-basic
@langheran
langheran / audio2mp3.bat
Created January 25, 2026 05:38
C:\Users\NisimHurst\NDS\scripts\audio2mp3.bat
ffmpeg -y -i %1 -vn -acodec libmp3lame -b:a 192k "%~n1.mp3"
@langheran
langheran / reduce_video_resolution.bat
Created January 25, 2026 05:37
C:\Users\NisimHurst\NDS\scripts\reduce_video_resolution.bat
@REM ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -vf scale=1280:-1 -c:a copy output.mp4
ffmpeg -y -i %1 -vf scale=640:-1 "%~n1_compressed.mp4"
pause
@langheran
langheran / gss.cmd
Created December 26, 2025 20:52
C:\Users\NisimHurst\NDS\scripts\cmds\gss.cmd
@echo off
git show
@REM git log -1
@REM git status --porcelain
@langheran
langheran / Audible Code.bat
Created December 5, 2025 00:42
C:\Users\NisimHurst\NDS\courses\scripts\Audible Code.bat
@REM @REM Clean Code
@REM start "" "C:\Program Files\Mozilla Firefox\firefox.exe" --name=AppName --no-remote -P "ssb" "https://www.audible.com/webplayer?asin=B08X7KL3TF&contentDeliveryType=SinglePartBook&isSample=false&ref_=a_minerva_cloudplayer_B08X7KL3TF&overrideLph=false&initialCPLaunch=true"
@REM @REM Clean Architecture
@REM start "" "C:\Program Files\Mozilla Firefox\firefox.exe" --name=AppName --no-remote -P "ssb" "https://www.audible.com/webplayer?asin=B08X8L9MJZ&contentDeliveryType=SinglePartBook&isSample=false&ref_=a_minerva_cloudplayer_B08X8L9MJZ&overrideLph=false&initialCPLaunch=true"
@REM Tidy First
start "" "C:\Program Files\Mozilla Firefox\firefox.exe" --name=AppName --no-remote -P "ssb" "https://www.audible.com/webplayer?asin=B0DJMT7VDP&contentDeliveryType=SinglePartBook&isSample=false&ref_=a_libraryItem_cloudplayer_B0DJMT7VDP&overrideLph=false&initialCPLaunch=true"
@langheran
langheran / dax.bat
Created December 4, 2025 20:18
C:\Users\NisimHurst\NDS\scripts\dax.bat
start "" https://dax.guide/%*/
@langheran
langheran / tfanl.cmd
Created October 27, 2025 19:09
C:\Users\NisimHurst\NDS\scripts\cmds\tfanl.cmd
@echo off
echo %time%
setlocal
@REM set TF_LOG=DEBUG
for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
IF NOT DEFINED ENV (
set ENV=qa
)
IF NOT EXIST "%CD%\vars" (
echo %ESC%[33mterraform apply -lock=false -auto-approve%ESC%[0m
@langheran
langheran / remove_docker_desktop.ps1
Created October 9, 2025 16:45
C:\Users\NisimHurst\NDS\scripts\remove_docker_desktop.ps1
# Run this as Administrator
Write-Host "Stopping Docker processes and services..."
# Stop Docker service if exists
if (Get-Service -Name "com.docker.service" -ErrorAction SilentlyContinue) {
Write-Host "Stopping com.docker.service..."
Stop-Service -Name "com.docker.service" -Force -ErrorAction SilentlyContinue
}