Skip to content

Instantly share code, notes, and snippets.

View mmoollllee's full-sized avatar
🏁
Using SSGs now.. But I like my Wordpress Workflow

Moritz Graf mmoollllee

🏁
Using SSGs now.. But I like my Wordpress Workflow
  • Freelancer
  • Germany
View GitHub Profile
@mmoollllee
mmoollllee / witty_voltage.sh
Last active March 10, 2024 00:18
Read Input Voltage from UUGears Witty Pi 4 on RaspberryPi
#!/bin/bash
# Read voltage from i2c if Wittypi is mounted
# run with `bash witty_voltage.sh`
readonly I2C_MC_ADDRESS=0x08
readonly I2C_VOLTAGE_IN_I=1
readonly I2C_VOLTAGE_IN_D=2
i2c_read()
{
@mmoollllee
mmoollllee / vendor--cookieconsent.js
Last active July 19, 2022 15:24
Osano Cookie Consent Opt-In Example with Google Analytics & Leadfeeder
/**
* To use this one, you need https://github.com/osano/cookieconsent/tree/master or https://www.osano.com/cookieconsent/download/
* Example: https://3sechzig.eu/
*/
window.addEventListener("load", function () {
/**
* Hide Privacy Controls on Privacy-Page.
* Privacy Controls might look like this: