#!/bin/bash
certs="/etc/letsencrypt/live/ievents.me"
openssl smime \
-sign \
-signer ${certs}/cert.pem \
-inkey ${certs}/privkey.pem \
-certfile ${certs}/chain.pem \
-
First follow the Algo instructions to install requirements. Confirm the python virtual environment prompt is shown
-
Download the modified config.cfg. Edit as needed
curl -o config.cfg https://gist.githubusercontent.com/glennschler/8edcadb6ba5e151898774441dbffb739/raw/04ce253a5b2a304a77d12968966c3d1a1eb65898/config.cfg
- Prepare the ansible-vault of aws_secrets
mkdir vars
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
| #=======================================================# | |
| #Update used tools after new installation # | |
| #Credits: @mikiminoru and the developers used tools's # | |
| #=======================================================# | |
| #set the keyboard languaje and the directory (instead of 'es' you can choose your native languaje) | |
| setxkbmap es | |
| cd ~/ |
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
| System information commands | |
| =========================== | |
| (*) #su Show only errors and warnings: `dmesg --level=err,warn` | |
| (*) View dmesg output in human readable format: `dmesg -T` | |
| (*) Get an audio notification if a new device is attached to your computer: `dmesg -tW -l notice | gawk '{ if ($4 == "Attached") { system("echo New device attached | espeak") } }` | |
| (*) Dmesg: follow/wait for new kernel messages: `dmesg -w` | |
| (*) The proper way to read kernel messages in realtime.: `dmesg -wx` | |
| (*) Query graphics card: `lspci -nnk | grep -i VGA -A2` |
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
| [Interface] | |
| PrivateKey = uztN4RmrrPGH8X36ATibhAoUcY4XPnDnhty1YldlpUs= | |
| Address = 192.168.123.107/32 | |
| [Peer] | |
| PublicKey = uy722TzVz9Vy0xpFW0yZFrf39TawbmmfaO/UzKUeCHw= | |
| AllowedIPs = 192.168.1.0/24 | |
| Endpoint = 52.18.63.80:51820 | |
| PersistentKeepalive = 60 |
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
| DEBUG |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <pre><strong>pub</strong> <a href="/pks/lookup?op=get&search=0x555eb989bfc45c8464fd3bfae985eef656d23992">rsa4096/555eb989bfc45c8464fd3bfae985eef656d23992</a> 2019-07-14T20:56:36Z | |
| Hash=<a href="/pks/lookup?op=hget&search=0400acaa49f003d6ffc2a74e0c2515da">0400acaa49f003d6ffc2a74e0c2515da</a> | |
| <strong>uid</strong> <span class="uid">Anthony Sottile (deadsnakes) <[email protected]></span> | |
| sig sig <a href="/pks/lookup?op=get&search=0xe985eef656d23992">e985eef656d23992</a> 2019-07-14T20:56:36Z ____________________ ____________________ <a href="/pks/lookup?op=vindex&search=0xe985eef656d23992">[selfsig]</a> | |
| <strong>sub</strong> rsa4096/8ff6981e2e1ca5b7670654ab0edbc7164da70dbc 2019-07-14T20:56:36Z | |
| sig sbind <a href="/pks/lookup?op=get&search=0xe985eef656d23992">e985eef656d23992</a> 2019-07-14T20:56:36Z ____________________ ____________________ <a href="/pks/lookup?op=vindex&search=0x" e985eef656d23992="">[]</a> | |
| </pre> |
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 | |
| base_url="https://ce987049f84bba9d289197c0b600d84ceb039d42991c8783:@packagecloud.io" | |
| #curl https://ce987049f84bba9d289197c0b600d84ceb039d42991c8783:@packagecloud.io/api/v1/distributions | |
| dist=$(curl -ss "$base_url/api/v1/repos/grafana/stable/packages.json" | | jq -r '.[]' | jq -r '[.version,.distro_version,.downloads_count_url] | @csv' | tr -d '"' ) | |
| while IFS= read -r line; do | |
| dl_url=$(echo $line | awk -F"," '{print $3}' | |
| dl_count=$(curl -ss "$base_url$dl_url" | jq -r .) |
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 | |
| STATS=$(speedtest -s 3926 -f json | jq '.ping.latency,.download.bandwidth,.upload.bandwidth') | |
| PING=$(echo $STATS | awk '{printf "%d", $1}') | |
| DOWNLOAD=$(echo $STATS | awk '{printf "%d", $2}') | |
| UPLOAD=$(echo $STATS | awk '{printf "%d", $3}') | |
| echo "rp1_office.ping:${PING}|g" | nc -w 1 -4u localhost 8125 |