Skip to content

Instantly share code, notes, and snippets.

@jkrasnay
jkrasnay / turing.clj
Last active May 3, 2022 21:28
Turing machine implementation from Clojure TO 2022-04-19
(ns turing)
(def dirs
{:l dec
:r inc})
(defn move
[machine dir]
(update machine :pos (dirs dir)))
@jtlocsei
jtlocsei / mirror-and-remote-repl.md
Last active July 31, 2019 19:08
Edit and run code on remote server as if it's local with Clojure

Mirror + Clojure remote REPL

Motivation & summary

In a nutshell

Use mirror + clojure remote repl to edit and run clojure files on a server as if they're local.

What does it add beyond clojure remote REPL alone?

@olets
olets / arpanet-maps.md
Last active October 23, 2020 20:38
ARPANET Maps

Compiled from http://som.csudh.edu/fac/lpress/history/arpamaps/ and https://en.wikipedia.org/wiki/ARPANET

These maps are from Heart, F., McKenzie, A., McQuillian, J., and Walden, D., ARPANET Completion Report, Bolt, Beranek and Newman, Burlington, MA, January 4, 1978.


Folks -- I just scanned these in. They are too big, but right now I do not have the time to reduce them and try filtering out the noise. If someone does, please let me know. Larry (source: http://som.csudh.edu/fac/lpress/history/arpamaps/)

@Icelandjack
Icelandjack / ExtensibleIsomorphisms.markdown
Last active January 8, 2018 16:56
Encoding Overlapping, Extensible Isomorphisms

The project can be built using Lumo

npm install -g lumo-cljs
lumo build.cljs

Motivation

  • expression-oriented programming one of the great advances of FP
  • expressions plug together like legos, making more malleable programming experience in-the-small

Examples

Write in an expression-oriented style, scoping variables as locally as possible:

@tazsingh
tazsingh / gist:8391d29139c27a6bac85
Created April 23, 2015 02:40
Isomorphic Full Stack ES2015 Hot Flux Generators on io.js
Isomorphic Full Stack
ES2015 Hot Flux Generators
on io.js
@paulirish
paulirish / bling.js
Last active July 23, 2024 01:12
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
};
NodeList.prototype.__proto__ = Array.prototype;