Skip to content

Instantly share code, notes, and snippets.


Chris van Marle qistoph

View GitHub Profile
qistoph /
Created Aug 6, 2020
AWK to get details from /proc/net/tcp and /proc/net/udp when netstat and lsof are not available
# Based on gist
# - added TCP states
awk 'BEGIN{states["01"]="TCP_ESTABLISHED"
qistoph / Temp.ino
Created Nov 9, 2019
Premature termination JSON output
View Temp.ino
#include <OneWire.h>
OneWire ds(D7);
byte addr[8];
byte type_s;
unsigned long readTempAfter;
float celcius = 90;
bool findTemperatureSensor() {
View mock.json
qistoph /
Last active May 3, 2019
Character table generator
encodings = ['cp437', 'iso-8859-15', 'windows-1252']
def chr_str(ch, show_class = False, name = ''):
    outstr = ""
    if ch == '':
        outstr += " NA "
qistoph /
Created May 1, 2019
Simple IMAP server for testing purposes. Copied from bamthomas. Added SSL
# aioimaplib : an IMAPrev4 lib using python asyncio
# Copyright (C) 2016 Bruno Thomas
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
qistoph /
Created Aug 4, 2017
Search a list of hashes for your KeePass stored passwords
# Search a list of hashes for your KeePass stored passwords
# e.g.
# Chris van Marle 2017
# License: GNU GPLv3
use strict;
use warnings;
use Data::Dumper;
qistoph /
Created Jul 21, 2017
Use SSH agent from other client
# See blog for more details:
# Exit if undeclared variables are used
set -o nounset
# Exit if any command exits with error
set -o errexit

Keybase proof

I hereby claim:

  • I am qistoph on github.
  • I am qistoph ( on keybase.
  • I have a public key whose fingerprint is B37C 3DFB 59C7 C15A D215 6B97 611D 9327 CF1A A8F6

To claim this, I am signing this object:

View en.json
"LOADING": "Loading &hellip;"
"TODAY": "Today",
"TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "The day after tomorrow",
"RUNNING": "Ends in",