Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
[SKIPPED] lockdev-1.0.4-0.26.20111007git.fc28.x86_64.rpm: Already downloaded
[SKIPPED] logrotate-3.14.0-1.fc28.x86_64.rpm: Already downloaded
[SKIPPED] lohit-assamese-fonts-2.91.5-3.fc28.noarch.rpm: Already downloaded
[SKIPPED] lohit-bengali-fonts-2.91.5-3.fc28.noarch.rpm: Already downloaded
[SKIPPED] lohit-devanagari-fonts-2.95.4-3.fc28.noarch.rpm: Already downloaded
[SKIPPED] lohit-gujarati-fonts-2.92.4-3.fc28.noarch.rpm: Already downloaded
[SKIPPED] lohit-gurmukhi-fonts-2.91.2-3.fc28.noarch.rpm: Already downloaded
[SKIPPED] lohit-kannada-fonts-2.5.4-3.fc28.noarch.rpm: Already downloaded
[SKIPPED] lohit-odia-fon
#!/usr/bin/python3
import argparse
from datetime import datetime, timezone
from functools import reduce
import json
import operator
import re
import sys
NON_MDC = {'message', 'level', 'logger_name', 'message', 'thread_name', 'version', 'revision', 'tags', 'level_name', '@timestamp', 'stack_trace'}
@pgerber
pgerber / gist:8ceefa6e9e7446f0968b39ad8fda96b5
Created February 15, 2018 08:32
FF Nightly kbd fingerprinting
src: https://arthuredelstein.github.io/tordemos/keyboard.html
@pgerber
pgerber / bashrc
Last active March 15, 2018 12:27
OpenShift bashrc Command Collection
PS1='[$(sed -r "/^current-context: / { s/[^:]+: (toco-)((n)ice(-))?([^/]+)\/.*/\3\4\5/; /test|^n-master$/ s/.*/\[\e[38;5;2m\]&/; s/.*/\[\e[38;5;1m\]&/; q }; d" ~/.kube/config)\[\e[39m\]]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
p()
{
case $# in
0)
oc projects -q | sed -n 's/^toco-nice-// p'
;;
1)
oc project "toco-nice-$1" && oc get pods
@pgerber
pgerber / qubes-os-sticker.svg
Last active January 1, 2018 20:50
Qubes OS sticker
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pgerber
pgerber / kibana_export.json
Created December 19, 2017 10:44
kibana search filters
[
{
"_id": "Nginx",
"_type": "search",
"_source": {
"title": "Nginx",
"description": "",
"hits": 0,
"columns": [
"status",
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBEqg7GsBCACsef8koRT8UyZxiv1Irke5nVpte54TDtTl1za1tOKfthmHbs2I
4DHWG3qrwGayw+6yb5mMFe0h9Ap9IbilA5a1IdRsdDgViyQQ3kvdfoavFHRxvGON
tknIyk5Goa36GMBl84gQceRs/4Zx3kxqCV+JYXE9CmdkpkVrh2K3j5+ysDWfD/kO
dTzwu3WHaAwL8d5MJAGQn2i6bTw4UHytrYemS1DdG/0EThCCyAnPmmb8iBkZlSW8
6MzVqTrN37yvYWTXk6MwKH50twaX5hzZAlSh9eqRjZLq51DDomO7EumXP90rS5mT
QrS+wiYfGQttoZfbh3wl5ZjejgEjx+qrnOH7ABEBAAG0JmRlYi50b3Jwcm9qZWN0
Lm9yZyBhcmNoaXZlIHNpZ25pbmcga2V5iEYEEBECAAYFAkqqojIACgkQ61qJaiiY