Skip to content

Instantly share code, notes, and snippets.

View tombl's full-sized avatar

Tom tombl

  • Australia
  • 06:53 (UTC +08:00)
View GitHub Profile
@tombl
tombl / README.md
Last active June 10, 2020 18:53 — forked from eugenet8k/Readme.md
Getting `nvm` support in the `fish` shell

Getting nvm support in the fish shell

How to get nvm to run inside the fish shell.

Step 0: Ensure fish and nvm are installed

See the following for instructions:

Step 1: Install fisher

@tombl
tombl / adfly.sh
Last active March 5, 2019 08:42 — forked from MadanThangavelu/unshorted-adf.ly
Unshorten a adfly url
#!/usr/bin/env bash
# Just for fun, a commandline unshortner.
# When googling, I found an out of date adf.ly unshortener, so I took it upon myself to create a new one
x=$(curl -i $1 | grep Location)
let "y = ${#x} - 9"
echo "$x" | tail -c "$y"