Skip to content

Instantly share code, notes, and snippets.

View robertohein's full-sized avatar

Roberto Hein robertohein

View GitHub Profile
$estados = array( "AC", "AL", "AM", "AP", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RO", "RS", "RR", "SC", "SE", "SP", "TO" );
@kentcdodds
kentcdodds / package-exact.js
Last active June 15, 2024 12:09
make your package.json dependencies be the exact version that's in your node_modules currently
/* jshint node:true */
/* eslint-env node */
/*
* This will look at the current version of all of your dependencies and update your package.json
* with the specific version that you currently have in node_modules. This will save you from the
* sadness that is: DEPENDENCY MANAGEMENT
*
* Place this file in a folder that's a a sibling to your package.json and node_modules
* Then simply run: node scripts/package-strict
@weiserr
weiserr / application.yml
Last active August 7, 2022 12:04
Let's Encrypt on Ubuntu for Spring-Boot applications
server:
port: 8443
ssl:
# this should match with the used ${DEST}
key-store: file:./keystore.p12
key-store-password: password
keyStoreType: PKCS12
keyAlias: tomcat