Service | IPv4 | IPv6 |
---|---|---|
Google Public DNS | 8.8.8.8 | 2001:4860:4860::8888 |
Google Public DNS | 8.8.4.4 | 2001:4860:4860::8844 |
Cloudflare | 1.1.1.1 | 2606:4700:4700::1111 |
Cloudflare | 1.0.0.1 | 2606:4700:4700::1001 |
Quad9 | 9.9.9.9 | 2620:fe::9 |
Quad9 | 149.112.112.112 | 2620:fe::fe |
OpenDNS | 208.67.222.222 | 2620:119:35::35 |
OpenDNS | 208.67.220.220 | 2620:119:53::53 |
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
FROM debian:latest | |
# Install basic dev packages | |
RUN apt-get clean && apt-get update && apt-get -y install --no-install-recommends \ | |
apt-utils \ | |
openssh-client \ | |
git \ | |
gnupg2 \ | |
dirmngr \ | |
iproute2 \ |
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
groups: | |
- name: node_exporter_alerts | |
rules: | |
- alert: Node down | |
expr: up{job="monitoring-pi"} == 0 | |
for: 2m | |
labels: | |
severity: warning | |
annotations: | |
title: Node {{ $labels.instance }} is down |
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
cd /usr/src/ | |
git clone https://github.com/expressif/pecl-event-libevent.git | |
cd pecl-event-libevent | |
phpize | |
./configure | |
make && sudo make install | |
sudo apt update | |
sudo apt install php7.4-dev libevent-dev |
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
NIPAP_USERNAME=www | |
NIPAPD_PASSWORD=nipapP4ssw0rd | |
WWW_USERNAME=admin | |
WWW_PASSWORD=123456 | |
POSTGRES_PASSWORD=S3cretDBPas5 |
Build dynamic modules
yum install gcc git luajit-devel pcre-devel lua-devel zlib-devel
wget http://nginx.org/download/nginx-1.12.2.tar.gz
git clone https://github.com/openresty/lua-nginx-module.git
git clone https://github.com/simplresty/ngx_devel_kit.git
tar xzvf nginx-1.12.2.tar.gz
cd nginx-1.12.2
export LUAJIT_LIB=/usr/lib64 export LUAJIT_INC=/usr/include/luajit-2.0
./configure --with-compat --add-dynamic-module=/root/ngx_devel_kit --add-dynamic-module=/root/lua-nginx-module
openssl speed -multi 1 md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /tmp/sslspeed
echo "|" `awk 'match($0,/r[0-9]+/) {print substr($0,RSTART,RLENGTH)}' /etc/banner` `awk -v FS=": " -v ORS="" '/(Processor|BogoMIPS|Hardware|machine|cpu model|system type)/ { print "| " $2 " " } END { print "" }' /proc/cpuinfo` `awk -v ORS="" '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print " " $5 " |"} $1 ~ /(des|aes)/ {b = b " " $6 " |"} $1 ~ /(rsa|dsa)/ {print b " " $6 " | " $7 " ";b=""} END { print "|" }' /tmp/sslspeed | sed 's/\.\(..\)k/\10/g'`
Device OS |
SoC CPU BogoMIPS |
MD5 | SHA1 SHA256 SHA512 |
DES 3DES |
AES128 AES192 AES256 |
---|---|---|---|---|---|
K1 Padavan | MT7620 MIPS24K 385.02 |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
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 | |
#Paths are for Centos 7.x | |
# Install optional packages | |
/usr/bin/yum install -y epel-release | |
/usr/bin/yum install -y bash-completion htop yum-utils dkms open-vm-tools | |
#stop logging services | |
/sbin/service rsyslog stop | |
/sbin/service auditd stop |
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
{"lastUpload":"2020-04-30T04:17:22.471Z","extensionVersion":"v3.4.3"} |
NewerOlder