Skip to content

Instantly share code, notes, and snippets.

@k9ert
k9ert / 000_Readme.md
Last active December 28, 2020 16:11
rc3

What's specter - the tutorial-notes for the talk at the rc3

We'll have some slides and will also have a look on the specter-shields (the hardware-side of Specter) but will soon do hands-on.

Content:

{
"$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Person",
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
@k9ert
k9ert / specter-desktop-userscript
Created May 14, 2020 08:39
Specter-desktop greasemonkey script for modifying the Color-scheme
// ==UserScript==
// @name specter-desktop
// @version 1
// @grant none
// @include http://localhost:25441/*
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
@k9ert
k9ert / btc_dca.ipynb
Created May 12, 2019 12:05
A jupyter-notebook researching the effect of Dollar-Cost-Averaging with Bitcoin.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# openssl x509 -in alice-tls.cert -text -noout
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
d6:a0:86:69:7e:b8:e1:ac
Signature Algorithm: ecdsa-with-SHA256
Issuer: CN=localhost, O=lnd
Validity
Not Before: Jun 24 11:03:12 2018 GMT
#!/usr/bin/env python3
import sys
if sys.version_info.major < 3:
sys.stderr.write('Sorry, Python 3.x required by this example.\n')
sys.exit(1)
import requests
import bitcoin
@k9ert
k9ert / keybase.md
Created September 23, 2017 12:18
keybase.md

Keybase proof

I hereby claim:

  • I am k9ert on github.
  • I am k9ert (https://keybase.io/k9ert) on keybase.
  • I have a public key ASCQ-7EKNEQWant8q2wrAHhvMx3j0SjVQzvC3g0-cr8sOgo

To claim this, I am signing this object:

// This #include statement was automatically added by the Particle IDE.
#include "OneWire/OneWire.h"
// This #include statement was automatically added by the Particle IDE.
#include "spark-dallas-temperature/spark-dallas-temperature.h"
// Init Dallas on pin digital pin 3
DallasTemperature dallas(new OneWire(D7));
TCPClient tcpClient;
@k9ert
k9ert / alarmanlage.ino
Created November 5, 2015 19:10
Alarmanlage for the photon
const int AL_AUS = 1;
const int AL_AN = 2;
const int ALARM = 3;
int zustand = AL_AUS;
// Die an den Photon angeschlossenen Geräte:
const int TASTER = D0;
const int LED = D1;
@k9ert
k9ert / gist:da728a48549944ee9037
Created May 28, 2015 20:13
some jenkins webservice-calls
# querying the jenkins queue-length
curl -s http://jkmaster.prod.commerce-suite.ecp.ydev.hybris.com:9080/queue/api/json?pretty=true | jq ".items | length"