Remove dangling
images:
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Remove all stopped docker containers:
" Python formatting | |
au BufNewFile, BufRead *.py | |
\ set tabstop=4 | | |
\ set softtabstop=4 | | |
\ set shiftwidth=4 | | |
\ set textwidth=79 | | |
\ set expandtab | | |
\ set autoindent | | |
\ set fileformat=unix |
#!/bin/bash | |
WARNING='\033[5m\033[1mWARNING\033[0m' | |
sudo apt update -qq | |
sudo apt install -qq -y gnupg2 gnupg-agent dirmngr cryptsetup scdaemon pcscd secure-delete hopenpgp-tools yubikey-personalization | |
ENTROPY=$(cat /proc/sys/kernel/random/entropy_avail) | |
if [ $ENTROPY -lt 2000 ]; then |
FROM debian:stable-slim | |
RUN apt-get update -qq && apt-get install -y --no-install-recommends \ | |
vim \ | |
gnupg && \ | |
rm -rf /var/lib/apt/lists/* |
arm_freq=1000 | |
sdram_freq=500 | |
core_freq=500 | |
over_voltage=6 | |
temp_limit=75 | |
boot_delay=0 | |
disable_splash=1 | |
gpu_mem=256 |
gpu_mem=256 | |
force_turbo=1 #Voids warranty! | |
arm_freq=1000 | |
sdram_freq=500 | |
core_freq=500 | |
over_voltage=6 | |
temp_limit=75 #Will throttle to default clock speed if hit. | |
boot_delay=0 | |
disable_splash=1 |
arm_freq=1350 | |
core_freq=500 | |
over_voltage=4 | |
disable_splash=1 | |
#force_turbo=1 #Voids Warranty! (uncomment to avoid CPU scaling down to 600Mhz) | |
#boot_delay=1 #helps to avoid sdcard corruption when force_turbo is enabled. | |
#sdram_freq=500 #uncomment to test. Works only with some boards. |
# Pulse Audio controls | |
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume | |
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume | |
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound | |
# Media player controls | |
bindsym XF86AudioPlay exec playerctl play-pause | |
bindsym XF86AudioNext exec playerctl next | |
bindsym XF86AudioPrev exec playerctl previous |