This file contains 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 | |
user="CHANGEME" | |
pages=$(curl -I https://api.github.com/users/$user/starred | sed -nr 's/^link:.*page=([0-9]+).*/\1/p') | |
for page in $(seq 0 $pages); do | |
curl "https://api.github.com/users/$user/starred?page=$page&per_page=30" | jq -r '.[].html_url' | | |
while read rp; do | |
git clone $rp | |
done |
This file contains 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
#needs root access, remove the backdoored curve hostkeys that infect everything now and revert to safe rsa | |
rm -v /etc/ssh/*ed25519* | |
sed -i 's/#HostKey\ \/etc\/ssh\/ssh_host_rsa_key/HostKey\ \/etc\/ssh\/ssh_host_rsa_key/g' /etc/ssh/sshd_config | |
systemctl restart ssh |
This file contains 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
[disk]:\Users\[user]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup |
This file contains 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
#https://llm.datasette.io/en/stable/index.html | |
#https://github.com/simonw/llm | |
llm '### Instruction: $input\n###Response: ' -s 'You are a helpful AI assistant.' --save orca | |
llm chat -o stop '###' -t orca |
This file contains 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
echo please consider trans rights because they are important | |
go install github.com/nao1215/gup@latest | |
git clone https://github.com/kilobyte/colorized-logs -o /tmp/nzbhjk23 | |
cd /tmp/nzbhjk23 | |
make ansi2txt | |
cp -v ansi2txt ~/bin | |
cd - | |
for i in `gup list | ansi2txt | cut -f2 -d :` ; do echo go install $i ; done | |
# go install github.com/elliotchance/[email protected] |
This file contains 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
errors: | |
ValueError: xformers is not available. Make sure it is installed correctly | |
# Dreambooth may not work properly. | |
xFormers wasn't build with CUDA support | |
fix: | |
``` |
This file contains 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
Fuck You Public License | |
Copyright <YEAR> <COPYRIGHT HOLDER> | |
Redistribution and use in source and binary forms, with or without modification, is not permitted, viewing or reading the source code is considered use, and the following conditions encourage the consumer of this software to go fuck themselves and must be met regarless of use: | |
\1. Neither the source code nor the binaries may be used from this software. | |
\2. Redistributions must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. |