Skip to content

Instantly share code, notes, and snippets.

ProductName: Mac OS X
ProductVersion: 10.12
BuildVersion: 16A323
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-darwin16.0]
artifactory (2.5.0)
bigdecimal (1.2.4)
builder (3.2.2)
bundle (0.0.1)
bundler (1.12.5)
🐢 lein try org.clojure/core.async
nREPL server started on port 59425 on host 127.0.0.1 - nrepl://127.0.0.1:59425
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
https://gist.github.com/timvisher/e647654de44e6959a4302998f21e3b67
base_dir="$2"
#!/usr/bin/env bash
set -eu
set -x
path="${1:-}"
path="$(basename "$path")"
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}
tell application "Finder"
set subroutines to (load script file "subroutines.scpt" of ?
folder "Dropbox" of home as alias)
set lunch_and_learn_file to file "lunchandlearn.org" of folder "Dropbox" of home
end tell
tell application "Google Chrome"
set todo_line to "* TODO [[" & (get URL of active tab of front window) & "][" & (get title of active tab of front window) & "]]" & (ASCII character 10)
end tell