Skip to content

Instantly share code, notes, and snippets.

@RPTST
RPTST / SysMonTask.txt
Last active October 7, 2021 05:07
SysMonTask is the most windows like task manager you can get.
# Installation
// For Ubuntu=>20.04
sudo add-apt-repository ppa:camel-neeraj/sysmontask
sudo apt install sysmontask
// Install psutil if Ubuntu<=20.04, other-wise skip this step(more info given below) :
sudo pip3 install -U psutil
@RPTST
RPTST / mac-simple.txt
Last active October 7, 2021 05:57
How to run the VM
# Install
// Pre-reqs
sudo apt-get install qemu-system qemu-utils python3 python3-pip // for Ubuntu 19.04+, Debian, Mint, and Pop!_OS 19.04+.
// Clone the repo
mkdir ~/projects/
cd ~/projects/
git clone https://github.com/foxlet/macOS-Simple-KVM.git
@RPTST
RPTST / Go-lang-install.txt
Created October 11, 2021 00:53
Swbian Go lang install
mkdir ~/projects
cd ~/projects
curl -O https://dl.google.com/go/go1.17.2.linux-amd64.tar.gz
tar xvf go1.12.7.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
@RPTST
RPTST / Install-nvm_node_yarn.txt
Last active October 11, 2021 02:51
Installing nvm node yarn on debian and ubuntu to add bots to discord and twitch
# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
# Install Node
nvm install v12.16.1
nvm install v14.18.0
nvm install v12.22.6
# Install Yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
@RPTST
RPTST / keep_alive.py
Created October 11, 2021 03:48 — forked from beaucarnes/keep_alive.py
Python Server for Discord Bot
from flask import Flask
from threading import Thread
app = Flask('')
@app.route('/')
def home():
return "Hello. I am alive!"
def run():
@RPTST
RPTST / docker-install-ubuntu
Last active October 12, 2021 00:31
docker install ubuntu
# Update your system
sudo apt update && sudo apt upgrade -y
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
# Install Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
@RPTST
RPTST / LANCache
Last active October 12, 2021 15:41
LANCache and DNS fix
# Installing
# LanCache shell script
#!bin/bash
export HOST_IP=`hostname -I | cut -d' ' -f1`
docker run --restart unless-stopped --name lancache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP lancachenet/lancache-dns:latest
docker run --restart unless-stopped --name lancache --detach -v /cache/data:/data/cache -v /cache/logs:/data/logs -p 80:80 -p 443:443 lancachenet/monolithic:latest
echo Please configure your router/dhcp server to serve dns as $HOST_IP
or
@RPTST
RPTST / debian-with-E16
Last active October 12, 2021 19:06
debian-with-E16
# Install media
https://cdimage.debian.org/cdimage/archive/10.11.0/arm64/iso-cd/debian-10.11.0-arm64-netinst.iso
https://cdimage.debian.org/cdimage/archive/10.11.0/amd64/iso-cd/debian-10.11.0-amd64-netinst.iso
# Updateing your system
sudo apt update && sudo apt upgrade -y
# Install needed Utils