You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| # To deploy: kubectl create -f nginx-hello-world-deployment.yaml | |
| # Access it with the API as a proxy: | |
| # $ kubectl proxy | |
| # Then in you browser: http://localhost:8001/api/v1/namespaces/default/services/nginx:/proxy/#!/ | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: nginx | |
| spec: |
| kind: ConfigMap | |
| apiVersion: v1 | |
| metadata: | |
| name: nginx-config | |
| namespace: nginx-ingress | |
| data: | |
| worker-processes: "1" | |
| log-format: '[$time_local] $remote_addr "$request" $status "$upstream_response_time"' |
| #!/bin/bash | |
| # | |
| # DESCRIPTION: | |
| # | |
| # Set the bash prompt according to: | |
| # * the active virtualenv | |
| # * the branch of the current git/mercurial repository | |
| # * the return value of the previous command | |
| # * the fact you just came from Windows and are used to having newlines in | |
| # your prompts. |
| #! /bin/bash | |
| # Make sure you grab the latest version | |
| curl -OL https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip | |
| https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip | |
| # Unzip | |
| unzip protoc-3.6.1-linux-x86_64.zip -d protoc3 | |
| # Move protoc to /usr/local/bin/ | |
| sudo mv protoc3/bin/* /usr/local/bin/ |
| """ Transliterate texts between unicode and standard transliteration schemes. | |
| Transliterate texts between non-latin scripts and commonly-used latin | |
| transliteration schemes. Uses standard Unicode character blocks -- | |
| e.g. DEVANAGARI U+0900 ... U+097F -- and transliteration schemes -- | |
| e.g. the IAST convention for transliteration of Sanskrit to latin-with-dots. | |
| The following character blocks and transliteration schemes are included: | |
| DEVANAGARI |