This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index c42f3da5..c1447d6b 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -23,12 +23,13 @@ VERSION ?= "0.5.0" | |
# Make sure GOPATH is set based on the executing Makefile and workspace. Will override | |
# GOPATH from the env. | |
-export GOPATH= $(shell cd ../../..; pwd) | |
+GOPATH ?= $(shell cd ../../..; pwd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(ArquillianConditionalRunner.class) | |
@RequiresOpenshift | |
@Template(url = "https://gist.githubusercontent.com/lordofthejars/81cf2db55145873c9242719efe1c3f24/raw/27188fae3ebc1375f0645ac1a22cb3fe6980ca36/hello-template.yaml") | |
public class HelloWorldTemplateTest { | |
@Named("hello-openshift-service") | |
@PortForward | |
@ArquillianResource | |
URL url; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Allow users to read the istio config map | |
# | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: Role | |
metadata: | |
name: istio-configmap-viewer | |
namespace: istio-system | |
rules: | |
- resources: ["configmaps"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"os/exec" | |
"path/filepath" | |
"strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
AUTHOR="Clement Lefebvre" | |
for repo in *; do | |
if [ -d "$repo" ]; then | |
# echo "entering $repo" | |
cd "$repo" | |
contribs=$(git log --pretty=format:"%an" 2>/dev/null | grep "$AUTHOR" | wc -l) | |
if [ "$contribs" != "0" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import websocket | |
try: | |
import thread | |
except ImportError: # TODO use Threading instead of _thread in python3 | |
import _thread as thread | |
import time | |
import sys | |
import ssl | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Soup = imports.gi.Soup; | |
const Mainloop = imports.mainloop; | |
let _httpSession = new Soup.Session({user_agent: 'curl/7.43.0'}); | |
let url = 'https://api.github.com/users/jwendell'; | |
let message = new Soup.Message({method: 'GET', uri: new Soup.URI(url)}); | |
_httpSession.queue_message(message, function(session, message) { | |
if (message.status_code != Soup.KnownStatusCode.OK) { | |
log('Error: ' + message.status_code.toString()); |
NewerOlder