Skip to content

Instantly share code, notes, and snippets.

@deepcoder
deepcoder / birdnet_to_mqtt.py
Last active May 19, 2024 15:54
BirdNET to MQTT publishing for Home Assistant consumption
#! /usr/bin/env python3
# birdnet_to_mqtt.py
#
# 202306171542
#
# monitor the records in the syslog file for info from the birdnet system on birds that it detects
# publish this data to mqtt
#
import time
@matt2005
matt2005 / lambda_function.py
Last active May 19, 2024 15:50 — forked from awarecan/lambda_function.py
Alexa Smart Home Skill Adapter for Home Assistant
"""
Copyright 2019 Jason Hu <awaregit at gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@zhanglaocai
zhanglaocai / Crack Sublime Text Windows and Linux.md
Created May 19, 2024 15:48 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active May 19, 2024 15:48
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@eylenburg
eylenburg / msoffice_in_linux.md
Last active May 19, 2024 15:47
Installing Microsoft Office 2016 (Excel, Powerpoint, Word) in Linux

Step by step guide: How to install Microsoft Office 2016 in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows VM as native-looking in Linux

  1. Winapps, based on KVM, QEMU, Virt-Manager, and FreeRDP. Still actively maintained (getting Github commits).
  2. Cassowary, based on KVM, QEMU, Virt-Manager, and FreeRDP. Has a helpful GUI and apparently can auto-suspend the VM when no Windows app is in use. Last release in Feb 2022 and seems to be abandoned.

The VM-based options means can run Office 2021 or Office 365 including all apps, but for me it was quite buggy and when I encounterd some (FreeRDP-related?) bug in both Winapps and Cassowary that meant I could only start Excel with an external screen plugged in, I gave up. bug

@cbuckowitz
cbuckowitz / README.md
Last active May 19, 2024 15:47
Change Storage Location for Docker Desktop with WSL2 #DockerDesktop #WSL2

Change the Storage Location for Docker Desktop with WSL2

Docker Desktop stores docker data in 2 distros

  • docker-desktop
  • docker-desktop-data

These distros are installed on the system drive by default.

To move them to another drive, these distros can be exported, deleted and imported from the new location.

@danboid
danboid / gist:82a3a15282733b3da2343cdec336c748
Last active May 19, 2024 15:45
Installing Workbench 3.1 for the Amiga 600 or 1200 to a rdb disk image under (Debian/Ubuntu) Linux
Installing Workbench 3.1 for the Amiga 600 or 1200 to a rdb disk image under (Debian/Ubuntu) Linux
The floppy drive on my Amiga 600 is broken so I had to work out how to install Workbench onto an SD card so that I could boot and use my Amiga. Every guide I found online was based around either WinUAE or the Windows version of FS-UAE but this guide describes how to install Workbench 3.1 from scratch using fs-uae under Linux.
Whilst it is possible to boot and run Workbench 3.x from a Workbench 3.x floppy using a Kickstart 2.x ROM, the WB installer doesn't let you install WB3.1 to HD without using a 3.x Kickstart. Neither WinUAE nor FS-UAE allow you to use a 3.x Kickstart when emulating a A600 so you have to emulate an A1200 to install WB 3.x.
I downloaded all 6 Workbench 3.1 disks from here:
https://fsck.technology/software/Commodore/Amiga/Workbench%20and%20AmigaOS/Amiga%20Workbench%203.1/Commodore/
@ivomts
ivomts / sources.list
Created January 17, 2013 18:11
My Ubuntu's 12.04 repository list file
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted
@Ishotihadus
Ishotihadus / atr.md
Last active May 19, 2024 15:40
ATR503文元ネタ集

ATR 音素バランス 503 文元ネタ集

判明している音素バランス文の元ネタを集めた。

Subset A

a01: あらゆる現実をすべて自分のほうへねじ曲げたのだ。

「マルサの女 撮影日記」(伊丹十三)(文藝春秋 1987 年 2 月)(c03、g01 と同一)