Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jaxxstorm's full-sized avatar

Lee Briggs jaxxstorm

View GitHub Profile
@jaxxstorm
jaxxstorm / gist:7887945
Created December 10, 2013 09:25
graylog2-web error
/opt/graylog2/web/bin/graylog2-web-interface
Play server process ID is 2319
Oops, cannot start the server.
com.google.inject.ProvisionException: Guice provision errors:
1) null returned by binding at models.Node$Factory.fromSummaryResponse()
but parameter 2 of models.Node.<init>() is not @Nullable
while locating models.api.responses.cluster.NodeSummaryResponse annotated with @com.google.inject.assistedinject.Assisted(value=)
for parameter 2 at models.Node.<init>(Node.java:83)
while locating models.Node annotated with interface com.google.inject.assistedinject.Assisted
[root@rpmbuild bin]# ./graylog2-web-interface
Play server process ID is 19812
Oops, cannot start the server.
@6ghh787ad: Cannot init the Global object
at play.api.WithDefaultGlobal$$anonfun$play$api$WithDefaultGlobal$$globalInstance$1.apply(Application.scala:55)
at play.api.WithDefaultGlobal$$anonfun$play$api$WithDefaultGlobal$$globalInstance$1.apply(Application.scala:49)
at play.utils.Threads$.withContextClassLoader(Threads.scala:18)
at play.api.WithDefaultGlobal$class.play$api$WithDefaultGlobal$$globalInstance(Application.scala:48)
at play.api.DefaultApplication.play$api$WithDefaultGlobal$$globalInstance$lzycompute(Application.scala:399)
at play.api.DefaultApplication.play$api$WithDefaultGlobal$$globalInstance(Application.scala:399)
require 'jira'
require 'pp'
options = {
:username => 'admin',
:password => 'password',
:site => 'http://localhost:8081',
:context_path => '/',
:auth_type => :basic,
:use_ssl => false

Keybase proof

I hereby claim:

  • I am jaxxstorm on github.
  • I am lbriggs (https://keybase.io/lbriggs) on keybase.
  • I have a public key whose fingerprint is 9538 FA3A F4BB 5513 A30F A3D4 29BC 8845 5BF6 52D4

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am jaxxstorm on github.
* I am lbriggs (https://keybase.io/lbriggs) on keybase.
* I have a public key whose fingerprint is 73DF CE36 51DE A6B0 5D66 2E66 98F7 E144 33E1 1C25
To claim this, I am signing this object:
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 5201438... HArd to debug this nonsense
usage: packer [--version] [--help] <command> [<args>]
Available commands are:
{
"awards": [],
"basics": {
"email": "lee@leebriggs.co.uk",
"label": "Multi discipline sales engineer with extensive cloud engineering background.",
"location": {
"address": "",
"city": "Seattle",
"countryCode": "US",
"postalCode": "",
{
"name": "opa",
"info": {
"first_deployed": "2020-05-01T10:44:45.314555-07:00",
"last_deployed": "2020-05-01T10:44:45.314555-07:00",
"deleted": "",
"description": "Install complete",
"status": "superseded",
"notes": "Please wait while the OPA is deployed on your cluster.\n\nFor example policies that you can enforce with OPA see https://www.openpolicyagent.org.\n\nIf you installed this chart with the default values, you can exercise the sample policy.\n\n# 1. Create a namespace called \"opa-example\"\n\nkubectl create namespace opa-example\n\n# 2. Create an Ingress in the \"opa-example\" namespace that complies with the policy.\n\ncat > ingress-ok.yaml <<EOF\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n name: ingress-ok\nspec:\n rules:\n - host: signin.dev.acmecorp.com\n http:\n paths:\n - backend:\n serviceName: nginx\n servicePort: 80\nEOF\n\nkubectl -n opa-example create -f ingress-ok.yaml\n\n# 3. Try to create an Ingress in the \"
@jaxxstorm
jaxxstorm / main.go
Created May 10, 2020 23:43
Creating provider bug
package main
import (
"encoding/json"
"fmt"
"github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/helm/v2"
"github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/providers"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi/config"
@jaxxstorm
jaxxstorm / index.ts
Created March 11, 2022 20:46
Gitlab
import * as pulumi from "@pulumi/pulumi";
import * as kubernetes from "@pulumi/kubernetes";
const gitlab_kubernetes_agentNamespace = new kubernetes.core.v1.Namespace("gitlab_kubernetes_agentNamespace", {
apiVersion: "v1",
kind: "Namespace",
metadata: {
name: "gitlab-kubernetes-agent",
},
});