Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I'm just a thin layer on top of AWS

Günter Grodotzki lifeofguenter

💭
I'm just a thin layer on top of AWS
View GitHub Profile
@lifeofguenter
lifeofguenter / Z
Last active Nov 11, 2018
NZBGet Transcoders
View Z
#!/bin/bash
##############################################################################
### NZBGET POST-PROCESSING SCRIPT ###
# Move files if all daisy-chained PP prior succeeded.
# Version: 0.1.0
#
#
# NOTE: For support visit the forum thread: http://nzbget.net/forum/viewtopic.php?f=8&t=1265
@lifeofguenter
lifeofguenter / whmcs-coza-epp.patch
Created Jun 6, 2014
[PATCH] internationalisation + WHMCS > 5.2.2 (backward compatible) (whmcs coza module)
View whmcs-coza-epp.patch
diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php
index ddb5716..0406c91 100644
--- a/modules/registrars/cozaepp/cozaepp.php
+++ b/modules/registrars/cozaepp/cozaepp.php
@@ -799,18 +799,35 @@
return $values;
}
+ $rev = _cozaepp_getRevision();
+ if($rev === 1) {
@lifeofguenter
lifeofguenter / gist:45d71d622a4aeea06346
Created Jun 6, 2014
php-intl 3.0.0 + libicu 4.8.1.1 for debian squeeze without breaking anything (hopefully)
View gist:45d71d622a4aeea06346
# cd /usr/src
# wget http://download.icu-project.org/files/icu4c/4.8.1.1/icu4c-4_8_1_1-src.tgz
# tar xvfz icu4c-4_8_1_1-src.tgz
# cd icu/source
# ./configure --prefix=/opt/icu
# make && make install
# cd /usr/src
# wget http://pecl.php.net/get/intl-3.0.0.tgz
# tar xvfz intl-3.0.0.tgz
@lifeofguenter
lifeofguenter / unbound.conf
Last active Aug 29, 2015
unbound debian wheezy post-installation
View unbound.conf
server:
## STATISTICS
# comment-out if you don't use munin
verbosity: 0
statistics-interval: 0
statistics-cumulative: no
extended-statistics: yes
@lifeofguenter
lifeofguenter / password.pl
Created Apr 27, 2014
A simplified "API" tp "safely" hash and verify passwords in Perl
View password.pl
################################################################################
# A simplified "API" to "safely" hash and verify passwords #
# #
# Author: Günter Grodotzki <guenter@perlhipster.com> #
# License: http://www.gnu.org/licenses/gpl-2.0.txt #
# Version: 20140425 #
################################################################################
use Authen::Passphrase::BlowfishCrypt;