- Auto-sliding draw for TST
- Leaves 'pinned' and 'active' tabs visible in standard browser chrome
- Leaves 'last-active' tabs visible for 3 minutes after becoming inactive
- Where an active tab is pinned, leaves 'last-active' tab (x1) visible for 1hr
sudo dnf remove gnome-tour gnome-abrt gnome-calculator gnome-calendar gnome-maps gnome-weather \
rhythmbox gnome-contacts totem gnome-logs gnome-photos gnome-clocks gedit gnome-system-moniter \
gnome-user-docs gnome-screenshot gnome-remote-desktop
sudo dnf remove fedora-chromium-config
Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav
Hello, brethren :-)
As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".
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
-- Thank @sbengo to figure out foreign_keys constraints is defaults to false in sqlite | |
-- Enable to delete logs by cascading delete | |
PRAGMA foreign_keys = ON; | |
WITH n_build_ids_per_repo as ( | |
SELECT build_id | |
FROM ( | |
SELECT | |
build_id, | |
build_repo_id, |
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
/* | |
* ctx_time Copyright (C) 2018 Matteo Croce <mcroce@redhat.com> | |
* a tool measure the context switch time in clock cycles | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <limits.h> | |
#include <string.h> |
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 bash | |
# vi: set ft=sh ts=4 sw=0 sts=-1 sr noet nosi tw=0 fdm=manual: | |
set -o errexit | |
declare -A version | |
version[musl]=1.2.4 | |
version[libevent]=2.1.12 | |
version[ncurses]=6.4 |
Scripts to confgire a group of hosts on a LAN to use VXLAN over Wireguard.
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
#!/bin/bash | |
# Bash script to calculate throughput and packets/sec | |
# Based on code from https://discuss.aerospike.com/t/benchmarking-throughput-and-packet-count-with-iperf3/2791 | |
if [ -z "$1" ]; then | |
echo | |
echo usage: $0 [network-interface] | |
echo | |
echo defaulting to eth0 |
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
#include "txq.h" | |
kprobe:ena_com_prepare_tx | |
{ | |
// grab/cast the transmit queue param | |
$io_sq = (struct ena_com_io_sq *) arg0; | |
// logic copied from from ena_com_free_q_entries | |
$queuelen = (uint16) $io_sq->tail - (uint16) $io_sq->next_to_comp; |
NewerOlder