Skip to content

Instantly share code, notes, and snippets.

View SlimTux's full-sized avatar
💸
https://liberapay.com/slimtux/donate

SlimTux

💸
https://liberapay.com/slimtux/donate
View GitHub Profile
@probonopd
probonopd / Wayland.md
Last active May 5, 2025 11:03
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.


As 2024 is winding down:

@niklaskeerl
niklaskeerl / backup.md
Last active April 27, 2025 20:45
Encrypted backup using an external hard drive with luks and timeshift
@rumansaleem
rumansaleem / clean-up-arch-linux.md
Created May 28, 2019 08:51
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
#!/bin/bash
#
# escapeHTML.sh by Martin Wermers[1], 2018
# Written for my answer on the StackOverflow question 'Include another HTML file in a HTML file':
# https://stackoverflow.com/questions/8988855/include-another-html-file-in-a-html-file/15250208#15250208
#
# This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
# International License. See https://creativecommons.org/licenses/by-sa/4.0 .
#
# Credits to Greg Minshall[2] for the improved sed command that also escapes
@shmup
shmup / torrents.md
Last active May 2, 2025 18:26
transmission blocklist guide

Transmission Blocklist

The Transmission torrent client has an option to set a Blocklist, which helps protect you from getting caught and having the DMCA send a letter/email.

It's as simple as downloading and installing the latest client:

@pkazmierczak
pkazmierczak / emacs-auctex-config.el
Last active October 25, 2023 08:51
This is a Gist that contains all the code snippets from my blogpost about Emacs for LaTeX configuration: http://piotrkazmierczak.com/2010/05/13/emacs-as-the-ultimate-latex-editor/
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq TeX-save-query nil)
;(setq TeX-PDF-mode t)
(require 'flymake)
(defun flymake-get-tex-args (file-name)
(list "pdflatex"
(list "-file-line-error" "-draftmode" "-interaction=nonstopmode" file-name)))
@KingScooty
KingScooty / readme.md
Created November 8, 2012 12:06
Symlinking a folder from a git submodule for use in a project

#Symlink a folder from a git submodule for use in a project

I recently came across a need to try this out on a project i was working on. So here's how to do it, incase anyone else finds themselves in the same situation.

##Set up your submodule in a seperate directory.

Run this command from your project root.

git submodule add http://example.com/repo.git ./submodules/repo