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 | |
| # ARE YOU SICK OF THE INTERNET BEING STUPID WITH GIVING YOU WEBP FILES? | |
| # Like you made EVERYTHING to work with pngs and (ugh) jpegs. Cool, I get it save | |
| # money, use compression standard wepb. FUCK YOU... update the tooling on the other side of the coin then!!! | |
| # OK so download this and save it as a shell file (then give it executable permissions) | |
| # so.. sudo chmod +x webPng.sh (or whatever you named it). Now, run it in the terminal in the same | |
| # folder where you downloaded those pesky webP files and PRESTO it will convert them into PNG files, YAAY :) | |
| # I maed this with the help of chatgpt, fyi |
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 | |
| # Check if the required argument is provided | |
| if [ "$#" -ne 1 ]; then | |
| echo "Usage: $0 <input_directory>" | |
| exit 1 | |
| fi | |
| # Input directory containing MP3 files | |
| INPUT_DIR="$1" |
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
| import os | |
| import requests | |
| API_KEY = "" | |
| BASE_URL = "https://api.giphy.com/v1/gifs/search" | |
| def fetch_gifs(keyword, limit=20): | |
| params = { | |
| "api_key": API_KEY, | |
| "q": keyword, |
OlderNewer