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 | |
| } |
NOTE: Content below is written by Adrian Mace. Click here for an updated version.
Below are the key settings that I apply on any unifi installation for optimal performance.
Enable Advanced Features is enabled| pipeline { | |
| options { | |
| buildDiscarder(logRotator(numToKeepStr: '10')) // Retain history on the last 10 builds | |
| ansiColor('xterm') // Enable colors in terminal | |
| timestamps() // Append timestamps to each line | |
| timeout(time: 20, unit: 'MINUTES') // Set a timeout on the total execution time of the job | |
| } | |
| agent { | |
| // Run this job within a Docker container built using Dockerfile.build | |
| // contained within your projects repository. This image should include |
| #!/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. |
| [ | |
| { | |
| 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 | |
| } |
| services: | |
| web: | |
| image: 'redmine:passenger' | |
| container_name: 'redmine_web' | |
| restart: always | |
| ports: | |
| - '3000:3000' | |
| links: | |
| - postgres | |
| environment: |