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
curl -fsSL "https://repo.archlinuxcn.org/x86_64/glibc-linux4-2.33-4-x86_64.pkg.tar.zst" | bsdtar -C / -xvf - |
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 | |
#hamachi installer script | |
#armhf=32 bit ARM | |
#tested on Ubuntu 20.04 | |
INSTALLER_PACKAGE=logmein-hamachi_2.1.0.203-1_armhf.deb | |
if [ ! -f "${INSTALLER_PACKAGE}" ]; then | |
wget https://www.vpn.net/installers/${INSTALLER_PACKAGE} | |
fi |
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
#from: http://stackoverflow.com/a/1139797 | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
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
# curl -L tinyurl.com/recoverymodehelp | |
csrutil | |
csrutil disable | |
csrutil enable |
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 | |
#~/dev/751check.sh | |
#thread 2 (wait loop) (as sudo) | |
echo checking for clam 751 bug.. | |
nohup $HOME/dev/751finder.sh >> ${HOME}/.clam/751debug.log & | |
rm /tmp/kill751 | |
while true; do | |
if [[ $(find /tmp/test751 -type f -size +128c 2>/dev/null) ]]; then | |
sudo /etc/init.d/clamd stop |
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 | |
# first install noip2: https://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client/ | |
# then, run this as root (su) | |
wget https://gist.githubusercontent.com/NathanGiesbrecht/da6560f21e55178bcea7fdd9ca2e39b5/raw/b5594a39e908548f4319294553497d2db3053e0a/noip2.service | |
mv noip2.service /etc/systemd/system/ | |
sudo systemctl daemon-reload | |
sudo systemctl enable noip2 | |
sudo systemctl start noip2 |
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://www.youtube.com/playlist?list=PLn3ukorJv4vs_eSJUQPxBRaDS8PrVmIri | |
https://www.youtube.com/playlist?list=PLGKIkAXk1OeSRZ7_xhz_TvUgudrL8_yJt | |
https://www.youtube.com/playlist?list=PLaGRTLvEbVzybijtYZRy4EoGrx6Bq_xOG | |
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 | |
#curl -L https://gist.githubusercontent.com/daxxog/880439a0d6a943bae8d8b1c88af60cc4/raw/gitea-quick-sqlite.sh | sh | |
GITEA_RELEASE=1.11.4 | |
sudo apt install -y git | |
cd ~ | |
mkdir .gitea | |
cd .gitea | |
mkdir gitea-${GITEA_RELEASE} | |
cd gitea-${GITEA_RELEASE} |
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/sh | |
#curl -L https://tinyurl.com/dd-benchmark-sh | sh | |
echo "dd-benchmark.sh" > disk-benchmark.log.out | |
echo $(date) >> disk-benchmark.log.out | |
echo "-----------------------------" >> disk-benchmark.log.out | |
echo >> disk-benchmark.log.out | |
echo "-----Testing write speed-----" >> disk-benchmark.log.out | |
dd if=/dev/zero bs=1024k of=tstfile count=1024 2>> disk-benchmark.log.out |
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 | |
nvram 8be4df61-93ca-11d2-aa0d-00e098032b8c:epid_provisioned=%01%00%00%00 |