Skip to content

Instantly share code, notes, and snippets.

View michal-kazmierczak's full-sized avatar

Michał Kaźmierczak michal-kazmierczak

View GitHub Profile
git_commit() {
cmd='git commit -a -m "" -m "['
space='"'
BUFFER=$cmd$(pbpaste)]$space
zle get-line
zle end-of-line
zle backward-word
zle backward-word
zle backward-word
zle forward-char
@lisp-ceo
lisp-ceo / gist:b4f09ac96835dfd7dceb
Created February 15, 2016 23:23
Ruby Memory Model
Ruby Memory Model
Indented italic paragraphs are used for notes.
This document is work-in-progress. Intentions of this effort and document are: to summarize the behavior of Ruby in concurrent and parallel environments, initiate the discussion, identify problems in the document, find flaws in Ruby implementations if any, suggest what has to be enhanced in Ruby itself and cooperate on adding the enhancements to Ruby implementations.
It is not the intention of this effort to introduce high-level concurrency abstractions like actors to the language, but rather to improve low-level concurrency support to add many more concurrency abstractions through gems.
For readers and reviewers: Thank you for taking time to read this document and provide feedback or ask questions, both are very valuable. The document is locked against direct editing, but please comment by selecting text and clicking “Insert comment” button, or you can suggest changes by directly editing the text. You can choose to be notified about all comment