Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
(ns inputstream.core | |
(:require [clojure.java.io :as io])) | |
(defn read-is [^java.io.InputStream is] | |
(let [bufsize 8192 | |
buf (byte-array bufsize)] | |
(loop [total-len 0] | |
(let [n (.read is buf)] | |
(cond |
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
}; | |
NodeList.prototype.__proto__ = Array.prototype; |
let Generator = (function*(){}).constructor; | |
// function Generator(...a) { | |
// let [args, body] = a; | |
// if (a.length === 0) [args, body] = [[], '']; | |
// if (a.length === 1) [args, body] = [[], a[0]]; | |
// return new Function(`return function*(${args.join(',')}){${body}};`)(); | |
// } |
UPD 2: Official standalone Signal Desktop is released!
Install official Signal Desktop, old version and this guide using it should now be considered deprecated.
UPD 1: There is now an easier way with automatic Signal Desktop installer, which also keeps Signal updated.
It's great for beginners. Then it turns into a mess.