Skip to content

Instantly share code, notes, and snippets.

vagrant@vagrant-ubuntu-trusty-64:~/tls-test$ java -Dhttps.protocols=TLSv1.1 -cp /home/vagrant/tls-test/target/tls-test-0.1.0-SNAPSHOT-standalone.jar tls_test.core
Exception in thread "main" java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:482)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1344)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
diff --git a/libnethack/src/hack.c b/libnethack/src/hack.c
index 2b9858b..0022186 100644
--- a/libnethack/src/hack.c
+++ b/libnethack/src/hack.c
@@ -206,7 +206,12 @@ resolve_uim(enum u_interaction_mode uim, boolean weird_attack, xchar x, xchar y)
case the correct reaction is to bump into it, but sobj_at will return
true). Note that mem_obj has an offset of 1. */
if (l->mem_obj == BOULDER + 1) {
- return uia_pushboulder;
+ if (!travelling()) {
1007 @ 01-19 11:19:24: 💩
tvisher@timvisher-rjmetrics.local:~
🐡 cat > Desktop/TW_items.txt
stephen
charnock
^D
1008 @ 01-19 11:19:38: 👊
tvisher@timvisher-rjmetrics.local:~
🐶 fg
emacs Application.java
You try to move the boulder, but in vain. Oof! You walk into something hard. │Things that are here:
You try to move the boulder, but in vain. Oof! You walk into something hard. │a ring called search {3}
You try to move the boulder, but in vain. Oof! You walk into something hard. │a ring called warning {3}
You displace your large dog. │a +0 pair of high boots {20}
You try to move the boulder, but in vain. Oof! You walk into something hard. │a +0 dwarvish cloak {10}
You try to move the boulder, but in vain. Oof! You walk into something hard. │a +0 orcish helm {30}
You try to move the boulder, but in vain. Oof! You walk into something hard. │a +2 splint mail {400}
There are many objects here. │an uncursed +3 small shield {30}
│a magic whistle {3}
# brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: fa8b6e4fc2d2f1a84a19d48c77344cba394436b6
Last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
from optimizeimages import optipng
worlds["world"] = "/var/worlds/world"
renders["survivalday"] = {
"dimension": "overworld",
"optimizeimg":[optipng()],
"rendermode": smooth_lighting,
"title": "Day",
"world": "world",
@timvisher
timvisher / -
Last active August 29, 2015 14:22
(defn -main [& args]
(println "ohai")
(bench (rand-int 5)))
---
> (bench (rand-int 5))
WARNING: Final GC required 2.218566677645771 % of runtime
Evaluation count : 507814320 in 60 samples of 8463572 calls.
Execution time mean : 45.035156 ns
(ns charnock
(:require (compojure.core :refer [ANY
context
routes]
:rename {routes c-routes})))
@timvisher
timvisher / -service-main.clj
Last active August 29, 2015 14:19
-service-main macro
(defmacro -service-main
"Generic web service -main function. Start's SERVICE-NAME, wrapping
HANDLER-VAR."
[service-name handler-var]
`(defn -main [& {port-arg# ":port"
nrepl-port-arg# ":nrepl-port"
nrepl-bind-address-arg# ":nrepl-bind-address"
:as args#}]
(control/start-service! {:service-name ~service-name
:handler-var (var ~handler-var)
Show: Clojure Java REPL Tooling Duplicates All (50 frames hidden)
2. Unhandled java.lang.reflect.InvocationTargetException
(No message)
1. Caused by java.lang.IllegalArgumentException
No matching ctor found for class
org.sonatype.aether.repository.Authentication