I hereby claim:
- I am davidwalter0 on github.
- I am davidwalter (https://keybase.io/davidwalter) on keybase.
- I have a public key ASDb3UfSbovTX7fM6ovJtc29uhnasXn4600uLmA7uLghoAo
To claim this, I am signing this object:
#!/bin/bash | |
# https://gist.github.com/davidwalter0/1a96b1afe5794f2a0c8d50e1de3e8aa4 | |
# https://serverfault.com/questions/661978/displaying-a-remote-ssl-certificate-details-using-cli-tools | |
domain=${1} | |
if (( $# < 1 )); then | |
echo usage ${0##*/} domain | |
exit 1 | |
fi | |
echo | \ | |
openssl s_client -showcerts -servername ${domain}\ |
#!/bin/sh | |
# From Gerrit Code Review 2.14.1-1490-gf292b12563 | |
# | |
# Part of Gerrit Code Review (https://www.gerritcodereview.com/) | |
# | |
# Copyright (C) 2009 The Android Open Source Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
I hereby claim:
To claim this, I am signing this object:
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: trivial-container | |
spec: | |
containers: | |
- name: c | |
image: ubuntu:xenial | |
#resources: | |
# limits: |
user httpd; | |
worker_processes 2; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
events { |
from BaseHTTPServer import BaseHTTPRequestHandler | |
import urlparse, json | |
class GetHandler(BaseHTTPRequestHandler): | |
def do_GET(self): | |
parsed_path = urlparse.urlparse(self.path) | |
message = '\n'.join([ | |
'CLIENT VALUES:', | |
'client_address=%s (%s)' % (self.client_address, |
# Here's a little CoffeeScript routine that will recursively | |
# read the file-system, generating an object that represents | |
# a directory tree. | |
# The returned object will contain the following attributes: | |
# | |
# * `file` - the basename of the file. | |
# * `dir` - the directory containing the file. | |
# * `types` - an array containing zero or more of | |
# "File", "Directory", "SymbolicLink", "BlockDevice", |
from bottle import route, run, request, static_file | |
import subprocess | |
""" | |
Get DEVICE_ID by running script and connecting to the url with your mobile device | |
python unlock.py | |
Bottle v0.11.2 server starting up (using WSGIRefServer())... | |
Listening on http://192.168.77.102:8888/ |
https://savannah.nongnu.org/cvs/?group=jailkit |