-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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import tr064 | |
import argparse | |
import configparser | |
from os import path | |
from socket import gethostbyname_ex | |
from time import sleep | |
args = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# git-search-exe.sh | |
# 20210523 by Soenke J. Peters @ opcenter.de | |
# | |
# 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 | |
DIR=$1 | |
CWD=$(pwd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
FCLATEST=$(ls -t1 $HOME/.local/bin/FreeCAD*AppImage | head -n1) | |
if [ -x ${FCLATEST} ] ; then | |
${FCLATEST} | |
else | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* with kind regards to http://www.samuelbosch.com/2018/02/split-into-rows-sqlite.html */ | |
WITH RECURSIVE split(predictorset_id, predictor_name, rest) AS ( | |
SELECT _id, '', fromList || char(1) || toList || char(1) FROM Message WHERE _id | |
UNION ALL | |
SELECT predictorset_id, | |
substr(rest, 0, instr(rest, char(1))), | |
substr(rest, instr(rest, char(1))+1) | |
FROM split | |
WHERE rest <> '') | |
SELECT DISTINCT |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 *://forum.zerspanungsbude.net/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |