This file contains hidden or 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 | |
export AWS_ACCESS_KEY_ID= | |
export AWS_SECRET_ACCESS_KEY= | |
export PASSPHRASE= | |
LOCATION= | |
BACKUP_OPTIONS=" | |
--exclude=**/.cache \ | |
--include=/etc \ |
This file contains hidden or 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 | |
''' | |
/etc/shorewall/rules:: | |
SECTION ESTABLISHED | |
LOG:ULOG all net | |
LOG:ULOG net all | |
SECTION RELATED | |
LOG:ULOG all net |
This file contains hidden or 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
from functools import partial | |
from multiprocessing import Pool | |
import sys | |
def power(x, pwr=2): | |
return x**pwr | |
def uncurry(r): | |
return power(r[0], **r[1]) |
This file contains hidden or 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 | |
''' | |
/etc/shorewall/rules:: | |
SECTION ESTABLISHED | |
LOG:ULOG loc net | |
LOG:ULOG net loc | |
SECTION RELATED | |
LOG:ULOG loc net |
NewerOlder