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
| // kotlin ./webp-to-png.main.kts webp-folder | |
| @file:DependsOn("com.sksamuel.scrimage:scrimage-core:4.1.1") | |
| @file:DependsOn("com.sksamuel.scrimage:scrimage-webp:4.1.1") | |
| import com.sksamuel.scrimage.ImmutableImage | |
| import com.sksamuel.scrimage.nio.PngWriter | |
| import java.io.File | |
| import kotlin.system.exitProcess |
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
| DISCORD_WEBHOOK_URL="WEBHOOK URL HERE" | |
| # send a message to Discord via webhook | |
| call_webhook() { | |
| curl -X POST \ | |
| -H "Content-Type: application/json" \ | |
| -d "{\"content\": \"$1\"}" \ | |
| "$DISCORD_WEBHOOK_URL" | |
| } |
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
| name: immich | |
| services: | |
| nginx: | |
| image: nginx:latest | |
| container_name: reverse_proxy | |
| ports: | |
| - 3001:3001 | |
| - 3000:3000 | |
| volumes: |
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 No t.co Redirects | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Skip t.co redirects on X/Twitter and jump directly to the actual website. | |
| // @author yuua | |
| // @match https://x.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=x.com | |
| // @grant none | |
| // ==/UserScript== |