I hereby claim:
- I am shakataganai on github.
- I am shakataganai (https://keybase.io/shakataganai) on keybase.
- I have a public key ASBD1taS5cFXVX0sc9IOHeYf5LGNCaJPV4U4JoLpBUjz7wo
To claim this, I am signing this object:
gitlab: | |
image: 'gitlab/gitlab-ee:latest' | |
restart: always | |
hostname: 'gitlab.mycompany.tld' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://gitlab.mycompany.tld' | |
# https://docs.gitlab.com/omnibus/settings/ssl.html | |
letsencrypt['enable'] = true | |
letsencrypt['auto_renew'] = true |
#!/usr/local/bin/python3.6 | |
import dns.resolver | |
import re | |
def main(): | |
v4 = [] | |
v6 = [] | |
v4, v6 = que('_cloud-netblocks.googleusercontent.com') | |
for o4 in v4: | |
print(o4) |
#!/usr/bin/python | |
from getpass import getpass | |
import hashlib | |
import requests | |
import sys | |
import re | |
passd = getpass('Gimme your password: ') | |
hash = hashlib.sha1(passd).hexdigest().upper() | |
res = requests.get('https://api.pwnedpasswords.com/range/'+hash[0:5]) |
# See https://obviate.io/?p=8022 for more details | |
import time | |
from machine import Pin | |
led = Pin(2, Pin.OUT) | |
while True: | |
if led.value(): | |
led.off() | |
else: |
import boto3 | |
import re | |
import datetime | |
import time | |
ec = boto3.client('ec2') | |
iam = boto3.client('iam') | |
def backupVols(e): | |
print("Looking for volumes to backup") |
[storage] | |
engine = file_system | |
path = Development/MACHINENAME | |
directory = Mackup | |
[configuration_files] |
#!/bin/bash | |
DIR="$( cd "$( dirname "$0" )" && pwd )" | |
mackup backup -f | |
cd $DIR | |
git add --all | |
git commit -m "automated backup `date`" | |
git push |
from PIL import Image | |
import re | |
from os import listdir | |
from os.path import isfile, join | |
def clean(f): | |
image_file = open(f) | |
image = Image.open(image_file) | |
data = list(image.getdata()) |
I hereby claim:
To claim this, I am signing this object:
'use strict'; | |
exports.handler = (event, context, callback) => { | |
const response = event.Records[0].cf.response; | |
const headers = response.headers; | |
var hr = { | |
'Strict-Transport-Security': 'max-age=600;', | |
'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', | |
'Pragma': 'no-cache', | |
'X-LambdaAtEdge': 'true' |