I hereby claim:
- I am gmambro on github.
- I am gmambro (https://keybase.io/gmambro) on keybase.
- I have a public key ASBtZVM7NS6UeBw9ng1Rn47uYSFwOHX84jSj3eSs_Srpewo
To claim this, I am signing this object:
#!/bin/bash | |
[ -f ".perltidyrc" ] || exit 1 | |
echo "Precommit Perl tidy" | |
root="$(git rev-parse --show-toplevel)" | |
git diff --name-only --cached | { | |
labort=0 |
class Encryption | |
{ | |
const CIPHER = 'AES-128-CBC'; | |
/* Cryptographic key of length 16, 24 or 32. NOT a password! */ | |
private $key; | |
private $iv_size; | |
public function __construct($key) { | |
$this->key = $key; |
I hereby claim:
To claim this, I am signing this object:
class lazy_property(object): | |
''' | |
This decorator is meant to be used for lazy evaluation of an object attribute. | |
The property should represent non-mutable data, as it replaces itself. | |
Example: | |
class Configuration(object): | |
def __init__(self): |
#!/bin/sh | |
TRAC_ADMIN=$(which trac-admin) | |
TRAC_LIB=/var/lib/trac | |
TRAC_BACKUP_DIR=/var/lib/backup/trac | |
if [ $# != 1 ]; then | |
echo "usage $0 <env>" | |
exit 1 | |
fi |
<Location /login> | |
Order deny,allow | |
AuthType Kerberos | |
AuthName "Trac" | |
KrbAuthoritative On | |
KrbVerifyKDC Off | |
KrbMethodNegotiate On | |
KrbMethodK5Passwd On |
When I find myself in times of trouble | |
tcpdump comes to me | |
dumping every packet, | |
let it sniff | |
And in my hour of darkness | |
with the console right in front of me | |
thinking "it's the firewall", | |
let it sniff |
<Location /limesurvey> | |
RewriteEngine on | |
RewriteBase /limesurvey | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)\?*$ index.php [QSA,L] | |
</Location> | |
%define real_name limesurvey | |
%define limedir %{_var}/www/limesurvey | |
%define _binaries_in_noarch_packages_terminate_build 0 | |
Name: limesurvey | |
Version: 2.06.150911 | |
Release: 1%{?dist} | |
Summary: The limesurvey RPM | |
Group: System Environment/Base |
#!/bin/sh | |
# | |
# chkconfig: 345 86 14 | |
# description: MyApp FCGI server | |
# pidfile: /var/run/myapp/pid | |
PATH=/sbin:/bin:/usr/bin:/usr/sbin | |
# Source function library. | |
. /etc/rc.d/init.d/functions |