Skip to content

Instantly share code, notes, and snippets.

View JeanGoncalves's full-sized avatar
🏠
Working from home

Jean Gonçalves JeanGoncalves

🏠
Working from home
View GitHub Profile
@JeanGoncalves
JeanGoncalves / .bashrc
Last active September 25, 2015 18:46
Bashrc personalization. Add these lines at the end of the .bashrc file.
#============================================================
# GENERAL CONFIGURATION
#============================================================
CONFIG_GIT_BRANCH_SHOW="true"
CONFIG_GIT_BRANCH_DELIMITERS[0]=""
CONFIG_GIT_BRANCH_DELIMITERS[1]=""
CONFIG_GIT_BRANCH_SHOW_ICON="true"
CONFIG_GIT_BRANCH_ICON_DELIMITERS[0]="["
@JeanGoncalves
JeanGoncalves / ko.utils.signatures.js
Created July 27, 2016 13:27 — forked from hyle/ko.utils.signatures.js
KnockoutJS utils (ko.utils) signatures
// knockout 2.2.1
ko.utils.arrayFilter = function (array, predicate) { /* .. */ }
ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ }
ko.utils.arrayForEach = function (array, action) { /* .. */ }
ko.utils.arrayGetDistinctValues = function (array) { /* .. */ }