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 | |
| osascript -e " | |
| tell application \"Ghostty\" | |
| set bigcfg to new surface configuration | |
| set initial working directory of bigcfg to POSIX path of \"$HOME\" | |
| set font size of bigcfg to 18 | |
| set smallcfg to new surface configuration |
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 | |
| # https://codewithhugo.com/convert-image-data-url/ | |
| function img-data() { | |
| TYPE=$(file --mime-type -b $1) | |
| ENC=$(base64 $1) | |
| echo -ne '<img src="'"data:$TYPE;base64,$ENC"'"/>' | |
| } | |
| # Convert image data in clipboard to file containing JPEG |
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
| # This is a default site configuration which will simply return 404, preventing | |
| # chance access to any other virtualhost. | |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| listen 443 ssl http2 default_server; | |
| listen [::]:443 ssl http2 default_server; | |
| ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; | |
| ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; # New root location |
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 | |
| MASTODON_SERVER=https://mastodon.social | |
| MASTODON_USERNAME=foo@bar.com | |
| MASTODON_PASSWORD=secretpassword | |
| CLIENT_NAME=myclient # anything you like | |
| CLIENT_URL=http://myclient.com # anything you like | |
| APP=`curl -X POST -d "client_name=$CLIENT_NAME&redirect_uris=urn:ietf:wg:oauth:2.0:oob&scopes=write read follow&website=$CLIENT_URL" $MASTODON_SERVER/api/v1/apps` | |
| CLIENT_ID=`echo $APP | jq -r .client_id` |
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
| rabbit.pdf | https://www.robotshop.com/media/files/pdf/quick-start-guide-n029.pdf | |
|---|---|---|
| t-encabulator.pdf | https://www.rfcafe.com/miscellany/humor/ge-turbo-encabulator.pdf |