Skip to content

Instantly share code, notes, and snippets.


Sönke J. Peters speters

View GitHub Profile
speters /
Created May 23, 2021
git repo search for non-stripped files
# 20210523 by Soenke J. Peters @
# search for files with symbols (not stripped) or containing debug_info in a git repository
# as there are sometimes interesting leftovers which are a good start for RE
speters /
Last active May 22, 2021
oeserverd/oexserverd options
-a              Version info
-d              Debug
-p <pipename>   named pipe name
-s              test is dongle available (0=no, 1=yes)
-t              get dongle serial number (0 if no dongle)
-k <fileprefix> Make SGLock fingerprint (fpr file)
-g <fileprefix> Make fingerprint (fpr file)
View PrusaSlicer_CR6SE_end.gcode
G91 ;Relative positioning
G1 E-2 F2700 ;Retract a bit
G1 E-2 Z0.2 F2400 ;Retract and raise Z
G1 X5 Y5 F3000 ;Wipe out
G1 Z10 ;Raise Z more
G90 ;Absolute positioning
; G1 X0 Y400 ;Present print *CR-6 Max version*
G1 X0 Y235 ;Present print *Regular Cr-6 SE version
M106 S0 ;Turn-off fan
M104 S0 ;Turn-off hotend
speters /
Last active Jul 14, 2020
/usr/bin/freecad wrapper to always start latest version
FCLATEST=$(ls -t1 $HOME/.local/bin/FreeCAD*AppImage | head -n1)
if [ -x ${FCLATEST} ] ; then
exit 1
speters / androidmail_getaddresses.sql
Last active Jan 16, 2020
get email addresses from Android E-Mail app
View androidmail_getaddresses.sql
/* with kind regards to */
WITH RECURSIVE split(predictorset_id, predictor_name, rest) AS (
SELECT _id, '', fromList || char(1) || toList || char(1) FROM Message WHERE _id
SELECT predictorset_id,
substr(rest, 0, instr(rest, char(1))),
substr(rest, instr(rest, char(1))+1)
FROM split
WHERE rest <> '')
View nvpedia_cov.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
speters / embed-images.user.js
Created Jan 31, 2019
Violentmonkey/Greasemonkey userscript to embed images on selected sites
View embed-images.user.js
// ==UserScript==
// @name Embed images on selected sites
// @namespace 7d47d98c-acd8-434f-b058-72f9ce028241
// @version 0.1
// @description Turn image URLs into embeded images.
// @author Print
// @match *://*
// @grant none
// ==/UserScript==
View Logitech Gamepad F310.cfg
input_device = "Logitech Gamepad F310"
input_driver = "udev"
input_vendor_id = 1133
input_product_id = 49693
input_a_btn = "1"
input_reset_btn = "1"
input_b_btn = "0"
input_x_btn = "3"
input_y_btn = "2"
input_menu_toggle_btn = "2"
View NavTex_Receiver_by_kutt.c
* Einfacher Navtex-Empfaenger
* von Martin Kuettner <> 03/2016
* Portierung des 80C51 Assembler Programms aus "A NAVTEX Receiver for the DXer":
* Klaus Betke, Am Entengrund 7, D-26160 Bad Zwischenahn, Email:
* 11-AUG-00 / 01-OCT-00
View sipdial.ino
/* ====================================================================
* Copyright (c) 2018 Juerge Liegner All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.