I hereby claim:
- I am c7h on github.
- I am c7h (https://keybase.io/c7h) on keybase.
- I have a public key ASCdetH8IgkxSS8N_CBwRxZhqthPiFpK-iGS4vlIn1vtUQo
To claim this, I am signing this object:
""" | |
Generate custom grammar to fuzz Open5GC NFDiscovery | |
endpoint with a maximum of 13 parameters a a time | |
""" | |
import sys | |
imports = r""" | |
from __future__ import print_function | |
import json | |
from engine import primitives |
""" | |
Cookie RCE for Cryptopaste server | |
""" | |
import requests | |
import os | |
import pickle | |
import base64 | |
target = "http://localhost:1337/" |
# Install a pip package in the current Jupyter kernel | |
import sys | |
!{sys.executable} -m pip install plotly |
#!/bin/bash | |
ADDRESS=0x27 | |
printf "76543210 76543210\n" | |
while : | |
do | |
v=$(i2cget -y 0 $ADDRESS 0x00 w) | |
echo ${v: -4:4} | xxd -r -p | xxd -b | awk '{split($0,a," "); printf "%s %s\r", a[2], a[3]}' | |
done |
/* Rotary Dial encoder | |
encode the rotary dial of an old analog phone. | |
by Christoph Gerneth | |
*/ | |
const int active_pin = 2; | |
const int pulse_pin = 3; | |
int number_counter = 0; | |
int last_pulse_state = 0; // last state of the rotary dial pulser | |
int last_active_state = 0; |
Two versions of the same library behave completely different :-/ | |
the PI | |
``` | |
Python 3.4.2 (default, Oct 19 2014, 13:31:11) | |
[GCC 4.9.1] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import json | |
>>> try: |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/perl | |
my $user_c = 0; | |
my $user_min = 0; | |
my @ip = (); | |
while(<>) { | |
if (m/(^\w+).*(\d{2}:\d{2})/) { | |
if ($1 eq 'christoph'){ | |
$user_c++; # user_zaehler erhöhen |
class BinSearchTreeElement(object): | |
def __init__(self, data, leftTree=None, rightTree=None): | |
self.data = data | |
self.left = leftTree | |
self.right = rightTree | |
def add(self, element): | |
if element <= self.data: | |
self._insertElement(self.left, element) | |
else: |
__author__ = 'Christoph Gerneth' | |
from csv import DictWriter | |
from random import randrange | |
filename = 'data.csv' | |
label = ['x-axis', 'y-axis'] | |
with open(filename, 'w') as f: | |
csvw = DictWriter(f, fieldnames=label) | |
csvw.writeheader() |