User:Clintmoyer

From ArchWiki
Jump to: navigation, search


Contact

contact@clintmoyer.com

Arch Wiki Contributions

https://wiki.archlinux.org/index.php?title=Special%3AContributions&target=Clintmoyer&namespace=0

Links

PGP

My PGP key https://pgp.mit.edu/pks/lookup?op=get&search=0xB8DC608AF30301C5

$ gpg --keyserver pgp.mit.edu --recv-key B1F1CF07FAC17664966FF79BB8DC608AF30301C5

$ gpg --export --armor B1F1CF07FAC17664966FF79BB8DC608AF30301C5
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFu9wRgBCACVuG+zjl8SUgPK9hPNaQqhMOifgxljtrTjGJaJ3vGztyKLpxqL
OPtiTItIDXzxWGCQNH5No8JWeFVF38BSrdoGZFCjxc1oIm7h9LmmvFyinDT8YlB1
twVr7agsA41mzqad2xYxmlzWJHAXcBuir92KOGij46FUm/rvZDnPv1lDYzFA5fUE
aCdl++jxk2eii8KtbzRt+rd+t16KAfKnFdrpqHSQuGItt17BLDDzuYlTmCfejDma
JieK5NPn1YItOBIVSvAVGE4bZ2mIw+QYx8wfcjP6RrjTQYF+7d1s41dgUAU48O5V
n/McCvr+WM6k4Zaljva/V0xrYowqXv5L8rVpABEBAAG0JENsaW50IE1veWVyIDxj
b250YWN0QGNsaW50bW95ZXIuY29tPokBVAQTAQgAPhYhBLHxzwf6wXZklm/3m7jc
YIrzAwHFBQJbvcEYAhsDBQkB4TOABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJ
ELjcYIrzAwHFqtEH/RhKMsrYEfuBjgHiLCt4/xBZTk/mc4P01aiJfh4ziurQPgiP
f8BRXkzQi/1xfbwJE/Itr+BwCdlm4a+EQQlZVUBmwFSqDObaN9H8Ppsdpne1tSPI
QF/oPlrc35OaJjCngEfyoixlKu4rPBbP9+5nwAQDnDkao3TYFGqnE3dztuPteoCQ
yzVxpin7H2JMYfvoqqoE7IBcespFbAZ4x9k+ceLZSnc2YkFBv1uqDvXmdRK0pZgU
0nZOkDd3C4Aype/LazNxQhwq5Jc/+llaQNUPTLubmquEl3JVJsODwnTTr2hHXNCZ
Gr7LEDkWHKnn2Q25msgqgCzm22b55XCZgUzvQsi5AQ0EW73BGAEIAMLxr6upp/Vp
J1/lrI1UapQ1Uamjz6WuxmRKLKMfFZ01s45m0IDfNQ1YS6hHL0JFvTT//UTAj4i5
KUsy8lACcO/RifMmNv2hogc1WLQwEFVM7F7dzHsOzhOYGlSppbwoDlWQERmJkZ2W
XCxdJRcI6cMmOxB4Oo45B2DWX8ZL4sxX4KqZySSkZGyK/+jrSkB4DPYLOvWlCiwX
+q73CdYMCbFsIGu8ygf+JPO4tt4sVwrQoYZXk9J8ohXJfCxGWsT5+GbMRgmW60oo
tmZBob5ABsnOUy52RosgDuciPB9eK2i5YNZLgk3eKoTN+RqSFeXSec+VD4JF8wTS
HB+KKkcR780AEQEAAYkBPAQYAQgAJhYhBLHxzwf6wXZklm/3m7jcYIrzAwHFBQJb
vcEYAhsMBQkB4TOAAAoJELjcYIrzAwHFnFMH/R1dIQz2xnv5BsJ7u7zPPGk2J1IP
owCyl/TTYtKiGKa71TSe1TRto/evUqafs3T76ErUkidln5j6TEDprEuActUg2Iuo
f09ECuA+cbg0t54cC1SYUhInOqfDeUvNrlzoz2gGgEq95xdSxVm9lhsNvAXQBsT7
NB6BFGxcgtWCrOdxEuHAXqIf2y2+odqYIpAWIe6MqoLeuwewql805ms+FIvWCfm/
cz3txc8ZinVdv0YOPcaUTE6v8qf9KDFNwqXcJX+ze+9hDemL6YMYbPBqYwqTTKlh
8PQKJXZZlLhUKmsQIDnI59skRUIrXD62Fsq72U6Z9P2IEA8U9WKGfLEruQM=
=j+Qw
-----END PGP PUBLIC KEY BLOCK-----

