Docker daemon messes up iptables configuration.
>/etc/docker/daemon.json cat <<EOF
{
"iptables": false
diff --git a/src/backend/main/main.c b/src/backend/main/main.c | |
index 51ffb8e773..c92d25c77b 100644 | |
--- a/src/backend/main/main.c | |
+++ b/src/backend/main/main.c | |
@@ -49,7 +49,6 @@ static bool reached_main = false; | |
static void startup_hacks(const char *progname); | |
static void init_locale(const char *categoryname, int category, const char *locale); | |
static void help(const char *progname); | |
-static void check_root(const char *progname); | |
# This file is a library of Bash functions useful in practice for writing | |
# reliable scripts. | |
# | |
# References: | |
# • https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html | |
# These function accept variable names instead of their values to make misuse | |
# harder. In particular, $(…) expressions do not fail the script even if errexit | |
# is set. Instead of `printf '{"string":"%s"}' "$(escapeJSONString "$v")", write | |
# `escapeJSONString v && printf '{"string":"%s"}\n' "$v"` (or equivalent). |
/** | |
* @name TextReplacement | |
* @author Ivan Trubach | |
* @authorId 783087994419675201 | |
* @description Enable autocorrect for messages, specifically text replacements on macOS. | |
* @version 0.0.4 | |
*/ | |
const memoSymbol = Symbol.for("react.memo") |
0 5 * * * opkg update && opkg list-upgradable | cut -d ' ' -f 0 | xargs -r opkg --autoremove upgrade -- && reboot |
/* | |
// Poor man’s C++ solution. | |
#include<algorithm> | |
#include<string> | |
#include<iostream> | |
int main() { | |
int n, k; | |
std::cin >> n >> k; |