I hereby claim:
- I am zyga on github.
- I am zyga (https://keybase.io/zyga) on keybase.
- I have a public key whose fingerprint is B76C ED9B 45CA F155 7D27 1A6A 2894 E93A 28C6 7B47
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
# Copyright 2013 Canonical Ltd. | |
# Written by: | |
# Zygmunt Krynicki <zygmunt.krynicki@canonical.com> | |
""" | |
Parser for `pactl list` output | |
""" | |
from argparse import ArgumentParser |
#!/usr/bin/env python3 | |
# | |
# Copyright (c) Zygmunt Krynicki | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# 1. Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. |
I hereby claim:
To claim this, I am signing this object:
class NS: | |
PASSTHRU = frozenset(('__name__', '__qualname__', '__doc__', '__module__')) | |
def __init__(self, data=None): | |
if data is None: | |
data = {} | |
self.data = data | |
def __setitem__(self, name, value): |
class JobCollection: | |
@signal | |
def job_added(self, job): | |
""" signal sent whenever a job is added """ | |
class SomethingElse: | |
def __init__(self, collection): | |
col.job_added.connect(on_job_added) | |
#!/bin/sh | |
# Basic backlight data collection script for Lantern | |
# Written by Zygmunt Krynicki <zygmunt.krynicki@canonical.com> | |
set -x | |
id=$(cat /proc/sys/kernel/random/uuid) | |
dest=$(mktemp -d --suffix=-lantern) | |
lspci > "$dest/lspci" | |
lsmod > "$dest/lsmod" | |
uname -a > "$dest/uname" | |
if [ -e /etc/os-release ]; then |
#!/bin/sh | |
if [ "$(id -u)" != 0 ]; then | |
echo "This script requires root access, run it with sudo please" | |
exit 1 | |
fi | |
core_snap=/var/lib/snapd/snaps/ubuntu-core_122.snap | |
case $(md5sum $core_snap | cut -d ' ' -f 1) in | |
8170579dcd67c5eceb151695c21cdab1) | |
echo "Patching ubuntu-core snap to include hostfs mount point" | |
tmp="$(mktemp -d)" |
.PHONY: all clean | |
CFLAGS += -Wall | |
all: oops | |
clean: | |
rm -f oops |
#!/usr/bin/env python3 | |
import argparse | |
import struct | |
def main() -> None: | |
parser = argparse.ArgumentParser() | |
parser.add_argument( | |
'appimage', metavar='APPIMAGE', help="Appimage file to query", | |
type=argparse.FileType(mode="rb")) |
name : indent | |
version : 2.2.11 | |
release : 1 | |
source : | |
- http://debian.lagis.at/debian/pool/main/i/indent/indent_2.2.11.orig.tar.gz : aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a0893 | |
homepage : https://www.gnu.org/software/indent/ | |
license : | |
- GPLv2 | |
summary : C language source code formatting program | |
description : | |