curl https://checkip.amazonaws.com
curl -s https://api.ipify.org -w "\n"""
curl https://icanhazip.com
curl https://ipinfo.io/ip && echo ""
| #!/bin/bash | |
| # EKS Addons Compatibility Script | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <kubernetes_version>" | |
| exit 1 | |
| fi | |
| k8s_version=$1 |
| [ | |
| { | |
| owner: 'bcoe', | |
| repo: 'top-npm-users', | |
| description: ':star: Generate a list of top npm users by based on monthly downloads.', | |
| language: 'JavaScript', | |
| isFork: false, | |
| stargazers: 27, | |
| watchers: 27 | |
| } |
| [/] | |
| animate-app-switch=false | |
| animate-appicon-hover=true | |
| animate-appicon-hover-animation-convexity={'RIPPLE': 2.0, 'PLANK': 1.0, 'SIMPLE': 0.0} | |
| animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1} | |
| animate-appicon-hover-animation-type='SIMPLE' | |
| animate-show-apps=false | |
| animate-window-launch=false | |
| appicon-padding=4 | |
| available-monitors=[1, 0] |
| #!/bin/sh | |
| s=0 | |
| if [ -x "$(which curl)" ] ; then #This is the best option for checking... | |
| echo "Utility ...... curl [ ok ]" | |
| else | |
| echo "Utility ...... curl [fail]" | |
| s=1 |
| #!/usr/bin/python3 | |
| def main(): | |
| print("This is the main function") | |
| test() | |
| def test(): | |
| print("This is a test") | |
| if __name__ == "__main__": main() |
| #!/bin/sh | |
| E_WRONG_ARGS=85 | |
| script_parameters="-a -h -m -z" | |
| # -a = all, -h = help, etc. | |
| if [ $# -ne $Number_of_expected_args ] | |
| then | |
| echo "Usage: `basename $0` $script_parameters" | |
| # `basename $0` is the script's filename. |
| #The sha-bang# | |
| # The sha-bang ( #!) [1] at the head of a script tells your system that this file is a set of commands to be fed to the command | |
| # interpreter indicated. The #! is actually a two-byte [2] magic number, a special marker that designates a file type, or in this | |
| # case an executable shell script (type man magic for more details on this fascinating topic). Immediately following the sha-bang | |
| # is a path name. This is the path to the program that interprets the commands in the script, whether it be a shell, a | |
| # programming language, or a utility. This command interpreter then executes the commands in the script, starting at the top (the | |
| # line following the sha-bang line), and ignoring comments. | |
| #!/bin/sh |