This file contains hidden or 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 | |
if ! command -v curl 2>&1 >/dev/null; then | |
echo 'cUrl is required' | |
exit | |
fi | |
declare -a NAMES=( | |
0xProto | |
3270 |
This file contains hidden or 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 | |
if ! command -v curl 2>&1 >/dev/null; then | |
echo 'cUrl is required' | |
exit | |
fi | |
LATEST_RELEASE_URL='https://github.com/neovim/neovim/releases/latest/download' | |
LATEST_VERSION=$(curl --silent --head --fail-with-body --max-time 5 --write-out '%{redirect_url}' --output /dev/null $LATEST_RELEASE_URL | xargs basename) | |
echo 'Latest: ' $LATEST_VERSION |
This file contains hidden or 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
// ==UserScript== | |
// @name MagicStars | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-12-29 | |
// @description try to take over the world! | |
// @author You | |
// @match *://www.aliexpress.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=aliexpress.com | |
// @grant none | |
// ==/UserScript== |