Skip to content

Instantly share code, notes, and snippets.

View PaulGoldschmidt's full-sized avatar
🧑‍🍳
Cookin'

Paul Goldschmidt PaulGoldschmidt

🧑‍🍳
Cookin'
View GitHub Profile
@PaulGoldschmidt
PaulGoldschmidt / zammad.conf
Created February 17, 2024 20:32
Zammad Docker Compose Internal server configuration
# this is the nginx config for zammad
#
upstream zammad-railsserver {
server 127.0.0.1:3000;
}
upstream zammad-websocket {
server 127.0.0.1:6042;
}
@PaulGoldschmidt
PaulGoldschmidt / qingping-awnser.json
Created May 25, 2024 18:24
Demo JSON Awnser (prettified) of Qingping API.
{
"total": 1,
"devices": [
{
"info": {
"mac": "YOUR_MAC_ADRESS",
"product": {
"id": 1203,
"code": "CGDN1",
"name": "青萍空气检测仪 Lite",
@PaulGoldschmidt
PaulGoldschmidt / github-markdown-cheats.md
Last active December 15, 2025 07:05
My notes for not so popular Markdown commands copied shamelessly from random repos

Warning

Embedded Swift is experimental. Some information on this page might be out of date with latest development.

Tip

Helpful advice for doing things better or more easily.

Important

Use the latest downloadable 'main' Development Snapshot from swift.org to use Embedded Swift. Public releases of Swift do not yet support Embedded Swift.

[!NOTE]

@PaulGoldschmidt
PaulGoldschmidt / buergerportal-sampledecoder.js
Created October 1, 2024 09:13
Sample Decoding Function / payload formatter for the Heidelberg Buergerportal
function decodeUplink(input) {
var temp = input.bytes[0] << 24 | input.bytes[1] << 16 | input.bytes[2] << 8 | input.bytes[3];
var hum = input.bytes[4] << 24 | input.bytes[5] << 16 | input.bytes[6] << 8 | input.bytes[7];
var pressure = input.bytes[8] << 24 | input.bytes[9] << 16 | input.bytes[10] << 8 | input.bytes[11];
var gas = input.bytes[12] << 24 | input.bytes[13] << 16 | input.bytes[14] << 8 | input.bytes[15];
return {
data: {
temperature: temp / 100,
humidity: hum / 1000,
@PaulGoldschmidt
PaulGoldschmidt / direct-transformer.py
Last active October 19, 2024 15:54
A script to transform the keepass .csv-export to a format that is importable by the native apple password application.
import csv
import getpass
from pykeepass import PyKeePass
# Function to decrypt the KeeWeb file and transform it to CSV
def transform_kdbx_to_csv(kdbx_file, output_csv):
# Ask for KeeWeb password securely via CLI
password = getpass.getpass("Enter KeeWeb (KeePass) database password: ")
# Open the KeePass database using pykeepass
@PaulGoldschmidt
PaulGoldschmidt / ignoredsstore.sh
Last active October 25, 2024 18:38
Git ignore .DS_Store Globally
echo .DS_Store >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
@PaulGoldschmidt
PaulGoldschmidt / 0_instructions.md
Created February 7, 2025 16:13
Proof of concept: Pixxi.io Buster Script - Download Pictures w/o watermarks & in full quality

Breaking Pixxi.io's Watermarks: Proof of concept script

Alright, "breaking" punches a little bit above the weight class in this context: It turns out that Pixxi.io puts the watermark on the pictures as they are being fetched from their backend servers. Also, the quality is given by an additional url parameter. I have no clue why one should ever do this, as this increases server load and makes the whole concept of watermarking completly useless, but here we are.

Caution

Do not do stuff that you are not supposed to do :)

Usage:

  • Get all the backend urls by opening the networking tab, then export the HAR Footprint of the network activity as a file ending in .har
  • Run pixxibuster.py to extract the image urls to a new file