Skip to content

Instantly share code, notes, and snippets.

Peter Gerber pgerber

Block or report user

Report or block pgerber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View terminal
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
View log-unscramble.py
#!/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'}
View gist:8ceefa6e9e7446f0968b39ad8fda96b5
src: https://arthuredelstein.github.io/tordemos/keyboard.html
@pgerber
pgerber / bashrc
Last active Mar 15, 2018
OpenShift bashrc Command Collection
View bashrc
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
View qubes-os-sticker.svg
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 Dec 19, 2017
kibana search filters
View kibana_export.json
[
{
"_id": "Nginx",
"_type": "search",
"_source": {
"title": "Nginx",
"description": "",
"hits": 0,
"columns": [
"status",
View tor.gpg
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBEqg7GsBCACsef8koRT8UyZxiv1Irke5nVpte54TDtTl1za1tOKfthmHbs2I
4DHWG3qrwGayw+6yb5mMFe0h9Ap9IbilA5a1IdRsdDgViyQQ3kvdfoavFHRxvGON
tknIyk5Goa36GMBl84gQceRs/4Zx3kxqCV+JYXE9CmdkpkVrh2K3j5+ysDWfD/kO
dTzwu3WHaAwL8d5MJAGQn2i6bTw4UHytrYemS1DdG/0EThCCyAnPmmb8iBkZlSW8
6MzVqTrN37yvYWTXk6MwKH50twaX5hzZAlSh9eqRjZLq51DDomO7EumXP90rS5mT
QrS+wiYfGQttoZfbh3wl5ZjejgEjx+qrnOH7ABEBAAG0JmRlYi50b3Jwcm9qZWN0
Lm9yZyBhcmNoaXZlIHNpZ25pbmcga2V5iEYEEBECAAYFAkqqojIACgkQ61qJaiiY
You can’t perform that action at this time.