This file contains hidden or 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
--- atop-2.1.1/atop.c.orig 2014-09-06 17:12:52.000000000 +0400 | |
+++ atop-2.1.1/atop.c 2016-12-20 18:57:25.733100314 +0300 | |
@@ -299,7 +299,6 @@ | |
#include "parseable.h" | |
#define allflags "ab:cde:fghijklmnopqrstuvwxyz1ABCDEFGHIJKL:MNOP:QRSTUVWXYZ" | |
-#define PROCCHUNK 100 /* process-entries for future expansion */ | |
#define MAXFL 64 /* maximum number of command-line flags */ | |
/* |
This file contains hidden or 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
''' | |
/etc/unbound/unbound-unknown2fake.py | |
Required packages: unbound, python-unbound | |
unbound.conf should contain: | |
server: | |
module-config: "validator python iterator" | |
python: |
This file contains hidden or 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
diff --git a/usr/share/genmkfile/make-helper.bsh b/usr/share/genmkfile/make-helper.bsh | |
index 46596fc..8621814 100755 | |
--- a/usr/share/genmkfile/make-helper.bsh | |
+++ b/usr/share/genmkfile/make-helper.bsh | |
@@ -10,6 +10,18 @@ | |
## master location: | |
## https://github.com/Whonix/genmkfile/blob/master/usr/share/genmkfile/make-helper.bsh | |
+# Workaround "No such file or directory" bug.. | |
+realpath_binary="$(which realpath 2>/dev/null)" |
This file contains hidden or 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
"use strict"; | |
var page = require('webpage').create(), | |
system = require('system'), | |
imgname; | |
if (system.args.length === 1) { | |
console.log('Usage: http2check.js <imagename>'); | |
phantom.exit(1); | |
} |
This file contains hidden or 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
--- nginx-1.13.5/src/http/ngx_http_file_cache.c.orig 2017-09-05 17:59:32.000000000 +0300 | |
+++ nginx-1.13.5/src/http/ngx_http_file_cache.c 2017-09-07 12:07:01.129832120 +0300 | |
@@ -542,7 +542,8 @@ | |
if ((size_t) n < c->header_start) { | |
ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0, | |
- "cache file \"%s\" is too small", c->file.name.data); | |
+ "cache file \"%s\" is too small (actual = %z, required = %uz)", | |
+ c->file.name.data, n, (size_t)c->header_start); | |
return NGX_DECLINED; |
This file contains hidden or 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/sh -e | |
# Autoinstall latest driver for Intel 10/40 GbE network cards from official site under CentOS 7 | |
# Written by [email protected] | |
# Distributed as public domain | |
# Last updated on 09-March-2019 | |
INSTALL_ME_SO=' | |
yum install -y wget make gcc "$(rpm -qf --qf '%{NAME}' /boot/vmlinuz-$(uname -r))-devel" && | |
cd /etc/kernel/postinst.d/ && |
This file contains hidden or 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
server { | |
listen 80; | |
listen [::]:80; | |
server_name mail.remotesrv.ru; | |
location /.well-known { alias /var/www/letsencrypt/.well-known; } | |
location / { return 308 https://mail.remotesrv.ru$request_uri; } | |
} |
This file contains hidden or 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 -ue | |
# | |
# Sets up mq+$shed combo for given interface. | |
# | |
# NB! To not degrade upload speeds, fq should only be used on kernels >= 3.19: | |
# https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9878196578286c5ed494778ada01da094377a686 | |
# | |
if [ $# -ne 2 ] || [ -z "$1" ] || [ -z "$2" ]; then | |
echo "usage: $0 interface scheduler" >&2 |
This file contains hidden or 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
$ LANG=C make nic | |
Building for kernel 4.15.6-300.fc27.x86_64 | |
Building for kernel 4.15.6-300.fc27.x86_64 | |
################################################## | |
# Building Network Drivers # | |
################################################## | |
Preparing for build ... | |
#### Preparing cxgb4 #### |
This file contains hidden or 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/sh | |
Logger() { level="$1"; shift; logger -t "${0##*/}" -p "user.$level" -- "$@"; return 0; } | |
test -f "/var/run/squid/squid.pid" || exit 0 | |
pgrep -F "/var/run/squid/squid.pid" | grep -q '' && | |
Logger info "Squid OK" && | |
exit 0 |