Skip to content

Instantly share code, notes, and snippets.

Luis Chamberlain mcgrof

View GitHub Profile
View gist:3819e61038f3caeab8cc6d03fdd7bbbe
LOGFILE=/opt/mail2pgp/procmail.log
SHELL=/bin/bash
VERBOSE=yes
LOGABSTRACT=yes
FORMAIL=/usr/bin/formail
GNUPGHOME=/opt/mail2pgp/.gnupg
:0 H
*
{
View gist:ef483af303c40ff555b39f4de4d4173a
--iy67b7eliunzc2u3
Content-Type: application/pgp-encrypted
Content-Disposition: attachment
Version: 1
--iy67b7eliunzc2u3
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="msg.asc"
View gist:5b7e3fa4d6c9a5f176958f43c58b1711
#!/bin/bash
#hook ${sender} ${size} ${recipient}
LOG="/tmp/mail2pgp.log"
FROM=$1
SIZE=$2
TO=$3
PGP_KEY="F8FE7407"
FORWARD=""
View gist:3ca6ff5a005a198c808cdff31d782dbd
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
append_dot_mydomain = no
readme_directory = no
compatibility_level = 2
smtpd_tls_cert_file=/etc/letsencrypt/live/encrypted.ninja/fullchain.pem
smtpd_tls_key_file=/etc/letsencrypt/live/encrypted.ninja/privkey.pem
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
View foo_pci_driver.c
static struct pci_driver foo_pci_driver = {
...
.driver.probe_type = PROBE_PREFER_ASYNCHRONOUS,,
};
View keybase.md

Keybase proof

I hereby claim:

  • I am mcgrof on github.
  • I am mcgrof (https://keybase.io/mcgrof) on keybase.
  • I have a public key whose fingerprint is E405 3F8D 0E7C 4B9A 0A20 AB27 DC55 3250 F8FE 7407

To claim this, I am signing this object:

View gist:5529248
diff --git a/gentree.py b/gentree.py
index afe3645..3960863 100755
--- a/gentree.py
+++ b/gentree.py
@@ -358,6 +358,7 @@ def process(kerneldir, outdir, copy_list_file, git_revision=None,
patches.sort()
prefix_len = len(os.path.join(source_dir, 'patches')) + 1
for pfile in patches:
+ patch_header = ""
print_name = pfile[prefix_len:]
View gist:5515450
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=115
p2p_oper_channel=48
device_name=SAMSUNG_FOO
View gist:5515362
ctrl_interface=/var/run/hostapd-phy0
driver=nl80211
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
You can’t perform that action at this time.