This gist has moved to a proper git repo so people can make pull requests: https://github.com/Zenexer/internet-reference/blob/main/Mac%20Keyboard%20Symbols.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for ForgePlugin. | |
--- | |
# General settings. | |
# Note: At optimal performance levels, there are 20 ticks per second. | |
settings: | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -lt 1 ]; then | |
echo "Syntax: $_ USER[ USER[ ...]]" >&2 | |
exit 1 | |
fi | |
exit_code=0 | |
for user in "$@"; do | |
home="/home/$user" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
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 | |
continue | |
fi | |
echo "# CRONTAB FOR: $user" |
This gist has moved to a proper git repo so people can make pull requests: https://github.com/Zenexer/internet-reference/blob/main/Internet%20Slang%20and%20Emoticons.md
- 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
).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Moved: https://github.com/Zenexer/passgen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
OlderNewer