Skip to content

Instantly share code, notes, and snippets.

View folkengine's full-sized avatar
😈
Living in interesting times.

Christoph folkengine

😈
Living in interesting times.
View GitHub Profile
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
x.......Close the current nodes parent...........................|NERDTree-x|
@folkengine
folkengine / eqc.md
Last active July 22, 2016 19:33 — forked from efcasado/eqc.md
A gentle introduction to (Erlang) QuickCheck

Erlang QuickCheck

What is QuickCheck?

QuickCheck is a language for stating properties of programs.

?FORALL(X, nat(), X*X >= 0)
@folkengine
folkengine / Exercises in Programming Style.md
Last active March 26, 2024 14:56
Exercises in Programming Style
// http://stackoverflow.com/questions/29478905/protractor-element-gettext-returns-an-object-and-not-string
var eElement = element(by.id(myId));
eElement.getText().then(function (text) {
console.log(text);
});
https://app.grammarly.com/docs/117383981
https://en.wikipedia.org/wiki/Event-driven_architecture
https://en.wikipedia.org/wiki/Event_stream_processing
https://github.com/silentbicycle/theft
https://www.schoolofhaskell.com/user/pbv/an-introduction-to-quickcheck-testing
import xlsxwriter
wb = xlsxwriter.Workbook('test' + str(time.time()) + '.xlsx')
ws = wb.add_worksheet()
rotate = wb.add_format()
rotate.set_rotation(90)
ws.write(0, 0, 'Hi!', rotate)
wb.close()
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)
Sat Jul 22 20:44:55 UTC 2017