Skip to content

Instantly share code, notes, and snippets.

View mblhaunted's full-sized avatar

mblhaunted mblhaunted

  • Colorado
View GitHub Profile
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: default
name: docker-registry-ingress
spec:
backend:
serviceName: docker-registry
servicePort: 5000
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
namespace: default
name: docker-registry-ingress
spec:
backend:
serviceName: docker-registry
servicePort: 5000
// get subject data sources
let urlAddress: String = "http://127.0.0.1:5000/subjects"
guard let url = URL(string: urlAddress) else {
print("cannot create url")
return
}
let urlRequest = URLRequest(url: url)
let config = URLSessionConfiguration.default
let session = URLSession(configuration: config)
// actually make the fucking request
@mblhaunted
mblhaunted / gist:8ca8a1207e20fdfaecb20b6aa38884b3
Last active April 28, 2016 04:07 — forked from fbrnc/gist:66f9753144a5ea8db0c1
Jenkins Build Pipeline Custom CSS
#build-pipeline-plugin-content {
background-color: none;
border-radius: 0;
}
#build-pipeline-plugin-content h1 {
display: none;
}
tbody.pipelineGroup {
@mblhaunted
mblhaunted / HTML
Created March 24, 2015 02:59
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Pipedreams</title>
<!-- Bootstrap -->