I hereby claim:
- I am jakemcc on github.
- I am jakemcc (https://keybase.io/jakemcc) on keybase.
- I have a public key ASCx5MswIKjL2E40s6mZ92Y5_vaFknSQogvXwIaVbmXVPwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| qqq.core> (require '[clojure.java.shell :as shell]) | |
| nil | |
| ;; Kick off a future that is reading System/in and just print the result | |
| qqq.core> (future | |
| (println (.read System/in)) | |
| (println "done")) | |
| #<Future@536d8f5e: :pending> | |
| ;; Invoke something that uses /bin/sh, see the output |
| # one line for easy copy and pasting to terminal. | |
| function newyezzy { curl -s http://newyeezyresolutions.com/randquote.php?quote=$1 | sed 's/.*\<h2>\(.*\)<.*<div id="sourceinfo".*/\1/' | head -n 1; } |
| (defproject revise "0.0.2" | |
| :description "RethinkDB client for Clojure" | |
| :url "github.com/bitemyapp/revise/" | |
| :license {:name "Eclipse Public License" | |
| :url "http://www.eclipse.org/legal/epl-v10.html"} | |
| :main bitemyapp.revise.core | |
| :plugins [[lein-protobuf "0.3.1" :exclusions [leinjacker]] | |
| [lein-difftest "2.0.0"] | |
| [com.jakemccrary/lein-test-refresh "0.1.2"]] | |
| :test-selectors {:default (fn [_] true) ;; (complement :integration) |
| (defun set-exec-path-from-shell-PATH () | |
| (let ((path-from-shell (shell-command-to-string "$SHELL -i -c 'echo $PATH'"))) | |
| (setenv "PATH" path-from-shell) | |
| (setq exec-path (split-string path-from-shell path-separator)))) | |
| (if window-system (set-exec-path-from-shell-PATH)) |
| Having Resharper auto put code into #regions is annoying. | |
| To stop this, open Resharper options, then C# > Type Members Layout. | |
| Uncheck "Use Default Patterns" and past xml into it. |
| <html> | |
| <head></head> | |
| <body> | |
| <input type="button" onclick="window.open(location.href,'myWindow','height=300,width=300,menubar=no,status=no,left=3000').focus();return false;" value="Try it"> | |
| </body> | |
| </html> |
| // No issues with this | |
| private static class DecimalsRecordLayout extends CobolRecordLayout { | |
| public DecimalsRecordLayout() { | |
| super("decimals"); | |
| field("Price", "9(5)"); | |
| field("Quantity", "99v999"); | |
| field("Other", "999v99"); | |
| } | |
| } |
| #!/usr/bin/env bash | |
| java -cp $HOME/opt/clojure/jars/jline.jar:$HOME/opt/clojure/jars/clojure-contrib.jar:$HOME/opt/clojure/jars/clojure.jar jline.ConsoleRunner clojure.main $* |