I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| U2FsdGVkX18bL0goCbiTjHFGnkwWagZSYjhvkaU1hXA= |
| #!/usr/bin/env sh | |
| # Wait for a HTTP service to be OK (return code 200) before trying to start another service. | |
| echo "Stalling for SERVICE" | |
| while true; do | |
| status=$(curl --write-out %{http_code} --silent --output /dev/null http://service.domain/endpoint) | |
| echo "Status: ${status}" | |
| if [ "${status}" == "200" ]; then | |
| break | |
| else |
| import com.android.build.gradle.AppPlugin | |
| task consolidateJunitXml { | |
| description 'Copies JUnit XML reports into a single directory so SonarQube can import them all' | |
| doLast { | |
| def dest = file("${buildDir}/allJunit") | |
| delete dest | |
| copy { | |
| from "${buildDir}/test-results/debug" | |
| into dest |
| # | |
| # Launches configured Graylog 2.3.1 instance | |
| # | |
| # - Docker-compose 1.16 required | |
| # - Please configure following according to your network: | |
| # * gelf-address URL (for each container) | |
| # * GRAYLOG_WEB_ENDPOINT_URI | |
| # - After launch define GELF tcp and GELF udp inputs in graylog web ui | |
| # - Containers send logging to the graylog itself | |
| # - By default tuned to 30 days retention |
| import javax.servlet.*; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; | |
| import java.io.IOException; | |
| import java.net.URI; | |
| import java.net.URISyntaxException; | |
| import static java.lang.String.format; | |
| public class HttpsFilter implements Filter { |
| Disable vim automatic visual mode on mouse select | |
| issue: :set mouse-=a | |
| add to ~/.vimrc: set mouse-=a |
| # vim:ft=zsh ts=2 sw=2 sts=2 | |
| # | |
| # agnoster's Theme - https://gist.github.com/3712874 | |
| # A Powerline-inspired theme for ZSH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
| # Make sure you have a recent version: the code points that Powerline |
| declare -a NODE_NAMES=("node_01", "node_02"); | |
| declare -a CONTAINER_NAMES=("container_a", "container_b"); | |
| declare -a NETWORK_NAMES=("network_1", "network_2"); | |
| for x in "${NODE_NAMES[@]}"; do; | |
| docker-machine env $x; | |
| eval $(docker-machine env $x) | |
| for CONTAINER_NAME in "${CONTAINER_NAMES[@]}"; do; | |
| for NETWORK_NAME in "${NETWORK_NAMES[@]}"; do; | |
| echo "Disconnecting $CONTAINER_NAME from $NETWORK_NAME" |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| # turn a jar with a Main-Class into a stand alone executable | |
| (echo '#!/usr/bin/env java -jar'; cat blahblah.jar) > blah | |
| # turn a jar with a particular main clas into a stand alone executable | |
| (echo '#!/usr/bin/env java -jar package.MainClass'; cat blahblah.jar) > blah |