Skip to content

Instantly share code, notes, and snippets.

View BearTS's full-sized avatar
🫶
Self hosting

Anuj Parihar BearTS

🫶
Self hosting
View GitHub Profile
@BearTS
BearTS / instructions.md
Created July 2, 2024 00:00 — forked from bubba-h57/instructions.md
Configuring Jetbrains Gateway and WSL

Step 1: SSH Daemon

In your WSL instance, re-install OpenSSH server as follows.

sudo apt remove --purge openssh-server
sudo apt install openssh-server

Edit /etc/ssh/sshd_config (e.g. sudo vi /etc/ssh/sshd_config) and add the following lines to the bottom of the file. Ensure you replace WSL_ACCOUNT_NAME with your WSL2 account name.

@BearTS
BearTS / docker-compose.yml
Created May 8, 2024 22:15
Docker arr setup
version: "3.4"
services:
nordlynx:
image: ghcr.io/bubuntux/nordlynx
container_name: nordlynx
cap_add:
- NET_ADMIN
- SYS_MODULE # maybe; May resolve curl ipv6 issue where host cannot resolve
environment:
- PRIVATE_KEY= #my private key
@BearTS
BearTS / rgb.reg
Created April 19, 2022 14:16
Acer NitroSense Enable RGB on 4 Zone Keyboard
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\NitroSense]
"Manufacturer_Name"="Acer"
"Product_Name"="NitroSense Service"
"Acer"=dword:00000001
"Platform"=dword:00000000
"Model_Name_1st"="nitro an515-45"
"Model_Name_2nd"="scala_cas"
"First_Launch"=dword:00000000
PERSONAL_TOKEN="Token"
OWNER="bearts"
REPO="repo"
FILE_NAME="image.tar"
API="https://$PERSONAL_TOKEN:@api.github.com/repos/$OWNER/$REPO"
ASSET_ID=$(curl $API/releases/latest | jq -r '.assets[0].id')
echo "Asset ID: $ASSET_ID"
rm -f $FILE_NAME
curl -O -J -L -H "Accept: application/octet-stream" "$API/releases/assets/$ASSET_ID"