This gist contains lists of modules available in
in AWS Lambda.
<?php | |
$option_value_export_plain = file_get_contents('export_plain.txt'); | |
$option_value_base = file_get_contents('base.txt'); | |
$export_plain = unserialize($option_value_export_plain); | |
$base = unserialize($option_value_base); | |
$new_export_plain = []; |
from botocore.vendored import requests | |
import json | |
import boto3 | |
def get_cloudfront_ips(): | |
ip_list = '' | |
d = requests.get('https://ip-ranges.amazonaws.com/ip-ranges.json').text | |
l = json.loads(d) | |
for ip_range in [x['ip_prefix'] for x in l['prefixes'] if x['service']=='CLOUDFRONT' ]: | |
ip_list += ip_range + ',' |
<?xml version="1.0"?> | |
<TriggernometryExport Version="1"> | |
<ExportedTrigger Enabled="true" Name="On Wipe" Id="d2f2668d-dfd5-456d-a404-1d2b5cdd18cd" RegularExpression="(wipeout|0038:end|21:([0-9,a-f,A-F]{8}):40000010)" DebugLevel="Inherit" PrevActions="Keep" PrevActionsRefire="Allow" Scheduling="FromFire" PeriodRefire="Allow" RefirePeriodExpression="0"> | |
<Actions> | |
<Action DiscordTts="false" OrderNumber="1" AuraImageMode="Normal" TextAuraAlignment="MiddleCenter" TextAuraFontSize="8.25" TextAuraEffect="None" TextAuraUseOutline="false" Enabled="true" ActionType="EndEncounter" ExecutionDelayExpression="0" Asynchronous="true" DebugLevel="Inherit" RefireInterrupt="false" RefireRequeue="true" SystemBeepFreqExpression="1000" SystemBeepLengthExpression="100" PlaySoundVolumeExpression="100" PlaySoundExclusive="true" PlaySoundMyself="false" PlaySpeechMyself="false" UseTTSVolumeExpression="100" UseTTSRateExpression="0" UseTTSExclusive="true" LaunchProcessWindowStyle="Normal" ExecScriptType="CSharp" MessageBoxIcon |
In the page somewhere: | |
<script type="text/javascript" defer> | |
var gcRender = function() { | |
var sitekey, gcs, i, rcks, len; | |
sitekey = ''; | |
// Render all .g-recaptcha's on the page | |
gcs = document.getElementsByClassName('g-recaptcha'); | |
len = gcs.length; | |
for (i = 0; i < len; i++) { |
{ | |
"AWSEBDockerrunVersion": "1", | |
"Image": { | |
"Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
"Update": "true" | |
}, | |
"Ports": [ | |
{ | |
"ContainerPort": "443" | |
} |
<?php | |
$ssh_instances = []; | |
$ssh_user = 'root'; | |
require 'vendor/autoload.php'; | |
$ec2 = new Aws\Ec2\Ec2Client([ | |
'version' => 'latest', | |
'region' => 'us-east-1' | |
]); |
This gist contains lists of modules available in
in AWS Lambda.
# using such a setup requires `apt-get install lua-nginx-redis` under Ubuntu Trusty | |
# more info @ http://wiki.nginx.org/HttpLuaModule#access_by_lua | |
http { | |
lua_package_path "/etc/nginx/include.d/?.lua;;"; | |
lua_socket_pool_size 100; | |
lua_socket_connect_timeout 10ms; | |
lua_socket_read_timeout 10ms; | |
server { |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.