Skip to content

Instantly share code, notes, and snippets.

View rufinus's full-sized avatar

Ludwig Ruderstaller rufinus

View GitHub Profile
@rufinus
rufinus / .gitlab-ci.yml
Last active June 14, 2017 23:10
Symfony DockerCompose
stages:
- test
- build
- deploy
cache:
key: 'mailingowl-composer-cache'
paths:
- .composer-cache
ServerRoot "/usr/local/apache2"
#Listen 12.34.56.78:80
Listen 80
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
LoadModule authn_core_module modules/mod_authn_core.so
@rufinus
rufinus / json card
Last active September 1, 2022 17:53
"CWD Card Template": {
"Column_height_order": "3",
"Column_spacing": "1.26",
"Column_step": "1",
"Custom_material_type": "",
"First_layer_height": "0.2",
"Horizontal_padding": "2.48",
"Label_alignment": "0",
"Label_corner_radius": "0",
"Label_depth": "3",
- platform: rest
name: voron24_sensor
resource: "http://192.168.8.25:7125/printer/objects/query?heater_bed&extruder&print_stats&toolhead&display_status&virtual_sdcard&temperature_sensor%20raspberry_pi&temperature_sensor%20MCU&temperature_sensor%20chamber_temp"
json_attributes_path: "$.result.status"
json_attributes:
- heater_bed
- extruder
- print_stats
- toolhead
- display_status
import serial
import time
from cryptography.hazmat.primitives.ciphers.aead import AESGCM
from binascii import unhexlify
import sys
import string
import paho.mqtt.client as mqtt
import xml.etree.ElementTree as ET
from gurux_dlms.GXDLMSTranslator import GXDLMSTranslator
from bs4 import BeautifulSoup