Skip to content

Instantly share code, notes, and snippets.

View jkevingutierrez's full-sized avatar

Kevin Gutiérrez jkevingutierrez

View GitHub Profile
java -Xmx4G -Xms4G -jar aem-author-4502.jar -gui
mvn clean install -PautoInstallPackage
zip -r zip_file_name folder -x *.git* *node_modules* *.DS_Store *resources*
{
"extends": "airbnb",
"rules": {
"func-names": ["error", "never"],
"indent": ["error", 4],
"comma-dangle": ["error", "never"]
}
}
@jkevingutierrez
jkevingutierrez / sleep.js
Last active May 3, 2018 14:42
Functions that simulate sync sleep
function sleep(milliseconds) {
var start = new Date().getTime();
for (var i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds){
break;
}
}
}
@jkevingutierrez
jkevingutierrez / code-plugins
Created January 3, 2018 10:51
Plugins for visual studio code
beautify
debugger for chrome
editorconfig for vs
eslint
htmlhint
jshint
Path intellisense
quokka.js
relative path
sass
rvm get stable --autolibs=enable --auto-dotfiles
@jkevingutierrez
jkevingutierrez / update-gems
Last active August 29, 2015 14:23
Update outdated gems
gem update `gem outdated | cut -d ' ' -f 1`
@jkevingutierrez
jkevingutierrez / uninstall-local-npm-packages
Last active August 29, 2015 14:23
Uninstall all local npm packages
for package in `ls node_modules`; do npm uninstall $package; done;