https://github.com/andrewferrier/dotfiles
My dotfiles
https://github.com/andrewferrier/dotfiles
Last synced: 24 days ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/andrewferrier/dotfiles
- Owner: andrewferrier
- License: mit
- Created: 2022-05-06T13:47:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T16:50:47.000Z (about 1 month ago)
- Last Synced: 2025-04-26T11:53:56.965Z (27 days ago)
- Language: Lua
- Homepage:
- Size: 1.9 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotfiles - Master Cheatsheet
```text
awk |
bash/sh | ~/.config/bash.d/README.md
i3 | ~/.config/i3/config
kitty | ~/.config/kitty/kitty.conf
lf | ~/.config/lf/lfrc
mutt | ~/.mutt/muttrc.common
neovim | ~/.config/nvim/README.md
tmux | ~/.config/tmux/tmux.conf
zsh | ~/.config/zsh/README.md
```## MacOS
```text
caffeinate -i | prevent system from sleeping whilst command is running
Ctrl-1/2/3 | switch desktop
Cmd-Shift-. | toggle hidden file display in Finder
Option-Delete | delete previous word
```## Firefox
```text
Cmd-Opt-R | reader view
Vimium keys |
```## zathura (PDF viewer)
```text
a | zoom out to page
r | rotate
s | zoom to page width
```## feh (image viewer)
```text
/ | zoom out to show entire image
| zoom in
| zoom out
<, > | rotate
```## journalctl
```text
journalctl --since=yesterday | output from beginning of yesterday
journalctl --since=-1week | output from 1 week ago
journalctl CONTAINER_NAME="docker_container" | output from docker container
journalctl --user -u xyz.service | output from specific user service
```## Linux
```text
Ctrl-Backspace | delete previous wordgetent hosts | look up DNS name
hardlink | combine duplicate files using hardlinks
inotifywait -m -r ~/directory | watch a directory for changes
lshw -short -sanitize | Summarize hardware for selling
pdfunite | combine PDFs on comand line
xxd | Hex dumpbadblocks -b 8192 -wsv /dev/device | test device for bad blocks (DESTRUCTIVE!)
blkdiscard --secure -v -f /dev/device | Securely erase SSD
parted mkpart primary ext4 0% 100% | create a single partition
sdparm --clear=STANDBY --save -S /dev/device | disable SCSI drive from going to sleep
shred -vz /dev/devicebtrfs duperemove --hashfile=/tmp/x.hash -r -d /target | de-duplicate
btrfs scrub /target | check checksumsspeaker-test -c 2 -t wav | test speaker
Cheese | webcam test
PulseAudio mixer | mic test
```## Audio file manipulation
```text
eyeD3 --add-image "cover.jpg:FRONT_COVER" test.mp3 | add image to MP3
```## General Configuration Help
```text
* MacOS -
```