Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ObjectiveTruth's full-sized avatar

Miguel Mendez ObjectiveTruth

View GitHub Profile
@ObjectiveTruth
ObjectiveTruth / 0_reuse_code.js
Created July 2, 2014 15:51
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ObjectiveTruth
ObjectiveTruth / Vagrantfile
Created May 13, 2016 22:14
Vagrantfile to create a VB with AEM [REQUIRES your own jar and license.properties file]
nothign yet
#! /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.
package_file=""
aem_url=""
package_file_search=""