I hereby claim:
- I am shift on github.
- I am shift (https://keybase.io/shift) on keybase.
- I have a public key whose fingerprint is 48C0 111D CCF8 1566 A876 461A 151B 3B2B 31ED B2CC
To claim this, I am signing this object:
require 'rbus' | |
module Autotest::DBus | |
def self.notify title, msg, pri = 'Information', img = nil | |
title += " in #{Dir.pwd.split(/\//).last(3).join("/")}" | |
msg += " at #{Time.now.strftime('%Y-%m-%d %H:%M:%S')}" | |
bus = RBus.session_bus | |
object = bus.get_object('org.freedesktop.Notifications','/org/freedesktop/Notifications') | |
object.interface!('org.freedesktop.Notifications') |
ChallengeResponseAuthentication no | |
PasswordAuthentication no | |
UsePAM no |
input { | |
stdin { | |
type => "stdin-type" | |
} | |
file { | |
type => "syslog" | |
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ] | |
} |
I hereby claim:
To claim this, I am signing this object:
input { | |
stdin { | |
type => "stdin-type" | |
} | |
file { | |
type => "syslog" | |
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ] | |
} |
# | |
# fair-queue based settings for EdgeRouter Lite traffic shaping | |
# | |
# download is typically 30 and change. everything can burst to 100% | |
# of bandwidth, priority rules keep the garbage in check | |
set traffic-policy shaper download | |
set traffic-policy shaper download bandwidth 30Mbit |
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:ad717439aa363b8ee1cf820b10bc11a32b093801] |
# This assumes a wifi only system... | |
wifi-menu | |
# Grab latest mirror list for Germany sorted by speed IPv4 only. | |
curl -o /etc/pacman.d/mirrorlist https://www.archlinux.org/mirrorlist/?country=DE&protocol=https&ip_version=4&use_mirror_status=on | |
sed -i 's/\#Server/Server/g' /etc/pacman.d/mirrorlist | |
# Create partitions | |
cgdisk /dev/nvme0n1 | |
1 512MB EFI partition # Hex code ef00 |
#include <stdio.h> | |
#define SQ(x) (x)*(x) | |
#define M0(x,y) SQ(x)+SQ(y)<4?0:0xe0 | |
#define M1(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M0(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0)):0xc0 | |
#define M2(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M1(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0xa0 | |
#define M3(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M2(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x80 | |
#define M4(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M3(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x60 | |
#define M5(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M4(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x40 |