sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
# Fish shell | |
egrep "^export " ~/.bash_profile | while read e | |
set var (echo $e | sed -E "s/^export ([A-Z_]+)=(.*)\$/\1/") | |
set value (echo $e | sed -E "s/^export ([A-Z_]+)=(.*)\$/\2/") | |
# remove surrounding quotes if existing | |
set value (echo $value | sed -E "s/^\"(.*)\"\$/\1/") | |
if test $var = "PATH" |
// change this variable to change timeout for async scroll load | |
var TIMEOUT_IN_MS = 1000 | |
// script from https://gist.github.com/xavhan/87717da0217b9b8299df | |
// start from www.shazam.com/myshazam | |
// print all shazam songs loaded on the page | |
// TODO: Change format to JSON | |
function printShazamSongs(){ | |
$(".ti__details").each(function(i){ | |
var artist = $(this).find(".ti__artist meta").attr("content"); |