Skip to content

Instantly share code, notes, and snippets.

@devan-sisson
devan-sisson / zsh.md
Created June 24, 2017 01:59 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
class AltArray extends Array {
constructor(...args) {
super(...args);
}
altMap(fn) {
var newArr = []
for (let i = 0; i < this.length; i++) {
newArr.push(fn(this[i], i, this));
}
@devan-sisson
devan-sisson / .gitignore
Created January 21, 2017 22:37 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #