Skip to content

Instantly share code, notes, and snippets.

#copies the piped input onto the clipboard
alias copy="xclip -selection c"
#pastes the clipboards contents into the terminal
alias paste="xclip -selection clipboard -o"
@pathologicalhandwaving
pathologicalhandwaving / ubuntu-release-upgrade.txt
Last active January 4, 2022 01:12
Ubuntu Upgrade Distro Release
Root
To Change from LTS to NORMAL edit
/etc/update-manager/release-upgrades
change
Prompt=lts
to:
Prompt=normal
reset terminal
sudo do-release-upgrade
@pathologicalhandwaving
pathologicalhandwaving / searchers.md
Created November 27, 2021 18:18
Search Strings Collection

Common NMap Commands

Check nmap version

nmap --version

If nmap is not installed:

sudo apt install nmap

Scan IPs

@pathologicalhandwaving
pathologicalhandwaving / thing.scad
Last active November 23, 2021 15:09
OpenScad Thing
// Resolution
$fa = 1;
$fs = 0.4;
// Cube
//cube(size=10);
// Cube centered at origin
//cube(size=20,center=true);
// Rectangular Cuboid
@pathologicalhandwaving
pathologicalhandwaving / arch-install-part6.org
Last active November 23, 2021 15:11
Arch Linux MacBook Install -- Part VI -- Development Environments

Arch Linux Install (Part VI)

LaTeX

sudo yay -S texlive-installer
sudo /opt/texlive-installer/install-tl
@pathologicalhandwaving
pathologicalhandwaving / arch-install-part4.org
Last active October 8, 2019 02:22
Arch Linux Install -- Part IV -- Emacs

Arch Install (Part IV)

Emacs Setup

Emacs itself was installed during the archiso OS process as the default text editor.

  • Current Version: 26.3
@pathologicalhandwaving
pathologicalhandwaving / arch-install-part3.org
Last active October 8, 2019 05:02
Arch Linux install on MacBook Pro -- Part III -- Applications

Arch Install (Part III)

Increase FS-Watchers

sudo echo 'fs.inotify.max_user_watches = 1048576' >> /usr/lib/sysctl.d/50-default.conf

Arch Install (Part II)

Start Ethernet Connection

su
dhcpcd
dhcpcd #Run again if first run failed 
ip link #check ethernet interface status
@pathologicalhandwaving
pathologicalhandwaving / arch-install-part1.org
Last active October 7, 2019 16:21
Arch Linux Install -- Part I -- OS

Arch Linux Basic Install

Device Meta