Read a binary TLS certificate (exported from wireshark).
openssl x509 -inform DER -in cert.bin -text
Extract public key from certificate
openssl x509 -inform DER -in cert.bin -pubkey -noout > key.pub
Read a binary TLS certificate (exported from wireshark).
openssl x509 -inform DER -in cert.bin -text
Extract public key from certificate
openssl x509 -inform DER -in cert.bin -pubkey -noout > key.pub
I hereby claim:
To claim this, I am signing this object:
let buttons = `<button type="button" class="btn btn-warning lessFields"><span class="glyphicon glyphicon-minus"></span></button> | |
<button type="button" class="btn moreFields"><span class="glyphicon glyphicon-plus"></span></button>`; | |
prefillFields(); | |
$(".moreFields").click(function() { | |
console.log("on click moreFields"); | |
// TODO: refactor to permit more than 10 filters | |
var step = parseInt($(".moreFields").parent().get(0).id.slice(-1)[0]); | |
addNewField(step + 1); | |
this.remove(); |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
import re | |
HOST, PORT = "localhost", 4000 | |
INPUTS = {} | |
class HashHandler(BaseHTTPRequestHandler): | |
# assuming the challenge refers to HTTP GET requests | |
def do_GET(self): | |
regex = r"/(set|get)\?(\w+)=(\w+)" |
[push] | |
default = current | |
[user] | |
name = Cristina Munoz | |
email = [email protected] | |
[core] | |
editor = /usr/local/bin/vim | |
pager = less |
__precompile__() | |
module Molcajete | |
import Requests: get, post, put, delete, options, json | |
global base_url = "https://api.meetup.com/" | |
if !haskey(ENV, "MEETUP_API_TOKEN") | |
error("MEETUP_API_TOKEN environment variable is required.") |
ff |
import random | |
from copy import deepcopy | |
class Piece: | |
def __init__(self, display, stuck = False): | |
self.display = display | |
self.stuck = stuck | |
# 4 x 4 | |
self.height = len(display) | |
self.width = len(display[0]) |
package main | |
import ( | |
"bufio" | |
"fmt" | |
"net/http" | |
"os" | |
"time" | |
) |
#!/usr/bin/env python | |
import sys | |
import timing | |
from pprint import pprint | |
''' | |
Recurse elements in passed in string. | |
''' |