This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
function usage() { | |
cat <<EOF | |
USAGE i3-xephyr start|stop|restart|run | |
start Start nested i3 in xephyr | |
stop Stop xephyr | |
restart reload i3 in xephyr | |
run run command in nested i3 | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tracks the origin of net_udp_rcvbuferrors, printing socket metadata associated with the packet drops. | |
// | |
// usage: bpftrace trace_udp_rcvbuferrors.bt | |
// sample output: | |
// 12:32:25 iperf3/3391 ::ffff:192.168.60.3:5201 -> ::ffff:192.168.60.1:50512 retval=-1 dropped=23809 qlen=36 qsize/qmaxsize=213248/212992 bytes | |
kprobe:udp_queue_rcv_skb | |
{ | |
$sock = (struct sock *)arg0; | |
if ($sock->sk_type != SOCK_DGRAM || ($sock->__sk_common.skc_family != AF_INET && $sock->__sk_common.skc_family != AF_INET6)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chains of recurrences -- a method to expedite the evaluation of closed-form functions | |
On computational properties of chains of recurrences | |
Symbolic Evaluation of Chains of Recurrences for Loop Optimization | |
Efficient Symbolic Analysis for Optimizing Compilers | |
Using the chains of recurrences algebra for data dependence testing and induction variable substitution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __cdecl main_main() | |
{ | |
__int64 *v0; // rdi | |
__int64 v1; // rdi | |
__int64 v2; // rax | |
__int64 v3; // rax | |
__int64 v4; // rcx | |
const char *v5; // rdx | |
__int128 v6; // rax | |
__int64 v7; // rcx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdbus call -e -d org.gnome.Shell -o /org/gnome/Shell -m org.gnome.Shell.Eval "global.get_window_actors().filter(a=>a.meta_window.has_focus()===true)[0]?.get_meta_window()?.get_wm_class()" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Hasher interface { | |
Compute( | |
context.Context, | |
hash Hash, | |
new map[string]string, | |
) (Hash, error) | |
} | |
type Changeset interface { | |
Change( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -*- mode:go;mode:go-playground -*- | |
// snippet of code @ 2020-11-14 14:23:30 | |
// === Go Playground === | |
// Execute the snippet with Ctl-Return | |
// Provide custom arguments to compile with Alt-Return | |
// Remove the snippet completely with its dir and all files M-x `go-playground-rm` | |
package main | |
import ( |
NewerOlder