I hereby claim:
- I am thomastaylor312 on github.
- I am oftaylor (https://keybase.io/oftaylor) on keybase.
- I have a public key ASAlykQfVWlOTiak4OU3b4FVHpXrIU_jYvLOBEnqqdDjoAo
To claim this, I am signing this object:
| #include <stdio.h> | |
| //Code for calculate parity from http://graphics.stanford.edu/~seander/bithacks.html#ParityNaive | |
| unsigned int calculateParity(int data) { | |
| unsigned int parity = 1; //Even parity to start | |
| while (data) { | |
| parity = !parity; | |
| data = data & (data - 1); | |
| } | |
| return parity; |
I hereby claim:
To claim this, I am signing this object:
| - project: | |
| name: cassandra | |
| parameters: | |
| - foo | |
| jobs: | |
| - "deployment-tests-{name}" | |
| - job-template: | |
| name: "deployment-tests-{name}" | |
| description: "Tests the deployment of {name}" |
| Wed Nov 2 20:36:18 UTC 2016 |
| import jenkins.model.* | |
| import hudson.model.* | |
| import hudson.security.SecurityRealm | |
| import org.jenkinsci.plugins.GithubSecurityRealm | |
| import com.cloudbees.plugins.credentials.* | |
| import com.cloudbees.plugins.credentials.common.* | |
| import com.cloudbees.plugins.credentials.domains.* | |
| import com.cloudbees.plugins.credentials.impl.* | |
| import com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey | |
| import com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey |
| --- | |
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: password | |
| namespace: my-cool-ns | |
| data: | |
| password: foobarbaz |
| def nullTrustManager = [ | |
| checkClientTrusted: { chain, authType -> }, | |
| checkServerTrusted: { chain, authType -> }, | |
| getAcceptedIssuers: { null } | |
| ] | |
| def nullHostnameVerifier = [ | |
| verify: { hostname, session -> true } | |
| ] |
| package main | |
| import ( | |
| "log" | |
| "k8s.io/kubernetes/pkg/api" | |
| client "k8s.io/kubernetes/pkg/client/unversioned" | |
| "k8s.io/kubernetes/pkg/fields" | |
| "k8s.io/kubernetes/pkg/labels" | |
| ) |
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: alert-rules | |
| data: | |
| foo-file: | | |
| foo: bar | |
| whiz: bang | |
| special.conf: | |
| --- | |
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| name: test | |
| spec: | |
| replicas: 1 | |
| template: | |
| spec: | |
| containers: |