Skip to content

Instantly share code, notes, and snippets.

View raneomik's full-sized avatar

raneomik raneomik

  • Montpellier
View GitHub Profile
@raneomik
raneomik / fetch-latest-sf-cli.sh
Created August 23, 2022 13:14
Latest tar.gz package from github release list example
#!/bin/bash
latestRelease() {
git ls-remote --tags "$1" |
cut -d/ -f3- |
grep -v "{}" |
tail -n1 |
cut -c 2-;
}
@raneomik
raneomik / wsl-terminator.vbs
Last active January 27, 2024 03:58
vbscript to run Terminator and xServer under wsl
' https://medium.com/@bhupathy/install-terminator-on-windows-with-wsl-2826591d2156
set shell = CreateObject("Wscript.Shell")
xServerProcessName = "vcxsrv.exe"
RunXserverProcess( xServerProcessName )
RunTerminator()
KillXserverProcess( xServerProcessName )