Skip to content

Instantly share code, notes, and snippets.

View ryanschuhler's full-sized avatar

Ryan Schuhler ryanschuhler

View GitHub Profile
version: '3.3'
services:
database:
image: "mysql:5.7"
container_name: db
environment:
- MYSQL_DATABASE=lportal
- MYSQL_PASSWORD=passw0rd
- MYSQL_ROOT_PASSWORD=passw0rd
- MYSQL_USER=user
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
<form accept-charset="UTF-8" method="post" action="%%form-action-url%%" class="form" id="pardot-form">
%%form-opening-general-content%%
%%form-if-thank-you%%
%%form-javascript-focus%%
%%form-thank-you-content%%
%%form-thank-you-code%%
%%form-end-if-thank-you%%
%%form-if-display-form%%
{
"fieldSets": [{
"fields": [
{
"dataType": "string",
"defaultValue": "custom",
"description": "src",
"label": "src",
"name": "src",
"type": "select",
[#assign src = ""]
[#if configuration.src == "custom"]
[#if configuration.customSrc?starts_with("{")]
[#assign customSrcJson = jsonFactoryUtil.createJSONObject(configuration.customSrc)]
[#if customSrcJson[locale]?has_content]
[#assign src = customSrcJson[locale]]
[#elseif customSrcJson["default"]?has_content]
[#assign src = customSrcJson["default"]]
body { background: #202020; color: #f8f8f2; }
a { color: #bd93f9; }
a:link, a:visited { color: #bd93f9; }
a:hover, a:active, a:focus { color: #8be9fd; }
hr { border-bottom: 1px solid #44475a; border-top: 1px solid #202020; }
[user]
name = ryanschuhler
email = ryan.schuhler@liferay.com
[credential]
helper = cache --timeout=7200
[alias]
co = checkout
cb = checkout -b
br = branch
st = status
alias ~='cd ~'
alias ..='cd ..'
alias add-alias='s nano ~/.bash_aliases'
alias cax='chmod a+x'
alias cdls='cd $1 && ls'
alias check='afs && git sfm'
alias cl='clear'
alias del='rm -rf'
alias gri='git rebase --interactive HEAD~10'
alias hunter='pkill -9 -f catalina'
@ryanschuhler
ryanschuhler / user_metrics.txt
Last active September 13, 2016 17:24
User Metrics
Per User Metrics
- session
- duration
- source
- path (first page, all pages in between, last page)
- number of pages
- individual page metrics
- time on pages
- goals achieved/things clicked
- previous and next page