Skip to content

Instantly share code, notes, and snippets.

View matiasiglesias's full-sized avatar

Matias Iglesias matiasiglesias

View GitHub Profile
# Setup JHipster to use the latest LTS version of NodeJS
nvm use --lts && node -v > .nvmrc
mvn versions:set-property -Dproperty=node.version -DnewVersion=$(cat .nvmrc)
# Setup JHipster to use your local version of yarn for prod builds
mvn versions:set-property -Dproperty=yarn.version -DnewVersion="v$(yarn -v)"
# Or Setup JHipster to use your local version of npm for prod builds
mvn versions:set-property -Dproperty=npm.version -DnewVersion="v$(npm -v)"
@matiasiglesias
matiasiglesias / angular2codestyle.xml
Last active March 10, 2018 03:12 — forked from jckeen/angular2codestyle.xml
Angular 2 TypeScript Code Style For WebStorm
<!--
These are code style settings, based off the Style Guide for Angular 2:
https://angular.io/docs/ts/latest/guide/style-guide.html
WebStorm does not currently reformat code based off of tslint.json settings.
This is an attempt to set TypeScript settings for Code Style to follow the Style Guide.
I will update this as I find differences.
To Import: Settings > Editor > Code Style > Import
-->
<code_scheme name="Angular 2">
<TypeScriptCodeStyleSettings>
@matiasiglesias
matiasiglesias / LC_CTYPE.txt
Created October 20, 2017 12:22 — forked from thanksdanny/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@matiasiglesias
matiasiglesias / fetch_news.sh
Created March 18, 2016 16:39 — forked from rogeliodh/fetch_news.sh
[Bash] Script to fetch news with calibre
#!/bin/bash
# This is free and unencumbered shell script released into the public domain.
#
####################### Begin Customization Section #############################
#
# Name of the recipe to fetch. You can run:
# ebook-convert --list-recipes
# to look for the correct name. Do not forget the .recipe suffix
RECIPE="La Jornada (Mexico).recipe"