I hereby claim:
- I am shortstack on github.
- I am shortstack (https://keybase.io/shortstack) on keybase.
- I have a public key whose fingerprint is D02E 8221 6BFD BD73 4F72 CD78 2B4D 49BF 46E0 59DB
To claim this, I am signing this object:
import os | |
import sys | |
import requests | |
import time | |
import json | |
from multiprocessing import Process | |
def follow(thefile): | |
thefile.seek(0,2) |
############################################# | |
# USAGE: ansible-playbook create-users.yml # | |
############################################# | |
--- | |
- name: Set up Cognito test users | |
hosts: localhost | |
vars: | |
user_pool_id: | |
client_id: |
cmd.exe /c winrm quickconfig -q | |
cmd.exe /c winrm quickconfig -transport:http | |
cmd.exe /c winrm set winrm/config @{MaxTimeoutms="1800000"} | |
cmd.exe /c winrm set winrm/config/winrs @{MaxMemoryPerShellMB="800"} | |
cmd.exe /c winrm set winrm/config/service @{AllowUnencrypted="true"} | |
cmd.exe /c winrm set winrm/config/service/auth @{Basic="true"} | |
cmd.exe /c winrm set winrm/config/client/auth @{Basic="true"} | |
cmd.exe /c winrm set winrm/config/listener?Address=*+Transport=HTTP @{Port="5985"} | |
cmd.exe /c net stop winrm | |
cmd.exe /c sc config winrm start= auto |
--- | |
- hosts: localhost | |
vars: | |
kolide_url_cmd: "{{ kolide_url }}" | |
kolide_user_cmd: "{{ kolide_user }}" | |
kolide_pw_cmd: "{{ kolide_pw }}" | |
tasks: | |
- name: Login and get bearer token | |
uri: |
#!/bin/sh | |
nodes=`curl --silent -G 'http://localhost:8080/v4/nodes' --data-urlencode "query=[\"<\", \"report-timestamp\", \"$(date -d '-1 day' -Isec)\"]" | jq '.[].certname'` | |
for node in $nodes; do | |
puppet cert clean $node | |
puppet node deactivate $node | |
done |
""" | |
whitney champion | |
advent of code | |
""" | |
import sys | |
import re | |
import hashlib | |
# day 1: not quite lisp |
I hereby claim:
To claim this, I am signing this object: