Skip to content

Instantly share code, notes, and snippets.

View oidacra's full-sized avatar
🏠
Working from home

Arcadio Quintero oidacra

🏠
Working from home
View GitHub Profile
// Compilo
cordova build --release android
// firmo
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore CordovaApp-release-unsigned.apk alias_name
//Optimizo
zipalign -v 4 CordovaApp-release-unsigned.apk xx-dev.apk
@oidacra
oidacra / gist:a5dd7125c116549f547f
Created January 23, 2015 22:04
Calcular Edad JS
// Kristoffer Dorph
function calcAge(dateString) {
var birthday = +new Date(dateString);
return~~ ((Date.now() - birthday) / (31557600000));
}
@oidacra
oidacra / Nx-parallels
Last active November 16, 2020 06:14
Run Nx proyects paralles
nx run-many --projects=api,frontend --target=serve --parallel
@oidacra
oidacra / nx-ngrx
Created November 16, 2020 06:53
Nx generate State Ngrx
npx nx g @nrwl/angular:ngrx calls --module=apps/<appname>/src/app/features/calls/calls.module.ts --defaults
@oidacra
oidacra / experiment.json
Created September 15, 2022 15:38
New Experiment object
"entity": [
{
"archived": false,
"createdBy": "dotcms.org.1",
"creationDate": "2022-09-13T13:53:32.092Z",
"description": "my experiment description",
"id": "230fd8ef-b5b2-4a84-9aae-783919dddf56",
"lastModifiedBy": "dotcms.org.1",
"modDate": "2022-09-13T13:53:32.103Z",
"name": "my experiment",