Have developer friendly wrapper for openshift with an application-centric perspective.
Avoid steep learning curve to initial learn oc .... commands and concepts. Enable self-service by design.
| #!/bin/bash | |
| g=gphoto2 | |
| function cap(){ | |
| $g --capture-image-and-download | |
| } | |
| function config() | |
| { |
| $ npm install | |
| npm http GET http://registry.npmjs.org/grunt-contrib-concat | |
| npm http GET http://registry.npmjs.org/grunt-contrib-clean | |
| npm http GET http://registry.npmjs.org/grunt-contrib-copy | |
| npm http GET http://registry.npmjs.org/grunt | |
| npm http GET http://registry.npmjs.org/grunt-contrib-cssmin | |
| npm http GET http://registry.npmjs.org/grunt-contrib-watch | |
| npm http GET http://registry.npmjs.org/grunt-filerev | |
| npm http GET http://registry.npmjs.org/grunt-contrib-htmlmin | |
| npm http GET http://registry.npmjs.org/grunt-filerev-replace |
| import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; | |
| import org.springframework.boot.context.embedded.tomcat.TomcatContextCustomizer; | |
| import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; | |
| import org.springframework.cloud.sleuth.Tracer; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import ch.qos.logback.access.tomcat.LogbackValve; | |
| import ch.qos.logback.core.util.ContextUtil; | |
| import lombok.extern.slf4j.Slf4j; |
| import static java.util.concurrent.TimeUnit.MILLISECONDS; | |
| import static org.assertj.core.api.Assertions.assertThat; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Random; | |
| import java.util.concurrent.ExecutionException; | |
| import org.junit.ClassRule; |
I hereby claim:
To claim this, I am signing this object:
| #!perl | |
| use strict; | |
| use warnings; | |
| $| = 1; | |
| # use module | |
| use XML::Simple; | |
| use Data::Dumper; |
| #!/bin/bash | |
| set -ex | |
| function convertPdf(){ | |
| local file=$1 | |
| set -e | |
| echo $file |
| #!/bin/bash | |
| if [[ ! -f $(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh ]]; then | |
| echo "installing first time bash-git-prompt" | |
| brew install bash-git-prompt | |
| fi | |
| if [[ -f $(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh ]]; then | |
| __GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share |