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
0x0DA99524e02ED0B837f1Fc4Aedb442A396A400b5 |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<style> | |
body { | |
font: 24px Helvetica; | |
background: #999999; | |
} |
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/sh | |
set_json_val() { | |
sed -e 's!^\(\s*"'"$2"'"\s*:\s*"\?\)[^,"]*!\1'"$3"'!' -i $1 | |
} | |
get_json_val() { | |
sed -e 's!\([^\\]\)"!\1!g' -e 's!,$!!' $1 | \ | |
sed -n "s!.*${2}: *\(.*\)!\1!p" | |
} |
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/sh | |
if [ -z "$URL" ]; then | |
echo "Please provide script URL" | |
exit 1 | |
fi | |
cd /tmp | |
wget --no-check-certificate -O script.sh $URL | |
chmod +x script.sh |
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 | |
#set -e | |
# install-wifi - 22/01/2020 - by MrEngman. | |
UPDATE_SELF=${UPDATE_SELF:-1} | |
UPDATE_URI="http://downloads.fars-robotics.net/wifi-drivers/install-wifi" | |
ROOT_PATH=${ROOT_PATH:-"/"} | |
WORK_PATH=${WORK_PATH:-"${ROOT_PATH}/root"} |
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
#!/usr/bin/env python3 | |
""" | |
Test the TCP RTT to each AWS region by connecting to the HTTP port for the EC2 API endpoint | |
for EC2 in each region. | |
""" | |
from __future__ import print_function | |
import sys | |
import json |