Skip to content

Instantly share code, notes, and snippets.

View bobby285271's full-sized avatar
πŸ’­
I may be slow to respond.

Bobby Rong bobby285271

πŸ’­
I may be slow to respond.
View GitHub Profile
these derivations will be built:
/nix/store/hdimjsq31c7yif7fydf1mwkkachbmrpf-libvirt-glib-4.0.0.drv
building '/nix/store/hdimjsq31c7yif7fydf1mwkkachbmrpf-libvirt-glib-4.0.0.drv'...
unpacking sources
unpacking source archive /nix/store/b2jsb17h2nahyh02a85kjijxwnx418zx-libvirt-glib-4.0.0.tar.xz
source root is libvirt-glib-4.0.0
setting SOURCE_DATE_EPOCH to timestamp 1613391784 of file libvirt-glib-4.0.0/libvirt-glib.spec
patching sources
configuring
meson flags: --buildtype=plain --libdir=/nix/store/p6lrvgfbz3ckn1284n6kagd31f5xzd97-libvirt-glib-4.0.0/lib --libexecdir=/nix/store/p6lrvgfbz3ckn1284n6kagd31f5xzd97-libvirt-glib-4.0.0/libexec --bindir=/nix/store/p6lrvgfbz3ckn1284n6kagd31f5xzd97-libvirt-glib-4.0.0/bin --sbindir=/nix/store/p6lrvgfbz3ckn1284n6kagd31f5xzd97-libvirt-glib-4.0.0/sbin --includedir=/nix/store/gn5nvdq0adyzxawn94vccjbvv2gj9ija-libvirt-glib-4.0.0-dev/include --mandir=/nix/store/p6lrvgfbz3ckn1284n6kagd31f5xzd97-libvirt-glib-4.0.0/share/man --infodir=/nix/store/p6
@bobby285271
bobby285271 / podman-qq-setup.sh
Last active February 23, 2022 04:35 — forked from karuboniru/podman qq setup
Podman QQ
podman run --name qq \
--device /dev/snd --net=host --ipc=host \ # remove net=host if you don't want this
--device=/dev/dri/card0:/dev/dri/card0 \
--device=/dev/dri/renderD128:/dev/dri/renderD128 \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-v ${XDG_RUNTIME_DIR}/pulse/native:/run/user/0/pulse/native \
-e PULSE_SERVER=unix:/run/user/0/pulse/native \
-v $HOME/containerhome:/root:Z \ # choose a path you like, same for following
-v $HOME/containerhome/TencentFiles:/TencentFiles:Z \
-v $HOME/ζ–‡ζ‘£/Fonts:/usr/share/fonts/Windows:Z \ # external fonts, any path in /usr/share/fonts will be fine
@bobby285271
bobby285271 / switchboard-plug-onlineaccounts-6-1-0.log
Last active August 1, 2021 09:17
nixpkgs#130380 - switchboard-plug-onlineaccounts-6.1.0 build log
these derivations will be built:
/nix/store/s3432mgph2sffiddp3kl1b6s75i56nbp-switchboard-plug-onlineaccounts-6.1.0.drv
/nix/store/x7pmzbbi9wlv1izj9anqgidkmdf1xlbw-switchboard-6.0.0-with-plugs.drv
building '/nix/store/s3432mgph2sffiddp3kl1b6s75i56nbp-switchboard-plug-onlineaccounts-6.1.0.drv'...
unpacking sources
unpacking source archive /nix/store/iwkaqp166dpcfirg1nas182fkr3nlxm7-source
source root is source
patching sources
configuring
meson flags: --buildtype=plain --libdir=/nix/store/av9xvg4z5lkhddwvsw9ihqj0m3wnmjhw-switchboard-plug-onlineaccounts-6.1.0/lib --libexecdir=/nix/store/av9xvg4z5lkhddwvsw9ihqj0m3wnmjhw-switchboard-plug-onlineaccounts-6.1.0/libexec --bindir=/nix/store/av9xvg4z5lkhddwvsw9ihqj0m3wnmjhw-switchboard-plug-onlineaccounts-6.1.0/bin --sbindir=/nix/store/av9xvg4z5lkhddwvsw9ihqj0m3wnmjhw-switchboard-plug-onlineaccounts-6.1.0/sbin --includedir=/nix/store/av9xvg4z5lkhddwvsw9ihqj0m3wnmjhw-switchboard-plug-onlineaccounts-6.1.0/include --mandir=/nix/store/av9
@bobby285271
bobby285271 / clone_elementary.sh
Created July 25, 2021 13:05
Clone all elementary repositories
#/usr/bin/env bash
curl -s https://api.github.com/orgs/elementary/repos?per_page=200 | jq .[].ssh_url | xargs -n 1 git clone
@bobby285271
bobby285271 / pandoc.lua
Created July 12, 2021 07:53
Docbook -> CommonMark
local fenced = '```\n%s\n```\n'
function CodeBlock (cb)
return pandoc.RawBlock('markdown', fenced:format(cb.text))
end