Skip to content

Instantly share code, notes, and snippets.

View nothub's full-sized avatar
💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢

Florian Hübner nothub

💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢
  • Cloudogu
  • 20:18 (UTC +02:00)
View GitHub Profile
@sneakers-the-rat
sneakers-the-rat / clean_pdf.sh
Last active February 10, 2025 18:41
Strip PDF Metadata
# --------------------------------------------------------------------
# Recursively find pdfs from the directory given as the first argument,
# otherwise search the current directory.
# Use exiftool and qpdf (both must be installed and locatable on $PATH)
# to strip all top-level metadata from PDFs.
#
# Note - This only removes file-level metadata, not any metadata
# in embedded images, etc.
#
# Code is provided as-is, I take no responsibility for its use,
@tkren
tkren / gpg-export-wkd.sh
Last active February 24, 2025 14:30
Setup a static OpenPGP Web Key Directory for your own domain using gnupg and sequoia-sq
#!/usr/bin/env bash
#
# gpg-export-wkd.sh: Uses gnupg and sequoia-sq to generate a Web Key Directory.
# See https://tools.ietf.org/html/draft-koch-openpgp-webkey-service-11 and
# https://wiki.gnupg.org/WKD for details.
#
# Prerequisite: gpg and sq must be located through the PATH.
# Install sq with `crate install sequoia-sq`
# See also https://crates.io/crates/sequoia-sq
#
@comp500
comp500 / big_list_of_modpack_things.md
Last active February 19, 2025 18:30
Big List of Modpack Things

Big List of Modpack Things

Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/

This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.

Distribution platforms

Name Type Number of mods/packs Popularity (Similarweb rank) Official launcher Third-party support Open Source backend Author rewards
CurseForge Public 31,000 mods; 38,000 modpacks #1410 Yes Many No Yes
Modrinth Public 2000 mods #79,182 In development ATLauncher, packwiz, pacmc, modweaver Yes Planned
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active April 26, 2025 07:11
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@rueycheng
rueycheng / GNU-Make.md
Last active April 6, 2025 14:43
GNU Make cheatsheet
@ageis
ageis / systemd_service_hardening.md
Last active April 24, 2025 14:38
Options for hardening systemd service units

security and hardening options for systemd service units

A common and reliable pattern in service unit files is thus:

NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
@citrusui
citrusui / control
Last active February 20, 2025 18:54
Comprehensive Debian control file example
Package: com.example.package
Name: Example Package
Description: An example package.
This longer description will load when a depiction URL is not specified.
Author: Ms. Example <[email protected]>
Maintainer: Example, Inc. <[email protected]>
Version: 1.0-1
Section: Addons (SpringBoard)
Pre-Depends: com.example.system
Depends: com.example.library
@fernandezpablo85
fernandezpablo85 / git-maven-howto.md
Last active September 22, 2024 11:36
how to create your own maven repository on github

How to create a maven repository for your github project step by step

Clone your project in a separate folder

(note: replace ORGANIZATION and PROJECT)

git clone git clone [email protected]:ORGANIZATION/PROJECT.git my-repository

Cd into it

@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active April 25, 2025 13:55
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@prwhite
prwhite / Makefile
Last active April 19, 2025 09:46
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing