Skip to content

Instantly share code, notes, and snippets.

View collinvandyck's full-sized avatar
🏠
Working from home

Collin Van Dyck collinvandyck

🏠
Working from home
View GitHub Profile
[8920420.514283] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920486.012528] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920551.510786] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920617.009039] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920682.507289] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920748.005539] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920813.503782] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920879.002042] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8920944.500285] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
[8921010.000022] BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
case "`uname`" in
Darwin)
;;
*)
exit 0
esac
[09:28:51] [cvandyck] Hello all. I'm sending a batch of documents with _version_ timestamps to a Solr4 cluster with the SolrJ client. having a hard time from the exceptions it generates (when optimistic concurrency fails) figuring out which ones failed
[09:29:25] [cvandyck] The wiki has some nice ideas about how this might be done in the future with a certain exception hierarchy but that doesn't seem to be present in the latest 4.x release
[09:29:33] [cvandyck] Is this possible?
no idea what IS NOTHING WRONG WITH CONSENSUAL LOVE BETWEEN A MAN AND THERE IS NOTHING WRONG WITH CONSENSUAL LOVE BETWEEN A MAN AND THERE IS NOTHING WRONG WITH CONSENSUAL LOVE BETWEEN A MAN AND CAT
@collinvandyck
collinvandyck / delaysquawk.go
Last active December 19, 2015 10:09
squawks about network lag while you're playing minecraft to correlate oddities in the game with digitalocean's spotty network
package main
import (
"flag"
"io/ioutil"
"net/http"
"os/exec"
"time"
)
@collinvandyck
collinvandyck / example output
Last active December 22, 2015 08:19
This is how you'd go about installing the latest snapshot version Note that this only works producing dev builds locally.
/tmp % git clone git@github.com:librato/metrics-librato.git
Cloning into 'metrics-librato'...
remote: Counting objects: 466, done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 466 (delta 155), reused 440 (delta 131)
Receiving objects: 100% (466/466), 63.89 KiB | 0 bytes/s, done.
Resolving deltas: 100% (155/155), done.
Checking connectivity... done
/tmp % cd metrics-librato/
/tmp/metrics-librato
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
exec "$JAVACMD" \
$MAVEN_OPTS \
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
"-Dmaven.home=${M2_HOME}" \
${CLASSWORLDS_LAUNCHER} "$@"
~/code/go/src/github.com/ryandotsmith/l2met [integration*]% ls -l ~/.vim/bundle
total 8
drwxr-xr-x 8 cvandyck staff 272 Sep 17 16:24 ack.vim
drwxr-xr-x 8 cvandyck staff 272 Sep 3 09:44 ctrlp.vim
lrwxr-xr-x 1 cvandyck staff 22 Oct 1 15:58 go-vim -> /usr/local/go/misc/vim
drwxr-xr-x 11 cvandyck staff 374 Sep 3 09:44 nerdtree
drwxr-xr-x 19 cvandyck staff 646 Oct 2 12:00 vim-coffee-script
drwxr-xr-x 11 cvandyck staff 374 Sep 19 10:41 vim-json
drwxr-xr-x 5 cvandyck staff 170 Sep 3 09:44 vim-sensible
% http https://www.howsmyssl.com/a/check
http: error: SSLError: [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version