Skip to content

Instantly share code, notes, and snippets.

Gilberto Diaz diazgilberto

Block or report user

Report or block diazgilberto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View repoFactory.js
const repoFactory = function() {
let repos = this;
let repoList = [
{name: 'task', source: './taskRepo'},
{name: 'user', source: './userRepo'},
{name: 'project', source: './projectRepo'}
repoList.forEach((repo) => repos[] = require(repo.source)())
diazgilberto / .babelrc
Last active Mar 1, 2019
Jest Initial Setup With Babel
View .babelrc
"presets": ["@babel/env"]
diazgilberto / .eslintrc.json
Last active Dec 19, 2018
ESLint configuration file
View .eslintrc.json
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
"extends": [
diazgilberto / .editorconfig
Last active Jul 28, 2017
VSCODE: Editor configuration for multiple languages
View .editorconfig
# top-most EditorConfig file
root = true
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
View Open iTerm from Sublime
CD_CMD="cd "\\\"$(pwd)\\\"" && clear"
if echo "$SHELL" | grep -E "/fish$" &> /dev/null; then
CD_CMD="cd "\\\"$(pwd)\\\""; and clear"
VERSION=$(sw_vers -productVersion)
while [ "$1" != "" ]; do
You can’t perform that action at this time.