Skip to content

Instantly share code, notes, and snippets.

Marek Marczykowski-Górecki marmarek

Block or report user

Report or block marmarek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
marmarek / builder.conf
Last active Dec 22, 2019
builder.conf for a test R4.1 on fc31 build
View builder.conf
include example-configs/qubes-os-r4.1.conf
DIST_DOM0 = fc31
ifeq (,$(filter salt,$(COMPONENTS)))
# download pre-built templates
INSTALLER_KICKSTART = /tmp/qubes-installer/conf/travis-iso-full.ks
View keyboard-blink.c
marmarek /
Last active Jun 12, 2019
qubes-core-admin to limit admin.vm.List return value based on qrexec policy
import qubes.ext
import qubespolicy
class AdminListExtension(qubes.ext.Extension):
def get_system_info(self, app):
system_info = {'domains': { {
'tags': list(domain.tags),
View hvmloader.log
(d3) HVM Loader
(d3) Detected Xen v4.12-unstable
(d3) Xenbus rings @0xfeffc000, event channel 1
(d3) System requested SeaBIOS
(d3) CPU speed is 2592 MHz
(d3) Relocating guest memory for lowmem MMIO space enabled
(XEN) irq.c:374: Dom3 PCI link 0 changed 0 -> 5
(d3) PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:374: Dom3 PCI link 1 changed 0 -> 10
(d3) PCI-ISA link 1 routed to IRQ10
marmarek /
Last active Oct 11, 2018
Control keyboard color based on active qube label
# vim: et sw=4 ts=4
# Requires installed in sys-usb (compile it and put into /usr/local/bin for example)
# Usage: run in dom0:
# qvm-run --localcmd=./ --pass-io -- sys-usb 'xargs -n1 g810-led -a'
# in Qubes 4.0, the command from qvm-run argument is ignored with --localcmd
# and we get raw qubes.VMShell, so echo the command on the first line
View installer-qubes-os-dom0-fc25.log
make[2]: Entering directory '/home/user/builder-R4.0'
INFO: version 1.4.9 starting (python version = 3.6.5)...
Start: init plugins
DEBUG: ensuring that dir exists: /home/user/builder-R4.0/cache/fc25/fedora-25-x86_64/dnf_cache/
INFO: selinux disabled
Finish: init plugins
Start: run
DEBUG: mock final configuration:
DEBUG: version: 1.4.9
DEBUG: basedir: /home/user/builder-R4.0/chroot-fc25/mock
marmarek / ssh-agent.socket
Created Mar 19, 2018
mirage-ssh-agent systemd based client
View ssh-agent.socket
Description=ssh-agent client
View tpm_nvinfo.txt
[root@dom0 user]# tpm_nvinfo
NVRAM index : 0x50000001 (1342177281)
PCR read selection:
Localities : ALL
PCR write selection:
Localities : ALL
Permissions : 0x00002000 (WRITEDEFINE)
bReadSTClear : FALSE
bWriteSTClear : FALSE
bWriteDefine : TRUE
View builder-whonix-14-on-r4.0.conf
GIT_PREFIX ?= QubesOS/qubes-
NO_SIGN ?= 1
DISTS_VM ?= whonix-gateway whonix-workstation
BRANCH ?= master
View r4.0-rc4-iso-packages.txt
-rw-r--r-- 4 user user 6.1K Dec 23 03:02 Packages/l/libvirt-daemon-xen-3.3.0-5.fc25.x86_64.rpm
-rw-r--r-- 4 user user 6.2K Dec 23 03:01 Packages/l/libvirt-daemon-driver-storage-3.3.0-5.fc25.x86_64.rpm
-rw-r--r-- 4 user user 6.6K Oct 14 12:28 Packages/q/qubes-db-dom0-4.0.5-1.fc25.x86_64.rpm
-rw-r--r-- 4 user user 6.6K Dec 23 03:50 Packages/q/qubes-mgmt-salt-dom0-4.0.6-1.fc25.noarch.rpm
-rw-r--r-- 4 user user 7.2K Dec 23 03:49 Packages/q/qubes-mgmt-salt-4.0.6-1.fc25.noarch.rpm
-rw-r--r-- 4 user user 7.6K Dec 23 02:44 Packages/q/qubes-img-converter-dom0-1.2.4-1.fc25.x86_64.rpm
-rw-rw-r-- 8 user user 8.1K Jan 19 03:14 Packages/q/qubes-release-notes-4.0-0.4.noarch.rpm
-rw-r--r-- 2 root root 8.1K Jan 19 01:03 Packages/q/qubes-core-dom0-linux-kernel-install-4.0.10-1.fc25.x86_64.rpm
-rw-r--r-- 4 user user 8.6K Jun 27 2016 Packages/q/qt-common-4.8.7-18.fc25.noarch.rpm
-rw-r--r-- 4 user user 8.7K Mar 21 2017 Packages/g/gnome-packagekit-3.22.1-2.fc25.x86_64.rpm
You can’t perform that action at this time.