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 | |
apt install -y git mosh mg screen | |
git clone https://github.com/insanity54/dotfiles | |
cp ./dotfiles/.screenrc . | |
curl https://getcroc.schollz.com | bash | |
ufw allow 60000:61000/udp |
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
note to self: see fp monorepo packages/opentofu for up-to-date init |
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 { add } from "npm:date-fns"; | |
/** | |
* references | |
* - https://write.corbpie.com/how-to-do-token-authentication-urls-with-bunnycdn/ | |
* - https://git.sr.ht/~jamesponddotco/bunnysign | |
* - https://bunny.net/blog/were-bringing-token-authentication-to-the-next-level/ | |
* | |
*/ |
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 | |
# install deps | |
apt update -y | |
apt upgrade -y | |
apt install -y ufw openssh-client git python3 python3-pip python-is-python3 mosh mg screen | |
# screen config | |
git clone https://github.com/insanity54/dotfiles | |
cp ./dotfiles/.screenrc . |
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
network.scgi.open_local = /data/scgi.socket | |
encoding.add = UTF-8 | |
network.port_range.set = 55000-55000 | |
network.port_random.set = no | |
pieces.hash.on_completion.set = no | |
directory.default.set = /data/torrents | |
session.path.set = /data/.session | |
protocol.encryption.set = allow_incoming, try_outgoing, enable_retry | |
trackers.use_udp.set = no | |
dht.mode.set = off |
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 | |
# designed for Ubuntu 18.04 | |
# greetz https://docs.lotu.sh/en+install-lotus-ubuntu | |
sudo apt update | |
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev | |
sudo add-apt-repository ppa:longsleep/golang-backports | |
sudo apt update | |
sudo apt install golang-go gcc git bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev |
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 | |
bindir="$(dirname "$(readlink -fm "$0")")" | |
cd "${bindir}" |
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 Robinhooder | |
// @namespace https://robinhood.com/ | |
// @version 0.1 | |
// @description Enhance Robinhood by showing existence/non-existence of open orders in the dashboard | |
// @author Chris Grimmett <[email protected]> | |
// @match https://robinhood.com/* | |
// @grant none | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
// @run-at document-idle |
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
# PC | |
## Good | |
https://www.newegg.com/Product/Product.aspx?item=9SIAHT38MD7290 | |
https://www.newegg.com/Product/Product.aspx?Item=N82E16883102507 | |
## Better | |
https://www.amazon.com/CYBERPOWERPC-Xtreme-GXiVR8060A5-i5-8400-GeForce/dp/B0757DVF4Z/ |
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
# install choco | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install -y steamcmd python vcbuildtools | |
# install magic-wormhole for admin purposes | |
python -m pip install --upgrade pip | |
pip install --user incremental magic-wormhole | |
NewerOlder