This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function varclear --description 'Remove duplicates from environment variable' | |
if test (count $argv) = 1 | |
set -l newvar | |
set -l count 0 | |
for v in $$argv | |
if contains -- $v $newvar | |
set count (math $count+1) | |
else | |
set newvar $newvar $v | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# insert your last.fm api key (can be obtained by creating an app here - https://www.last.fm/api/account/create) | |
# change output_file and artist_play_limit how you like | |
# you'll also need to install jq | |
# USAGE: | |
# cat artists.txt | ./tms-obscure-artists.sh | |
lastfm_api_key="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Very simple bot for Tap Ninja | |
# (https://store.steampowered.com/app/1891700/Tap_Ninja__Idle_game/) | |
# made by deseven, 2023 | |
# The bot will perform building/tech upgrades every 30 seconds and | |
# ascention every 40 minutes (could be adjusted, see RUN_TIME below), | |
# very helpful for getting enough elixir on later stages of the game. | |
# Prerequisites: | |
# - Windows (should be easily portable to other OS) |
OlderNewer