Skip to content

Instantly share code, notes, and snippets.

View agustin107's full-sized avatar
🇦🇷
Working on a better versions of myself 💪🏽

Agustin N. R. Ramirez agustin107

🇦🇷
Working on a better versions of myself 💪🏽
View GitHub Profile
const { get, set, isUndefined, noop, identity } = require('lodash');
const { InvalidInputFileError } = require('../errors');
const { processCsv, parseCsvValue, filterEmpty, entityWithImages } = require('../utils/CsvUtils');
const { entityHeaders } = require('../utils/CsvEntitiesHeaders');
function parseCsv(entity, parseRow = identity) {
return (req, res, next) => {
const { fields = {}, files } = req;
const [file] = Object.values(files);
@agustin107
agustin107 / cloudSettings
Last active February 8, 2021 20:56
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-02-08T20:56:29.701Z","extensionVersion":"v3.4.3"}
@agustin107
agustin107 / git-status-simple-way.md
Created March 8, 2019 16:11
Show git status in simple way

git status -sb

@agustin107
agustin107 / .vimrc
Created November 12, 2015 01:14
Personal Settings of Vim
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
# Show current Git branch on bash prompt
PS1="[\[\033[32m\]\w]\[\033[0m\]\$(__git_ps1)\n\[\033[1;36m\]\u@\h\[\033[32m\]$ \[\033[0m\]"