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 August 5, 2026 17:26 — 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 November 9, 2026 03:03
Installing Microsoft Office in Linux

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

You can either run a normal Windows virtual machine (e.g. in virt-manager or virtualbox or gnome-boxes) to run any Windows apps, including Microsoft Office, but there is further integration into the Linux host system.

Some other apps - such as LinOffice, Winapps, Winboat or Cassowary - try to integrate Windows apps, including Office, into the Linux desktop. They create launchers for MS Office apps that you can start from Linux and then, using freerdp in the background, Office apps run in normal app window integrated into the Linux desktop, they have access to the files on your Linux /home, share the clipboard

@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 June 11, 2026 06:44
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 November 8, 2026 14:04
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