Skip to content

Instantly share code, notes, and snippets.

View Bortus-AI's full-sized avatar
💭
Plugging away

Bortus-AI

💭
Plugging away
View GitHub Profile
#For Build a KASM Workspace
#GET SUDO ACCESSS
sudo -i
#SWAP AREA CRETING
sudo dd if=/dev/zero bs=1M count=5024 of=/mnt/swapfile.swap
sudo chmod 600 /mnt/swapfile.swap
sudo mkswap /mnt/swapfile.swap
sudo swapon /mnt/swapfile.swap
@Bortus-AI
Bortus-AI / ssh-copy-id.sh
Created January 12, 2023 18:04 — forked from netoxico/ssh-copy-id.sh
Shell script to install your public key on a remote machine
#!/bin/sh
# Shell script to install your public key on a remote machine
# Takes the remote machine name as an argument.
# Obviously, the remote machine must accept password authentication,
# or one of the other keys in your ssh-agent, for this to work.
ID_FILE="${HOME}/.ssh/id_rsa.pub"
if [ "-i" = "$1" ]; then
@Bortus-AI
Bortus-AI / jellyfin-app-installation.sh
Last active May 30, 2022 14:01
PM Jellyfin App install script
#!/bin/bash
mkdir -p $HOME/.config/jellyfin
## To update uncomment following line
#rm -rf $HOME/.bin
## change version number to update JELLYFIN
JELLYFIN_VERSION="10.7.7"
## to update ASPDOTNET find new url at https://dotnet.microsoft.com/en-us/download/dotnet/5.0