Skip to content

Instantly share code, notes, and snippets.

View SanyaNya's full-sized avatar

SanyaNya

  • 00:21 (UTC +03:00)
View GitHub Profile
@SanyaNya
SanyaNya / WindowsContainersGuide.md
Created June 13, 2024 08:21
Windows containers guide with cmd
@isomorphisms
isomorphisms / gist:3114ab86960656a729a6b4653001aae2
Created November 27, 2019 06:08
how to pull from docker hub using podman/buildah
On void linux.
Under `/etc/containers/` there is a file called `registries.conf`. It is complemented by `man 5 containers-registries.conf`.
Change (for me lines 11-12) which say
[registries.search]
registries = []
@palopezv
palopezv / dwm_config_pulseaudio.h
Last active January 23, 2026 00:46 — forked from neuro-sys/dwmconfig.h
dwm volume control with hardware multimedia keys (pipewire, pulseaudio, amixer and light as an extra)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development packages installed, X11proto in particular, but
here is the location of the keysyms header upstream copy if you can't bother
using the contents of your own hard drive. ;-P
#!/bin/bash
WIDTH=1280
HEIGHT=800
setterm -cursor off
mplayer -vo fbdev2 -quiet -zoom -screenw ${WIDTH} -screenh ${HEIGHT} -vf scale=${WIDTH}:-2 -sws 0 -fs ${@}
setterm -cursor on -clear