Random

Games

List of my favorite open source games.

Favorite Commands

Remove orphan packages.

# pacman -Rns $(pacman -Qtdq)

Pacman changelogs.

$ pacolog <pkgname>

Install packages from a list, skipping AUR packages.

# pacman -S --needed $(comm -12 <(pacman -Slq | sort) <(sort pkglist.txt))

Do the reverse, and remove any packages not in list.

# pacman -Rsu $(comm -23 <(pacman -Qq | sort) <(sort pkglist.txt))

Instant web server.

$ python -m http.server

Wise cow.

$ fortune | cowsay
 _____________________________________ 
/ I'm not even going to               \
| *bother* comparing C to |
| BASIC or FORTRAN.                   |
|                                     |
\ -- L. Zolman, creator of BDS C      /
 ------------------------------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Insert a space on each line for MediaWiki code formatting. From clipboard. Assumes PRIMARY and CLIPBOARD are synchronized.

$ xclip -o | sed 's/.*/ \0/' | xclip

Sometimes when jq just doesn't cut it.

$ curl https://somewebsite.io/api/json | python -m json.tool

Kernel stuff

# Kernel Release
# (e.g. 4.18.12-arch1-1-ARCH)
uname -r

# Kernel Version
# (e.g. #83~14.04.1-Ubuntu SMP Wed Jan 18 18:10:26 UTC 2017)
uname -v

# Network Node Hostname
uname -n

# Machine Hardware Name
# (e.g. x86_64)
uname -m

Remove newlines and spaces from files and folders in the directory

rename 's/[[[:space:]]\r\n]//g' *

Programs

$ pacman -Qqe
abook
android-tools
archey3
ardour
asciidoc
autoconf
autocutsel
automake
aws-cli
bash
bash-bats
beets
blender
bzip2
calcurse
castnow-git
celestia
chocolate-doom
cmatrix
cmus
coreutils
cowsay
cryptsetup
device-mapper
dhcpcd
dialog
diffutils
dmenu
dmidecode
dnsmasq
docker-machine-driver-kvm2
dstat
e2fsprogs
ebtables
elinks
extra-cmake-modules
fakeroot
fbida
fcron
feh
figlet
file
filesystem
findutils
firefox
flex
fortune-mod
freecad
frei0r-plugins
gawk
gcc
gimp
git
glances
glibc
gnu-netcat
go
gpodder
grep
gwenview
gzip
htop
hwinfo
i3-gaps
i3blocks
i3lock
i3status
imagemagick
inetutils
inkscape
iotop
iproute2
iputils
ipython
jfsutils
jq
kdenlive
keepassx2
kipi-plugins
korganizer
kstars
kubectl
less
libreoffice-fresh
libvirt
licenses
linux
logrotate
lvm2
m4
make
man-db
man-pages
mdadm
mercurial
minikube
mlocate
mpv
mycroft-core
mypaint
nano
ncdu
neomutt
netctl
nodejs-nativefier
nodm
openssh
openvpn
pacman
patch
pavucontrol
pelican
perl
perl-rename
pulseaudio
pwgen
pygmentize
python-markdown
qemu
qgis
qt5ct
ranger
recordmydesktop
rmlint
rsync
rtorrent
ruby
sc
screenfetch
scrot
sed
shadow
signal
simplescreenrecorder
socat
stellarium
subversion
sudo
sysfsutils
sysstat
tar
terraform
tesseract
texinfo
texlive-core
tor
tor-browser
trizen
tty-clock
ufw
unzip
urlwatch
usbutils
util-linux
utox
vi
vim
vim-airline
vim-ctrlp
vim-nerdcommenter
vim-surround
vim-syntastic
vim-tagbar
virt-manager
w3m
weechat
wget
whatsapp-web-desktop
which
wpa_supplicant
xclip
xcompmgr
xdg-user-dirs
xorg-server
xterm
youtube-dl
youtube-viewer