I hereby claim:
- I am typhonius on github.
- I am typhonius (https://keybase.io/typhonius) on keybase.
- I have a public key whose fingerprint is 81AC 744D AEA4 BB5F 6971 D78E 8521 A8CC D186 9962
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/env/perl | |
| use strict; | |
| use warnings; | |
| use Net::Netmask; | |
| use Regexp::Assemble::Compressed; | |
| print "Enter the filename to varnishize: "; | |
| my $filename = <STDIN>; |
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" | |
| exit 1 | |
| fi | |
| function get_hostname() { | |
| read -p "Enter hostname: " hostname | |
| if [ -z "$hostname" ]; then |
| diff --git a/ape.test b/ape.test | |
| index 756cfeb..f34a7fe 100644 | |
| --- a/ape.test | |
| +++ b/ape.test | |
| @@ -31,6 +31,7 @@ class ApeTestHelper extends DrupalWebTestCase { | |
| $modules[] = 'path'; | |
| $modules[] = 'user'; | |
| $modules[] = 'common_test'; | |
| + $modules[] = 'ape_redirect_test'; | |
| parent::setUp($modules); |
| #!/bin/bash | |
| STLOAD=$(cat /proc/loadavg | awk '{print $1}') | |
| while true; do | |
| FINLOAD=$(cat /proc/loadavg | awk '{print $1}') | |
| if (( $(echo "$STLOAD $FINLOAD" | awk '{ if ($1 >= 8 && $2 >= 8) print 1}') )); then | |
| if [[ -z $TIME ]]; then | |
| TIME=$(date +"%s") | |
| fi |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use LWP::Simple; | |
| use Scalar::Util qw(looks_like_number); | |
| our $VERSION = 1.337; |
| <?php | |
| /** | |
| * @file | |
| * Drush command to check for overly large items in DB cache tables that will | |
| * not work with memcache. | |
| */ | |
| /** | |
| * Implements hook_drush_command(). |
| user_restrictions_create_form: | |
| route_name: user_restrictions.create_form | |
| title: 'Add rule' | |
| appears_on: | |
| - user_restrictions.list_form |
| User "apache" | |
| Group "apache" | |
| #RootJail "/var/pound/jail" | |
| #Alive 60 | |
| ListenHTTPS | |
| HeadRemove "X-Forwarded-Proto" | |
| AddHeader "X-Forwarded-Proto: https" | |
| Address 0.0.0.0 | |
| Port 443 |
| newmac() { | |
| MAC=`openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` | |
| echo "Setting MAC address to $MAC" | |
| sudo ifconfig en0 ether $MAC | |
| } |