Skip to content

Instantly share code, notes, and snippets.


Miguel Mendez ObjectiveTruth

View GitHub Profile
#! /bin/sh
# Simple script to check if a package exists and if not, installs it to AEM
# Uses the filename to search for the package name unless -s option is declared
usage() { echo "Usage: $0 [-f <aem_package_to_install>] [-u <aem_url>] [-s <aem_package_to_search_for_instead_of_filename(optional)>]" 1>&2; exit 1; }
OPTIND=1 # Reset in case getopts has been used previously in the shell.
ObjectiveTruth / Vagrantfile
Created May 13, 2016 22:14
Vagrantfile to create a VB with AEM [REQUIRES your own jar and file]
View Vagrantfile
nothign yet
ObjectiveTruth / 0_reuse_code.js
Created July 2, 2014 15:51
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console