Skip to content

Instantly share code, notes, and snippets.

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win11-uefi</name>
<uuid>d31755f3-f103-4545-a772-d4c5bd75efe1</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/11"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>12582912</memory>
<currentMemory unit='KiB'>12582912</currentMemory>
@infokiller
infokiller / delta-repro-824
Last active December 9, 2021 14:36
delta issue #824 reproduction
#!/usr/bin/env bash
# See https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
set -o errexit -o errtrace -o nounset -o pipefail
build_oci_img () {
docker build "$@" - <<'EOF'
FROM archlinux
RUN pacman -Sy > /dev/null
RUN pacman -S --noconfirm --needed coreutils curl gcc bc git > /dev/null
@infokiller
infokiller / gist:b730abb0b20b785b3324851b85e65103
Created May 5, 2019 10:53
2019.04.26 pytype installation failure logs
❯ pip install pytype
Collecting pytype
Using cached https://files.pythonhosted.org/packages/51/f9/0b9be14e4d88d34d46df68cc4541fb6520d85aaa59e7ca401f7a4ac1fb6e/pytype-2019.4.26.tar.gz
Collecting importlab>=0.5 (from pytype)
Collecting ninja (from pytype)
Downloading https://files.pythonhosted.org/packages/b9/c2/5ab1027c689be7419edee7145b9160438c4ce35bfd8662240e0f9ecbf2a8/ninja-1.9.0-cp36-cp36m-manylinux1_x86_64.whl (98kB)
|████████████████████████████████| 102kB 587kB/s
Collecting pyyaml>=3.11 (from pytype)
Downloading https://files.pythonhosted.org/packages/9f/2c/9417b5c774792634834e730932745bc09a7d36754ca00acf1ccd1ac2594d/PyYAML-5.1.tar.gz (274kB)
|████████████████████████████████| 276kB 1.7MB/s
@infokiller
infokiller / gist:2eb870b8c8dd9b56f7560a69406628be
Created December 1, 2018 11:23
Output of `dbus-monitor path=/org/freedesktop/Notifications` with kdeconnect call notification
signal time=1543662621.560100 sender=org.freedesktop.DBus -> destination=:1.1192 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.1192"
signal time=1543662621.560122 sender=org.freedesktop.DBus -> destination=:1.1192 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.1192"
method call time=1543662633.610313 sender=:1.228 -> destination=org.freedesktop.Notifications serial=4984 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "KDE Connect"
uint32 0
string "kdeconnect"
string "My Phone"
string "Incoming call from Contact"
@infokiller
infokiller / dunst_kdeconnect_print.txt
Created December 1, 2018 11:21
Output of `dunst -print` with kdeconnect call notification
{
appname: 'KDE Connect'
summary: 'My Phone'
body: 'Incoming call from Contact'
icon: 'kdeconnect'
raw_icon set: true
category:
timeout: 10000
urgency: NORMAL
transient: 1
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
! Enabled modi
rofi.modi: window,run
! Window opacity
rofi.opacity: 100
! Window width
rofi.width: 50
! Number of lines
rofi.lines: 15
! Number of columns
rofi.columns: 1
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
@infokiller
infokiller / cVimrc
Last active November 18, 2018 02:46 — forked from dylan-conlin/cVimrc
let searchalias s = "stackoverflow"
let searchalias g = "google"
" show the heads-up-display
set hud
" use regexp in find mode
set regexp
" ignore search case in find mode