This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Synopsis: | |
# Build a scotty.exe from a scotty.jar using Launch4j | |
# Helpful docs: | |
# - http://launch4j.sourceforge.net/docs.html | |
# - https://gist.github.com/iantruslove/8fe3631fdd14b2417758 | |
# The primary dependencies to resolve are: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+TITLE: Java layer | |
[[file:img/java.png]] | |
* Table of Contents :TOC_4_gh:noexport: | |
- [[#description][Description]] | |
- [[#layer-installation][Layer Installation]] | |
- [[#layer][Layer]] | |
- [[#choosing-a-backend][Choosing a backend]] | |
- [[#backends][Backends]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro clj/->> (o &rest forms) | |
"Threads the expr through the forms. | |
Inserts o as the last item in the first form, | |
making a list of it if it is not a list already. | |
If there are more forms, inserts the first form | |
as the last item in second form, etc." | |
(cond ((not forms) o) | |
((= 1 (length forms)) | |
(let ((f (first forms))) | |
(append (if (symbolp f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Use-package | |
*** Transient-state | |
*** n and N | |
*** Code Navigation | |
*** =insert state= buffers | |
** Confirm and Abort | |
** REPLs | |
** Building and Compilation | |
** Plain Text Markup Languages | |
*** Promotion, Demotion and element movement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 276.002] | |
X.Org X Server 1.16.4 | |
Release Date: 2014-12-20 | |
[ 276.002] X Protocol Version 11, Revision 0 | |
[ 276.002] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian | |
[ 276.002] Current Operating System: Linux work 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 | |
[ 276.002] Kernel command line: BOOT_IMAGE=/vmlinuz-3.16.0-4-amd64 root=/dev/mapper/work--vg-root ro quiet | |
[ 276.003] Build Date: 11 February 2015 12:32:02AM | |
[ 276.003] xorg-server 2:1.16.4-1 (http://www.debian.org/support) | |
[ 276.003] Current version of pixman: 0.32.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func HttpConnect(proxy, url_ string) (io.ReadWriteCloser, error) { | |
p, err := net.Dial("tcp", proxy) | |
if err != nil { | |
return nil, err | |
} | |
turl, err := url.Parse(url_) | |
if err != nil { | |
return nil, err | |
} |