View .gitconfig
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
[user] | |
email = kevingallagher@gmail.com | |
name = Kevin M. Gallagher | |
signingkey = 0x3B324F4FF73BECF8 | |
[core] | |
editor = vim | |
excludesfile = /etc/gitignore | |
autocrlf = true | |
compression = 9 | |
fscache = true |
View GRUB_CMDLINE_LINUX_DEFAULT
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
acpi_irq_nobalance | |
acpi_os_name=Linux | |
acpi_osi=Linux | |
acpi=force | |
add_efi_memmap | |
agp=off | |
apparmor=0 | |
audit_backlog_limit=16384 | |
audit_rate_limit=0 | |
audit=0 |
View alerts.json
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
{ | |
"template": "alerts-*", | |
"settings": { | |
"number_of_shards": 1, | |
"number_of_replicas": 1, | |
"index.refresh_interval": "10s", | |
"index.query.default_field": "groupLabels.alertname" | |
}, | |
"index_patterns": ["alerts-*"], | |
"mappings": { |
View channel-prefs.js
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
user_pref("accessibility.force_disabled", 1); | |
user_pref("alerts.showFavicons", false); | |
user_pref("app.normandy.api_url", ""); | |
user_pref("app.normandy.enabled", false); | |
user_pref("app.shield.optoutstudies.enabled", false); | |
user_pref("app.update.auto", false); | |
user_pref("app.update.channel", "aurora"); | |
user_pref("app.update.enabled", true); | |
user_pref("app.update.service.enabled", true); |
View gen_smartcard_key.sh
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 | |
# script generates a GPG master key with Certify+Sign capabilities, and two subkeys each possessing the Encrypt and Authenticate capabilities. | |
# intended to fill the 3 slots on a YubiKey <https://www.yubico.com/products/yubikey-hardware/> or OpenPGP card <https://g10code.com/p-card.html> | |
# allows selection of variables via a single dependency besides GnuPG 2.x: dialog | |
# kevin gallagher (@ageis) <kevingallagher@gmail.com> | |
function gen_smartcard_key() { | |
local GPG_KEY_ALGO="RSA" | |
local GPG_KEY_CREATION_DATE="$(date +%Y-%m-%d)" | |
if [[ -z "${GNUPGHOME}" ]]; then |
View .bashrc 02-25-2020
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 | |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# kevin gallagher (@ageis) <kevingallagher@gmail.com> | |
# normally I divide this into separate files: .bashrc, .bash_profile, .bash_aliases and .bash_functions (also .bash_logout), but it's all concatenated here. | |
ulimit -s unlimited | |
export MYUID=$(id -u) | |
export USER="$(id -un)" | |
if [[ "$TILIX_ID" ]] || [[ "$VTE_VERSION" ]]; then |
View icmp_ping.py
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 python | |
# -*- coding: utf-8 -*- | |
# (c) 2019, Ansible by Red Hat, inc | |
# (c) 2019 Kevin Gallagher (@ageis) <kevingallagher@gmail.com> | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
from __future__ import absolute_import, division, print_function | |
ANSIBLE_METADATA = {"metadata_version": "1.1", "status": ["preview"], "supported_by": "community"} |
View vlcrc
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
[compressor] # Dynamic range compressor | |
# RMS/peak (float) | |
compressor-rms-peak=0.100000 | |
# Attack time (float) | |
compressor-attack=50.000000 | |
# Release time (float) | |
compressor-release=250.000000 | |
# Threshold level (float) | |
compressor-threshold=-20.000000 | |
# Ratio (float) |
View getframes.py
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 python3 | |
# -*- coding: utf-8 -*- | |
# coding: utf-8 | |
from __future__ import unicode_literals | |
from __future__ import print_function | |
import argparse | |
import re | |
import json |
View certdata2bundle.py
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:set et sw=4: | |
# | |
# certdata2bundle.py | |
# retrieves CA certificates from the Mozilla/NSS root trust store in base64/DER | |
# format and re-encodes them as a concatenated PEM bundle sans metadata | |
# writes all CA certificates to /etc/ssl/cacerts.pem | |
# | |
# Copyright (C) 2019 Kevin M. Gallagher <kevingallagher@gmail.com> |
NewerOlder