Skip to content

Instantly share code, notes, and snippets.

View amiga whload
https://gamesnostalgia.com/whdownload
View telegram alerts from home assistant
https://hometechhacker.com/using-a-telegram-bot-for-home-assistant-notifications/#more-3826
View minesweeper.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>boo</title>
<link rel="stylesheet" href="mohan.css">
</head>
<body>
View dae-fix-units.py
import easygui
import xml.etree.ElementTree as ET
import sys
easygui.msgbox('Welcome. Click OK to select a DAE file to fix', 'DAE fix units')
inputfile = easygui.fileopenbox()
ET.register_namespace('', "http://www.collada.org/2005/11/COLLADASchema")
tree = ET.parse(inputfile)
root = tree.getroot()
assetTag = root[0]
View play-playlist-automation.yaml
alias: play-playlist
description: ''
trigger: []
condition: []
action:
- repeat:
while:
- condition: template
value_template: '{{ repeat.index <= states.sensor.files.attributes.number_of_files }}'
sequence:
View raspbian from script switch to virtual console and run script
https://github.com/osospeed/ttyecho
http://www.aoakley.com/articles/2016-12-29-raspberry-pi-retropie-pixel-desktop.php
View speed up raspbian boot time
http://himeshp.blogspot.com/2018/08/fast-boot-with-raspberry-pi.html
https://kevinsaye.wordpress.com/2020/02/18/fast-booting-raspbian-on-a-pi-3-in-less-than-8-secon/
systemd-analyze plot > graph.svg
rootflags=fastboot
View raspbian backup to img file
https://www.raspberrypi.org/forums/viewtopic.php?t=247568#p1511694
https://github.com/seamusdemora/RonR-RPi-image-utils
View clock.py
#---------------------------------------------------------------------------------------------------------------------
# A dawn clock utitlising the following technologies: raspbian desktop, lvgl, micropython, linux framebuffer
# Issues: screen resolution, date/time from network or RTC, how to set reminders
'''
How to install from scratch:
1. Install Raspberry Pi Desktop to SD card.
2. Follow build instructions from here https://github.com/lvgl/lv_micropython#build-instructions
It will take a while, at the end you will have ~/lv_micropython/port/unix/micropython
View atari 800.txt
https://retropie.org.uk/forum/topic/20151/fastforward-and-slowmotion-can-t-be-removed-once-hotkey-is-set-to-nul/3
That's the default keyboard FF (space) mapping for RetroArch. You should modify the global retroarch.cfg and specifically disable them with
# Toggles between fast-forwarding and normal speed.
input_toggle_fast_forward = nul
# Hold for fast-forward. Releasing button disables fast-forward.
input_hold_fast_forward = nul