You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
.config | 1 year ago | |
.emacs.d | 1 year ago | |
.i3 | 6 years ago | |
.nano/syntax | 7 years ago | |
ansible | 1 year ago | |
images | 6 years ago | |
scripts | 2 years ago | |
.Xresources | 3 years ago | |
.aliases | 3 years ago | |
.bashrc | 2 years ago | |
.environment | 3 years ago | |
.gbp.conf | 7 years ago | |
.gitconfig | 2 years ago | |
.gitignore | 1 year ago | |
.gitignore_global | 1 year ago | |
.nanorc | 3 years ago | |
.xbindkeysrc | 5 years ago | |
Debian-Packaging.md | 7 years ago | |
Links.md | 6 years ago | |
README.md | 2 years ago | |
debian-devel.Dockerfile | 7 years ago | |
restic-backup-conf.sh | 2 years ago | |
shell-mockup.txt | 7 years ago |
README.md
Dotfiles
Setup with Ansible
The dotfiles, configuration, packages and services can be (partially) deployed with Ansible.
See the ansible/README.md
for details.
Hotkeys
- Super+`: Hide last notification (mako)
- Super+~: Show last notification (mako)
- Super+Pause: Open system control menu (poweroff, reboot, sleep etc.)
- Super+d: Open application launcher
- Super+q: Close application
- Super+Shift+Q: Kill application
HTTP Server
Create a simple HTTP server in the current directory with python:
# python3 -m http.server
Debian
Show all packages from 'contrib' and 'non-free'
dpkg-query -W --showformat='${Package}\t${Section}\n' |grep -e non-free -e contrib
tar
Because I can never remember how to do this:
$ tar -czvf [OUTPUT.tar.gz] [ITEMS...]
$ tar -czvf - [ITEMS...] | pigz --best > [OUTPUT.tgz] # multi-threaded
ffmpeg: Create Slideshow from Images
see https://trac.ffmpeg.org/wiki/Slideshow
MP4:
cat *.JPG | ffmpeg -framerate 24 -f image2pipe -i - -c:v libx264 -pix_fmt yuv420p out.mp4
WebM:
cat *.JPG | ffmpeg -framerate 24 -f image2pipe -i - -vf scale=1920:-1 -c:v libvpx-vp9 -crf 30 -b:v 0 -pix_fmt yuv420p out.webm
Default Applications
Set default web-browser in Debian:
$ update-alternatives --config x-www-browser