-
nekoray
Discontinued 不再维护,自寻替代品。 Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
This link https://github.com/MatsuriDayo/nekoray/releases/latest gives you a http 302 redirect to the page of the latest release tag (currently https://github.com/MatsuriDayo/nekoray/releases/tag/2.26 )
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
new_bat () { # A cat(1) clone with syntax highlighting and Git integration. # https://github.com/sharkdp/bat local installed data online download_url release_id response zipfile_name folder_name installed=v$(bat.exe --version | awk '{ printf $2}') data=$(curl -s -H "Authorization: token " -s "https://api.github.com/repos/sharkdp/bat/releases") online=$(jq -j '.[0].tag_name' <<<"$data") download_url=$(jq -j '.[0].assets[] | select(.name | contains("x86_64-pc-windows-msvc.zip")) | .browser_download_url' <<<"$data") zipfile_name=$(jq -j '.[0].assets[] | select(.name | contains("x86_64-pc-windows-msvc.zip")) | .name' <<<"$data") folder_name="${zipfile_name%.*}" release_id=$(jq -j '.[0].id' <<<"$data") if [[ "$installed" == "$online" ]]; then echo "No new version! [installed is $installed]" return 0 else echo "New version is available! [$online] (installed is [$installed])" echo "Do you want to download the new bat version?" response=$(printf "Yes No" | smenu -d) echo -e "$(curl -s -H "Authorization: token " -s "https://api.github.com/repos/sharkdp/bat/releases/${release_id}" | jq -r .body)" |\ bat -pl markdown if [[ "$response" == Yes ]]; then echo "Updating to the new version..." pushd "/mnt/c/Users/zouhair/Downloads" > /dev/null || return 123 wget "$download_url" unzip -p "$zipfile_name" "${folder_name}/bat.exe" > /home/zouhair/bin/bat.exe chmod +x "/home/zouhair/bin/bat.exe" echo "Do you want to delete $zipfile_name" response=$(printf "Yes No" | smenu -d) if [[ "$response" == Yes ]]; then rm -i -rf "$zipfile_name" popd > /dev/null || return 124 else echo "Bye!" popd > /dev/null || return 124 fi else echo "Bye!" fi fi }