This file contains 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
<?php | |
// Notify Subscribers (who do we notify?) | |
$slackbot = new SlackBot(); | |
$slackbot->notify(new ShitHappened($youCanPassDataToo)); |
This file contains 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
## | |
# GeoIP Filtering | |
## | |
## dat files: wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | |
geoip_country /etc/nginx/geoip/GeoIP.dat; | |
geoip_city /etc/nginx/geoip/GeoLiteCity.dat; | |
map $geoip_country_code $allowed_country { | |
default no; |
This file contains 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
## | |
# Gzip Settings | |
## | |
# Compression | |
# Enable Gzip compressed. | |
gzip on; | |
# Enable compression both for HTTP/1.0 and HTTP/1.1. |
This file contains 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
'use strict'; | |
if (typeof fetch === 'undefined') { | |
console.info("Using Fetch Polyfill"); | |
// Polyfill fetch for clients with no existing fetch implementation | |
// | |
// Uses github's fetch implementation | |
// https://github.com/github/fetch |
This file contains 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
# | |
# Nginx host conf | |
# | |
# Allows Laravel 4 and SimpleSamlphp to exist together peacefully | |
# | |
# Laravel 4 - | |
# https://github.com/laravel/laravel | |
# SimpleSamlphp - | |
# https://github.com/simplesamlphp/simplesamlphp | |
# |
This file contains 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
-- Red October Mode for Apple Messages | |
-- | |
-- Fun away mode message with crazy ivans every 15 minute to make sure someone isn't following you | |
-- | |
-- USE: save as an "Application" with the "Stay open after run handler" option checked | |
-- | |
property resetmessage : 1 as integer | |
property previousturn : 0 as integer |
This file contains 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
<?php | |
/* | |
This example shows how to: | |
- Autoload AWS SDK PHP | |
- Add AWS SDK PHP to the Dependency Injector | |
- Retrieve AWS dependency from DI and make a call. |