Skip to content

Instantly share code, notes, and snippets.

View aagontuk's full-sized avatar

Ashfaqur Rahaman aagontuk

View GitHub Profile
#!/bin/sh
#
# Copyright IBM, Corp. 2010
#
# Authors:
# Anthony Liguori <aliguori@us.ibm.com>
#
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
@aagontuk
aagontuk / intercept.md
Created April 27, 2022 06:44
Intercept libraries and system calls
@aagontuk
aagontuk / slack_failed.md
Created March 21, 2022 18:20
Slack isn't running

Relevant erro from SNAPD_DEBUG=1 snap run slack

tartTransientUnit failed with "org.freedesktop.DBus.Error.Spawn.ChildExited": [Process org.freedesktop.systemd1 exited with status 1]

Possible reason: Need systemd --user but running this generates:

Trying to run as user instance, but $XDG_RUNTIME_DIR is not set

$XDG_RUNTIME_DIR is set to /run/user/$UID

@aagontuk
aagontuk / compiler.md
Last active August 9, 2022 14:46
Compiler resources