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
| { | |
| "0":{ | |
| "day":{ | |
| "description":"Sunny", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| }, | |
| "night":{ | |
| "description":"Clear", | |
| "image":"http://openweathermap.org/img/wn/[email protected]" | |
| } |
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
| rustup target add x86_64-unknown-linux-musl | |
| cargo build --release --target x86_64-unknown-linux-musl |
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
| bandcamp_download() { | |
| local url="$1" | |
| # Extract subdomain (everything before .bandcamp.com) | |
| local subdomain=$(echo "$url" | sed -n 's|^https\?://\([^.]*\)\.bandcamp\.com.*|\1|p') | |
| if [ -z "$subdomain" ]; then | |
| echo "Error: Could not extract subdomain from URL" >&2 | |
| return 1 | |
| fi |
OlderNewer