Skip to content

Instantly share code, notes, and snippets.

View JAremko's full-sized avatar

Eugene Yaremenko JAremko

  • My old friend existential dread
View GitHub Profile
@JAremko
JAremko / scotty_ci.sh
Created May 23, 2023 13:32 — forked from psyllo/scotty_ci.sh
Sonian Scotty Launch4j JAR to EXE build automation
#!/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:
#+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]]
(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)
** 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
;; -*- 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
[ 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
@JAremko
JAremko / gist:69392f63347b8406ed38
Last active February 20, 2020 00:46 — forked from madmo/gist:8548738
golang websocket over https proxy
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
}