Skip to content

Instantly share code, notes, and snippets.

@mhorst00
mhorst00 / homed-aeon.md
Last active September 17, 2024 18:37
Systemd-homed on OpenSUSE Aeon

Setting up systemd-homed on OpenSUSE Aeon

  1. Set up PAM correctly:
sudo pam-config -a --systemd_home
  1. Enable systemd-homed.service on boot:
sudo systemctl enable --now systemd-homed
@zoidy
zoidy / autoDeleteGmail.js
Last active October 25, 2025 13:23 — forked from jordanlambrecht/autoDeleteGmail.js
Auto Delete / Archive Emails in Gmail
/*
Original Sources:
- https://pixelbakery.com/recipes/gmail-automatically-delete-or-archive-emails
- https://benbjurstrom.com/purge-email
v1.1
https://gist.github.com/zoidy
Auto-archive and delete Gmail messages based on a defined retention period. Functionality:
- Uses Gmail labels to apply retention rules (archive or delete)
@eylenburg
eylenburg / msoffice_in_linux.md
Last active December 6, 2025 05:53
Installing Microsoft Office in Linux

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

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

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

  1. LinOffice - Microsoft Office Launcher for Linux, my own fork of Winapps which is focused on only running Microsoft Office, with some Office-specific improvements over Winapps and a fully automated setup. Eventually I would like to create a GUI for it. Decribed below
  2. Winapps, based on KVM, QEMU, Docker/Podman and FreeRDP. Still actively maintained (getting Github commits). Decribed below
  3. Cassowary, based on KVM, QEMU, libvirt/virt-manager, and FreeRDP. Last release in Feb 2022 and seems to be abandoned.
@vdbsh
vdbsh / riprunner.bat
Last active October 27, 2024 11:58
This script will launch your executable and terminate it after its window will be closed. Useful for hunting down zombie processes.
@ECHO off
ECHO ++++++++++++++++++++
ECHO + riprunner 1.0 +
ECHO ++++++++++++++++++++
rem This script will launch your executable and terminate it after its window will be closed.
rem Useful for hunting down zombie processes.
rem
rem (i) Possible start priorities: LOW, NORMAL, HIGH, REALTIME, ABOVENORMAL, BELOWNORMAL.
rem (i) Timeout between checks are set in seconds.
@johnathanmay
johnathanmay / logitech-mx-master-3-extras-for-linux-with-logiops.md
Last active November 29, 2025 09:34
How to install and configure PixlOne's logid to program Logitech MX Master 3 buttons on Linux.

Logitech MX Master 3 Extras for Linux With logiops

The Logitech Options program isn't available for Linux, but by a nice guy on GitHub (PixlOne) created an open source project that lets you obtain some of that functionality. It's called logiops. It works in conjunction with the Solaar project as well, which I find especially handy since that shows your available battery life in the system tray and lets you pair/unpair devices with the Logitech Unifying Receiver.

Here are some additional pages with info that I used to generate this documentation:

@willurd
willurd / web-servers.md
Last active December 5, 2025 14:02
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000