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:
@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
}