Skip to content

Instantly share code, notes, and snippets.

Andrew Lee Rubinger ALRubinger

Block or report user

Report or block ALRubinger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:949d14806f66adf2919fdcaff54a252f
 alr  ~  1  curl -v https://5d12631643f6210009062f8a--thirsty-nightingale-25da0e.netlify.com
* Trying 167.99.4.63...
* TCP_NODELAY set
* Connected to 5d12631643f6210009062f8a--thirsty-nightingale-25da0e.netlify.com (167.99.4.63) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
View gist:46da627389e80f858215b06ba38cfa1b
npm info lifecycle natural-zinc@1.0.0~postbuild: natural-zinc@1.0.0
npm timing npm Completed in 17200ms
npm info ok
---> Cleaning up npm cache
----> moving built web application to /opt/app-root/output
mv: cannot stat './dist/natural-zinc/*': No such file or directory
error: build error: non-zero (13) exit code from nodeshift/centos7-s2i-web-app@sha256:989207b23a6924d850d8970646c52379df3ec3c278a5ef6de83d5d432c3ed660
View gist:0e89ed95b190a72bb6501d5ed4499cc4
alr  tubescreamer  ~  $  curl -s https://raw.githubusercontent.com/fabric8-launcher/launcher-openshift-templates/master/scripts/minishift/install.sh | bash
This script will install the Launcher in Minishift. Make sure that:
- Minishift is running
- You have run oc login previously
- Your GitHub Username is correct [found from git config github.user]: ALRubinger
- Your GitHub Token is correct [found from git config github.token]: *REDACTED*
Press ENTER to continue ...
Creating launcher project ...
View gist:985aa58d94ef72ba80adf5faeda0369e
[alr@tubescreamer ~]$ minishift start --memory=8GB --show-libmachine-logs -v5
-- minishift version: v1.29.0+72fa7b2
-- Starting profile 'minishift'
Found binary path at /usr/local/bin/docker-machine-driver-kvm
Launching plugin server for driver kvm
Plugin server listening at address 127.0.0.1:37239
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
View gist:6341adff81ec0d821fababe7a911c5bf
12:18 $ eval $(minishift oc-env)
✔ ~/business/jboss/git/fabric8-launcher/launcher-openshift-templates [master ↑·4|✔]
12:18 $ oc process --local -f openshift/launcher-template.yaml --param-file=released.properties -o yaml | oc create -f -
Error from server (Forbidden): configmaps is forbidden: User "developer" cannot create configmaps in the namespace "myproject": no RBAC policy matched
Error from server (Forbidden): configmaps is forbidden: User "developer" cannot create configmaps in the namespace "myproject": no RBAC policy matched
Error from server (Forbidden): deploymentconfigs.apps.openshift.io is forbidden: User "developer" cannot create deploymentconfigs.apps.openshift.io in the namespace "myproject": no RBAC policy matched
Error from server (Forbidden): services is forbidden: User "developer" cannot create services in the namespace "myproject": no RBAC policy matched
Error from server (Forbidden): deploymentconfigs.apps.openshift.io is forbidden: User "developer" cannot create deploymentconfigs.apps
View gist:9b355381e73cac89941ff21ad3c922cf
$ oc process --local -f openshift/launcher-template.yaml --param-file=released.properties -o yaml | oc create -f - > ~/Desktop/oc-process
Error: unknown flag: --local
Usage:
oc process (TEMPLATE | -f FILENAME) [-v=KEY=VALUE] [options]
Examples:
# Convert template.json file into resource list and pass to create
oc process -f template.json | oc create -f -
View gist:0bd2a50a3ac6b7e5a348bc76d09cb549
Error: Cannot find module '/opt/app-root/src'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
at Function.Module._load (internal/modules/cjs/loader.js:513:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:760:12)
at startup (internal/bootstrap/node.js:303:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:872:3)
npm info lifecycle thursday-demo@1.0.0~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! thursday-demo@1.0.0 start: `node .`
View ResolveStage.java
public interface ResolveStage<COORDINATETYPE extends Coordinate, RESOLUTIONFILTERTYPE extends ResolutionFilter, RESOLVESTAGETYPE extends ResolveStage<COORDINATETYPE, RESOLUTIONFILTERTYPE, RESOLVESTAGETYPE, STRATEGYSTAGETYPE, RESOLVEDTYPE, FORMATSTAGETYPE, RESOLUTIONSTRATEGYTYPE>, STRATEGYSTAGETYPE extends StrategyStage<COORDINATETYPE, RESOLUTIONFILTERTYPE, RESOLVEDTYPE, FORMATSTAGETYPE, RESOLUTIONSTRATEGYTYPE>, RESOLVEDTYPE extends ResolvedArtifact<RESOLVEDTYPE>, FORMATSTAGETYPE extends FormatStage<RESOLVEDTYPE>, RESOLUTIONSTRATEGYTYPE extends ResolutionStrategy<COORDINATETYPE, RESOLUTIONFILTERTYPE, RESOLUTIONSTRATEGYTYPE>>
View gist:caab266836686791df4425b6f02d9e08
I grew up in suburban Boston during the 1980s. The first born of Jewish parents, I’d spent Sunday mornings in temple learning of the atrocities executed throughout the Holocaust. Inappropriate as the lessons may have been for a schoolage child, they’d instilled an early defiance towards intolerance in my developing ethical code. Very clearly, there was right and wrong in how we should treat one another, and it was easy to see in the extremist actions of genocide and torture that for some time the world had gone crazy with cruelty and indifference. Our readings came from survivors and victims, designed to elicit our empathy and shock at how unfairly those of the Jewish faith were treated. The story had identifiable protagonists and villains, and as the dismissal bell rang each week we left feeling superior about our position on the just side of history.
As we’d aged, another tale emerged from public schooling; there was this thing called slavery, and it was kind of like a black Holocaust, except it was p
View gist:7b474214fe0897ba6fc867aa4344687f
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-java-version) on project shrinkwrap-parent: Execution enforce-java-version of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.4.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/alr/.m2/repository/org/apache/maven/plugins/maven-enforcer-plugin/1.4.1/maven-enforcer-plugin-1.4.1.jar
[ERROR] urls[1] = file:/home/alr/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[2] = file:/home/alr/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
You can’t perform that action at this time.