Skip to content

Instantly share code, notes, and snippets.

View poudenes's full-sized avatar

Peter Oudenes poudenes

View GitHub Profile
@rootiest
rootiest / PREP_PRINT.cfg
Last active April 22, 2024 18:52
SuperSlicer Super Start for Klipper
[gcode_macro PREP_PRINT]
description: Loads and starts the print
variable_x_max: 0
variable_y_max: 0
variable_z_max: 0
variable_nozzle: 0
variable_fila_dia: 0
variable_bed_temp: 0
variable_extruder_temp: 0
variable_chamber_temp: 0
@Acqua-H
Acqua-H / panel-redirect.js
Last active December 14, 2022 11:17 — forked from balloob/panel-redirect.js
Add items to the Home Assistant sidebar to any path in Home Assistant
/*************************************************************************************************************************
* Purpose: Add items to the Home Assistant sidebar to any path in Home Assistant
* Many thanks to balloob https://gist.github.com/balloob for his initial code (see link in Change Log)
* -------------------------------------------------------------------------------------------------------
* Resources and References:
* - Current Code Source https://gist.github.com/Acqua-H/a33ef5bd5a95f14c5888494565bb0436
* - HA Forum Thread https://community.home-assistant.io/t/how-to-add-a-restart-home-assistant-button-to-sidebar/214179/2
* - Acqua https://github.com/Acqua-H/ | https://community.home-assistant.io/u/acqua/
* -------------------------------------------------------------------------------------------------------
* Change Log:
@HeadHodge
HeadHodge / How I use Hassio as a Universal Ir Remote.md
Last active August 12, 2021 16:29
How I use Hassio as a Universal Ir Remote

How I use Hassio as a Universal Ir Remote

OVERVIEW:

Hello, 😀

I've been using Hassio for over a year now and am generally happy with it. I use it to control fireplaces, shades, lights, etc., but mainly use it to control my entertainment systems.

For my Ir blaster, I currently use a Broadcom's RM Mini3

@lucabelluccini
lucabelluccini / rpi4.boot-from-sd-rootfs-on-usb.md
Last active October 13, 2023 12:38
Raspberry Pi 4 - Boot from SD, Rootfs on USB

Raspberry 4B - Boot from SD and rootfs on USB

Update

RPi4 now supports booting directly from USB. First update to get an eeprom which supports USB Boot, then configure the bootloader to boot from USB.

Original guide

  1. Download Raspbian from the official site
@ronmichel
ronmichel / lambda_function.py
Last active February 28, 2020 16:26 — forked from unaiur/HaasaLittle.py
Simpler and faster version of Haaska AWS Lambda in https://github.com/mike-grant/haaska
#!/usr/bin/env python3.7
# coding: utf-8
# Copyright (c) 2019 Unai Uribarri <unaiur@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@AdamNaj
AdamNaj / about.md
Last active July 13, 2022 19:50
Z Wave Graph for Home Assistant
@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git