Skip to content

Instantly share code, notes, and snippets.

Zenexer / config.yml
Last active February 15, 2018 02:57
Banned items for Earth2Me Tekkit server.
View config.yml
# Configuration for ForgePlugin.
# General settings.
# Note: At optimal performance levels, there are 20 ticks per second.
# After a chunk is loaded, it will be re-checked to ensure that it should be remain loaded. Specify the number of
# minutes (ticks-per-second-dependent) before that check occurs. Negative to disable (default).
recheck-delay: 3
Zenexer / authorized_keys
Last active March 7, 2022 17:07
My public keys, in OpenSSH format.
View authorized_keys
## BEGIN paul ##
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDqA95ZvPJJvrQYPC99ENK3gyAuT9f65IcGygT0icluYucZ9JU017gk/Qhw234PHTdt2ZzIrnC5Sju2ppX+b+oIrUtsc+QIF6lgkFVbv2ab6yvSJYkMWys08zygEmdr6ZfIq+1f92EXuSJ0M3tbRBnvmY4JxM1VBGeampNyMKddv2UgEEcjHMKQWlWrEc0syTQ7dLIHCaxqbRoy05+6jRrwyTgREQUh8RmBZJHKsHH73kHGla56ECrF5RWm1gDZToMZn+2aCJwMVqlB6VMEtHIF/1Xbv/akUCag8r7sbfz5GMtr5LdRPvULn/1z5LIGRVP7kAjU4Yr03OdqvfE9Nj8TtLCVigh7QJy8T2bCuplvcI1dvepI/5j9Xz2srB7m87puoM0rridJv1uIy3z0WrB5RHt6QeTQkT83+rrz7M9ejeBPxy6dQennJbWGC2YvgFmRTrNnZdtXArUN9GP/CACkHpk9JsrxmHZ2K/FqHR7/ezJrlloeZ4kCpYzQ9Vk7dobfR0m/fkDzU9iZQ1JpPem8ZMM5Rd/Mu0BmNHooyb9soxUcgBTGnESFDuCzGEZCCCnuYBDWh3G2vFcrCrrNBCTJ/N3iColHWLIqxGMU9l8iwpdY+Oyj5NSUFnOTSkQgRbzgo239zzcSigCUxuseD1up71ibZHW9fpreb39lEaROLQ== paul@0xA114C32065F79325
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFiz+mAZk9LIAjQwU4rf3v0qJApzzcQpbiriKVMSLP9v paul@0x5FE65994C25390B6
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZrrtY2Z1nWaa65hwQmOXEnw/3AIZb3xJGCH8YLXvwp paul@mgmt
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIbxRyayaQL9fCRlQicMwmHmW1
if [ $# -lt 1 ]; then
echo "Syntax: $_ USER[ USER[ ...]]" >&2
exit 1
for user in "$@"; do
Zenexer / cloner.js
Last active December 19, 2015 07:09
View cloner.js
(function(context, attachPrototype) {
// obj: Object or scalar to clone. Accepts any value or lack thereof. Technically optional.
// deep: Whether to perform a deep clone. Defaults to false (shallow clone). Optional.
// deepFunctions: Whether to clone functions when deep cloning. Unless you are doing some fancy voodoo,
// this should remain at the default of false, as these often represent types. Don't
// mess with this unless you understand the consequences of cloning a type complete
// in-tact, which is almost never what you want to do. Optional.
// NOTE: This will fail to clone properties created using ECMA 5's Object.defineProperty function. Provided
// that defineProperty is used with adequate discretion, this should not become an issue. However, if
Zenexer / lscron
Last active December 20, 2015 01:18
List all cronjobs on system.
View lscron
for user in $(cut -f1 -d: /etc/passwd); do
CRONTAB="$(sudo crontab -u "$user" -l 2> /dev/null | sed '/^[[:space:]]*#/d; /^[[:space:]]*$/d')"
if (( $? )) || [ -z "$CRONTAB" ]; then
echo "# CRONTAB FOR: $user"
Zenexer / Mac Keyboard
Last active April 26, 2023 10:25
List of Mac/Apple keyboard symbols
View Mac Keyboard
Zenexer / Internet Slang and
Last active February 14, 2022 23:32
Internet slang, abbreviations, and emoticons
Zenexer / Disable Windows
Last active June 19, 2023 17:22
Permanently disable Windows Defender and other annoyances in Windows.
View Disable Windows


  • To disable a service, download Disable<Service>.reg and double-click to import. (Replace <Service> with the name of the service you want to disable.)
  • To re-enable a service, download Enable<Service>.reg and double-click to import. (Replace <Service> with the name of the service you want to enable.)

Note that if you save the files by copying them into a text editor, they may need to be saved with Windows-style line endings (\r\n).


# Moved:
View escapetest.c
// Compile with -std=c11
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
#include <limits.h>
#define MAX_STR_LEN 4095