An open API service indexing awesome lists of open source software.

https://github.com/andrewferrier/dotfiles

My dotfiles
https://github.com/andrewferrier/dotfiles

Last synced: 24 days ago
JSON representation

My dotfiles

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 word

getent 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 dump

badblocks -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/device

btrfs duperemove --hashfile=/tmp/x.hash -r -d /target | de-duplicate
btrfs scrub /target | check checksums

speaker-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 -
```