Skip to content

Instantly share code, notes, and snippets.

View pathologicalhandwaving's full-sized avatar

UnMary pathologicalhandwaving

View GitHub Profile
@pathologicalhandwaving
pathologicalhandwaving / Special Characters.py
Last active March 16, 2025 21:50
Mod Pythonista3 Special Characters.py, so I dont have to push the number pad on mobile to access them anymore
#!python3
'''
NOTE: Modified for all the characters i hate using the number pad to get to.
This shows a scrolling row or grid of special characters in the Pythonista Keyboard. The view supports both the 'minimized' mode (above the QWERTY keyboard) and the 'expanded' mode with the grid filling most of the keyboard.
Note: This script is designed for the Pythonista Keyboard. You can enable it in the Settings app (under General > Keyboard > Keyboards > Add New Keyboard...). Please check the documentation for more information.
'''

Keybase proof

I hereby claim:

  • I am pathologicalhandwaving on github.
  • I am unmary (https://keybase.io/unmary) on keybase.
  • I have a public key ASCAS_jVdYyaQguFgXtW13Q8jnNn-D3R0BzcbHtDQtCaJwo

To claim this, I am signing this object:

@pathologicalhandwaving
pathologicalhandwaving / chgext.sh
Created February 20, 2025 09:59 — forked from ttscoff/chgext.sh
One-line Bash command to change the extensions of all files in a directory
# batch change extension
chgext() {
for file in *.$1 ; do mv $file `echo $file | sed "s/\(.*\.\)$1/\1$2/"` ; done
}
#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 February 20, 2025 09:28
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