Skip to content

Instantly share code, notes, and snippets.

#
## After initial setup
#
$ sudo apt update
$ sudo apt upgrade -y
$ sudo apt-get dist-upgrade -y
$ sudo apt install mosh neofetch git vlc nixnote2 guake mypaint qmmp synaptic p7zip-full rar snapd cheese steamlink ntfs-3g openssh openssh-server ffmpeg ettercap-graphical yersinia -y
$ sudo snap install core
$ sudo snap install snap store
$ snap-store
sudo apt update && sudo apt upgade
sudo apt install mosh neofetch git nixnote2 guake mypaint qmmp synaptic p7zip-full cheese ntfs-3g openssh-server ffmpeg ettercap-graphical yersinia -y
sudo apt install chromium progress gedit nano
sudo apt install
# Fold@home Manual installation
wget https://download.foldingathome.org/releases/public/release/fahclient/debian-testing-64bit/v7.4/fahclient_7.4.4_amd64.deb
wget https://download.foldingathome.org/releases/public/release/fahcontrol/debian-testing-64bit/v7.4/fahcontrol_7.4.4-1_all.deb
wget https://download.foldingathome.org/releases/public/release/fahviewer/debian-testing-64bit/v7.4/fahviewer_7.4.4_amd64.deb
sudo dpkg -i --force-depends fahclient_7.4.4_amd64.deb
@RPTST
RPTST / install-raspbx
Last active September 10, 2020 23:21
# Download ISO
http://www.raspberry-asterisk.org/downloads/
# Download, install and run Raspberry Pi Imager.
https://www.raspberrypi.org/downloads/
# Write an empty text file named "ssh" (no file extension) to the root of the directory of the card. When it sees the "ssh" on its first boot-up, Raspberry Pi OS will automatically enable SSH (Secure Socket Shell), which will allow you to remotely access the Pi command line from your PC.
# To setup a Wi-Fi connection on your headless Raspberry Pi, create a text file called wpa_supplicant.conf, and place it in the root directory of the microSD card. You will need the following text in the file.
country=US
sudo apt update && sudo apt upgrade
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
sudo apt install build-essential libssl-dev libffi-dev python3-dev xclip xsel python3.6 python-pip3 cython3 -y
sudo apt install libsdl2-dev libsdl2-2.0-0 -y
sudo apt install libmikmod-dev libfishsound1-dev libsmpeg-dev liboggz2-dev libflac-dev libfluidsynth-dev libsdl2-mixer-dev libsdl2-mixer-2.0-0 -y
sudo apt install ffmpeg libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev libpostproc-dev libsdl2-dev libsdl2-2.0-0 libsdl2-mixer-2.0-0 libsdl2-mixer-dev python3-dev
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y
sudo apt install libfreetype6-dev libsdl2-ttf-dev libsdl2-ttf-2.0-0 -y
sudo apt-get install python3-pip build-essential git python3 python3-dev ffmpeg libsdl2-dev libsdl2-image-dev\
libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev l
@RPTST
RPTST / guide.md
Created February 17, 2021 07:51 — forked from tkon99/guide.md
Use Mosh on Windows from the Command Prompt

Hi all. After wanting true color support in Mosh (to use Brow.sh), I also wanted to integrate it more tightly with Windows. Since I reckon more people will be wanting to accomplish this, here is a guide.

  1. Install Linux Subsystem for Windows if you haven't already (https://docs.microsoft.com/en-us/windows/wsl/install-win10) (I use Ubuntu)
  2. Make sure you can execute bash from a CMD prompt.
  3. Go into the bash environment by executing bash ~ in CMD prompt
  4. Install Mosh-dev (for up-to-date version) from https://launchpad.net/~keithw/+archive/ubuntu/mosh-dev by doing sudo add-apt-repository ppa:keithw/mosh-dev then sudo apt-get update
  5. Create a new mosh.bat file on your Desktop with the following contents
@echo off
@RPTST
RPTST / netplan2NM.sh
Created February 28, 2021 03:22 — forked from dbkinghorn/netplan2NM.sh
Change Ubuntu 20.04 server netplan to use NetworkManager instead of networkd
#!/usr/bin/env bash
# netplan2NM.sh
# Ubuntu server 20.04 Change from netplan to NetworkManager for all interfaces
echo 'Changing netplan to NetowrkManager on all interfaces'
# backup existing yaml file
cd /etc/netplan
cp 01-netcfg.yaml 01-netcfg.yaml.BAK
@RPTST
RPTST / proxmox6-debian-playbook.yml
Created March 1, 2021 00:23 — forked from islander/proxmox6-debian-playbook.yml
Convert Debian 10 to Proxmox Virtual Environment 6. Ansible playbook.
---
- name: Add proxmox gpg key
apt_key:
url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg
state: present
- name: Add proxmox repository
lineinfile:
path: /etc/apt/sources.list
line: deb http://download.proxmox.com/debian/pve buster pve-no-subscription
@RPTST
RPTST / Install NVIDIA Driver and CUDA.md
Created March 2, 2021 12:48 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
@RPTST
RPTST / macbuntu-transformer.sh
Created March 10, 2021 17:24 — forked from YoshiTheChinchilla/macbuntu-transformer.sh
Tranforming Ubuntu 18.04(LTS) to MacBuntu Shell Script
#!/bin/bash
# Transform Ubuntu 18.04 or Linux Mint 19 to MacBuntu
# https://www.noobslab.com/2018/08/macbuntu-1804-transformation-pack-ready.html
# If you want to change another version Ubuntu or Linux Mint?
# Search MacBuntu for your version on https://www.noobslab.com/search?q=MacBuntu
# Setup workspace
WORKSPACE=~/Desktop/macbuntu
@RPTST
RPTST / dual_boot.txt
Last active March 31, 2022 22:29
How to dual boot Pop_OS with Windows
PSA: How to dual boot Pop_OS with Windows with a menu to select from, when you install Pop after Windows in the same drive.
An updated and more complete guide is now found here
Disclaimer: You do this at your own risk.
What you want to achieve:
Install Pop!_OS after Windows on the same drive. You want a menu to pop up after POST so that you can select Pop or Windows.
What is happening: