Skip to content

Instantly share code, notes, and snippets.

View jjpmann's full-sized avatar

Jerry Price jjpmann

View GitHub Profile
# Versions and Changelog
Files kept in the repo for refrence of current version of the site and log of the changes.
## Changelog
http://keepachangelog.com/en/0.3.0/
_Examples_
############################################################
# (custom) shortcuts
############################################################
# List directory with all files
alias l='clear; echo ""; echo -------------- `pwd`; echo ""; ls -lah; echo ""';
# List users on the system
alias users='cat /etc/passwd | cut -d ":" -f1'
# Show IP address
alias myip="echo INTERNAL && ifconfig | grep 'inet ' && echo PUBLIC && echo ' ' `dig +short myip.opendns.com @resolver1.opendns.com`"
# Show Current process of user
@jjpmann
jjpmann / output.txt
Created March 10, 2016 14:27
phantomas log
This file has been truncated, but you can view the full file.
Debug: Fontconfig error: Cannot load default config file
14:02:00.557 phantomas v1.13.0: /var/www/YellowLabTools/node_modules/phantomas/
14:02:00.557 Options: {"include-dirs":"/var/www/YellowLabTools/lib/tools/phantomas/custom_modules/core,/var/www/YellowLabTools/lib/tools/phantomas/custom_modules/modules","skip-modules":"blockDomains,domHiddenContent,domMutations,domQueries,events,filmStrip,har,javaScriptBottlenecks,jQuery,jserrors,lazyLoadableImages,pageSource,windowPerformance","format":"json:pretty","R":"json:pretty","reporter":"json:pretty","screenshot":"/tmp/1457577522283.413/screenshot.png","user-agent":"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) YLT Chrome/27.0.1453.110 Safari/537.36","js-deep-analysis":true,"timeout":30,"engine":"webkit2","silent":false,"progress":false,"page-source":false,"film-strip":false,"colors":false,"analyze-css":true,"stop-at-onload":false,"spy-eval":false,"scroll":false,"no-externals":false,"disable-js":false,"v":true,"verbose":true,"h":false,"help":
@jjpmann
jjpmann / blog.md
Last active February 18, 2016 14:02
Blog

hi

@jjpmann
jjpmann / dropbox-public-link-copy.scpt
Last active December 6, 2015 04:07
OSX Folder Action (script) to copy dropbox public link to clipboard for new files added to shared folder
@jjpmann
jjpmann / ee-freeform-example.php
Created November 30, 2015 14:30
embed of dynamic contact form
# Team Listing
{exp:channel:entries channel="team"}
<div>
<h2>{name}</h2>
...
{embed="team/.form-modal" email="{team_email}" id="{url_title}"}
<?php
/**
* session_start_hook
*
* @param
* @return
*/
public function sessions_start_hook()
{