Skip to content

Instantly share code, notes, and snippets.

@avdd
avdd / wslstart.sh
Last active January 22, 2023 11:41
open file or url in windows from wsl
#!/bin/bash
arg="$*"
if [[ "$arg" =~ ^file:\/\/.*$ ]]
then
arg=${arg//file:\/\//}
fi
arg_path=$(readlink -f "$arg")
@avdd
avdd / keybase.md
Created February 5, 2016 06:42
keybase proof

Keybase proof

I hereby claim:

  • I am avdd on github.
  • I am avdd (https://keybase.io/avdd) on keybase.
  • I have a public key ASCcZV58nK3ae3h3aJuDIVXaKIBRhER5cqFQlSJIo1FK_Ao

To claim this, I am signing this object: