I hereby claim:
- I am hanseartic on github.
- I am fraggedreality (https://keybase.io/fraggedreality) on keybase.
- I have a public key whose fingerprint is 6B7E 0422 C03B E477 04F0 DE7C CAC0 1914 8FF8 80AC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import sys | |
import argparse | |
import time | |
import lxml | |
import requests | |
import lxml.html as lhtml |
ACTION!="add|change", GOTO="yubico_end" | |
# Udev rules for letting the console user access the Yubikey USB | |
# device node, needed for challenge/response to work correctly. | |
# Yubico Yubikey II | |
SUBSYSTEMS=="usb",\ | |
ATTRS{idVendor}=="1050",\ | |
ATTRS{idProduct}=="0010|0110|0111|0114|0116", \ | |
ENV{ID_SECURITY_TOKEN}="1", GROUP="plugdev",\ |
<?php | |
class ImgTools | |
{ | |
/** | |
* Calculate image dimensions from given ratio and desired new x-/y- values | |
* | |
* @param int $desired_width desired image width | |
* @param int $desired_height desired image height | |
* @param int $ratio desired ratio |
#!/usr/bin/env bash | |
set -e | |
ORGANIZATION=${GH_ORG:?"Please set variable GH_ORG."} | |
TEAM=${GH_TEAM:?"Please set variable GH_TEAM"} | |
API_TOKEN=${GH_API_TOKEN:?"Please set variable GH_API_TOKEN."} | |
curl -s -X POST \ | |
-H"Authorization: Bearer ${API_TOKEN}" \ | |
-d"{ \"query\": \"query { \ | |
organization(login: \\\"${ORGANIZATION}\\\") { \ |
const { Keypair, Networks, Server, TransactionBuilder, Operation, BASE_FEE, Memo, Claimant, Asset, LiquidityPoolAsset} = require('stellar-sdk'); | |
const StellarHDWallet = require("stellar-hd-wallet"); | |
const random = require("@sefinek/random-emoji"); | |
const server = new Server("https://horizon-testnet.stellar.org"); | |
const friendbotAccount = "GAIH3ULLFQ4DGSECF2AR555KZ4KNDGEKN4AFI4SU2M7B43MGK3QJZNSR"; | |
const keyChars = "234567ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
const solution = (() => { | |
if (process.env.SECRET) return Keypair.fromSecret(process.env.SECRET); |
const {Server} = require("stellar-sdk"); | |
const server = new Server("https://horizon.stellar.org"); | |
server.transactions().limit(1).order("desc").call() | |
.then(({records}) => { | |
var lastCreatedAt; | |
const stop = server.transactions().cursor(records[0].paging_token).stream({ | |
onmessage: m => { | |
const createdAt = new Date(m.created_at); |