Skip to content

Instantly share code, notes, and snippets.

View terabyte's full-sized avatar

Carl Myers terabyte

View GitHub Profile
#include <gtest/gtest.h>
#include <list>
#include <string>
#include "developers.h"
using namespace std;
TEST(Developers, DeveloperListIsUpToDate) {
developers *d = new developers();
[root@review-test reviewboard]# /usr/bin/git clone http://gerrit.sjc.cloudera.com:8080/Kitchen/qbt/meta.git /tmp/_
Initialized empty Git repository in /tmp/_/.git/
error: RPC failed; result=22, HTTP code = 500
^C
[root@review-test reviewboard]# /home/reviewboard/git/git clone http://gerrit.sjc.cloudera.com:8080/Kitchen/qbt/meta.git /tmp/_
Cloning into '/tmp/_'...
warning: templates not found /root/share/git-core/templates
remote: Counting objects: 921, done
remote: Finding sources: 100% (921/921)
remote: Total 921 (delta 566), reused 921 (delta 566)
package misc1.commons;
import com.google.common.base.Function;
import com.google.common.base.Functions;
import com.google.common.base.Objects;
public abstract class Either<L, R> {
protected final boolean isLeft;
protected final L l;
protected final R r;
@terabyte
terabyte / -
Created December 28, 2016 22:57
* b8c4b9048a2f9042bfae0ce3ff2968e65c5202fc Keith Amling Tue Mar 22 12:53:53 2016 -0700  (HEAD -> master, amling/master)Merge commit '64e2f4abbd18'
|\
* | 1a7c5cb17cb5a553a85bb64ac77e56ff1d814fe1 nicm Wed Apr 29 15:59:08 2015 +0000  (origin/ng-next)If default-terminal is set to "screen" or "screen-*", emulate screen's historical (incorrect) behaviour for SGR 3 and send smso (standout). Previously, we would send sitm (italics) if the terminal outside had it and smso otherwise. This was acceptably until recently because xterm's terminfo entry lacked sitm, so most users got smso.
| * 64e2f4abbd18e8bf6e46602596192e4323e3f4c9 Keith Amling Mon Nov 23 18:03:54 2015 -0800 Fml. Don't infini-spin off end of line, don't miss first character of each line.
* | 1ff9407d1cabde60e305f06712fef3714411ad14 Keith Amling Wed Sep 30 11:49:15 2015 -0700 Do you even `vim` II? (repeated t
2017-02-14 13:32:07
Full thread dump OpenJDK 64-Bit Server VM (25.112-b6 mixed mode):
"Attach Listener" #33 daemon prio=9 os_prio=0 tid=0x00007fe38c001000 nid=0x1bfd waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"ApplicationImpl pooled thread 1" #29 prio=4 os_prio=0 tid=0x00007fe34c2ab000 nid=0x1a10 waiting on condition [0x00007fe35b276000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000d3a3e788> (a java.util.concurrent.SynchronousQueue$TransferStack)
2017-02-14 13:36:58
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.60-b12 mixed mode):
"Attach Listener" #84 daemon prio=9 os_prio=0 tid=0x00007f5b98001000 nid=0x2848 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"process reaper" #82 daemon prio=10 os_prio=0 tid=0x00007f5b4c09d800 nid=0x24a3 waiting on condition [0x00007f5b5f91b000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000e36ac1b8> (a java.util.concurrent.SynchronousQueue$TransferStack)
2017-02-14 13:40:02
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.60-b12 mixed mode):
"RMI TCP Connection(3)-127.0.0.1" #101 daemon prio=4 os_prio=0 tid=0x00007f5af8001000 nid=0x2d6e runnable [0x00007f5adb5f7000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
2017-02-14 13:46:10
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.60-b12 mixed mode):
"Attach Listener" #25 daemon prio=9 os_prio=0 tid=0x00007f1914001000 nid=0x3c36 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"RMI TCP Connection(idle)" #24 daemon prio=5 os_prio=0 tid=0x00007f18f4001000 nid=0x3b68 waiting on condition [0x00007f192e318000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000e00dd568> (a java.util.concurrent.SynchronousQueue$TransferStack)
#!/usr/bin/env bash
set -e
CRED_FILE="$HOME/.githubCredentials"
if [[ ! -r "$CRED_FILE" ]]; then
echo "Credential File does not exist"
echo "To create, do this:"
echo "touch ~/.githubCredentials"
* a9261da962d38824b2c3a921563de4b5be04e6d2 Carl Myers Wed Nov 16 15:40:30 2016 -0800  (origin/master, origin/HEAD)Merge pull request #48 from terabyte/cmyers/proposed-workaround-issue-41
|\
| * e48ac4822ac16ae5157c1520b81a3b81503a7eee Carl Myers Mon Nov 7 09:16:04 2016 -0800  (origin/cmyers/proposed-workaround-issue-41)[Issue #41] Synchronize PRM table accesses
| * f04189394bee25e75a917792a70814048ef44ac9 Carl Myers Wed Nov 16 14:20:18 2016 -0800 Attempting to write a test to catch the race
|/
* d0462fe8a55add016a1bf7a86f9d463bf5927966 Carl Myers Tue Oct 4 15:05:20 2016 -0700  (tag: 2.1.0)Fix DOMAIN_VERSION to be long, even when building on a tag
* c0fb6f8d729e3ec15c7b8e1252e30c5109dbb5d1 Carl Myers Tue Oct 4 14:58:58 2016 -0700 Merge pull request #46 from memory/add-reason-to-triggers-bbs4
|\
| * 97fd389709b15fadf60a