Skip to content

Instantly share code, notes, and snippets.

View DonRichards's full-sized avatar

Don Richards DonRichards

View GitHub Profile
@DonRichards
DonRichards / npm-debug.log
Created November 2, 2015 13:58
npm install jsonwebtoken bcrypt q --save
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'jsonwebtoken',
1 verbose cli 'bcrypt',
1 verbose cli 'q',
1 verbose cli '--save' ]
2 info using npm@2.14.4
3 info using node@v4.1.2
@DonRichards
DonRichards / Setup.sh
Last active November 23, 2015 16:47
OSX Environment Setup
#!/bin/sh
# Guide kinda https://github.com/monfresh/laptop | https://github.com/nicolashery/mac-dev-setup#system-update
fancy_echo() {
local fmt="$1"; shift
# shellcheck disable=SC2059
printf "\n$fmt\n" "$@"
}
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e
@DonRichards
DonRichards / com.googlecode.iterm2.plist
Created February 9, 2016 17:25
iTerm2 Configuration File
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdjustWindowForFontSizeChange</key>
<true/>
<key>AllowClipboardAccess</key>
<false/>
<key>AnimateDimming</key>
<false/>
@DonRichards
DonRichards / development.make
Last active February 10, 2016 17:40
Drupal Make File Test
; This file was auto-generated by drush make
core = 7.x
api = 2
projects[drupal][version] = "7.42"
; Modules
projects[ctools][version] = "1.9"
projects[colorbox][version] = "2.10"
Apr 20, 2016 1:49:41 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/djatoka/lib/Linux-x86-64
Apr 20, 2016 1:49:41 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
Apr 20, 2016 1:49:41 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 20, 2016 1:49:41 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Apr 20, 2016 1:49:41 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 834 ms
@DonRichards
DonRichards / catalina.2016-04-20.log
Last active April 21, 2016 18:56
Islandora Newspaper Batch Ingest Troubleshooting Date picker from DC-MODS-Metadata. Tomcat: catalina*.log; Apache: logs.tgz; Watchdog: watchdog-out.txt; Sample Files: independent.zip
Apr 20, 2016 1:49:41 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/djatoka/lib/Linux-x86-64
Apr 20, 2016 1:49:41 PM org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'maxSpareThreads' to '75' did not find a matching property.
Apr 20, 2016 1:49:41 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 20, 2016 1:49:41 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Apr 20, 2016 1:49:41 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 834 ms
@DonRichards
DonRichards / .gitconfig
Created August 4, 2016 14:59
Linux/Unix .gitconfig [If not already set run: `git config -f ~/.gitconfig`]
[alias]
a = add --all
ai = add -i
#############
ap = apply
as = apply --stat
ac = apply --check
#############
ama = am --abort
amr = am --resolved
@DonRichards
DonRichards / .gitconfig
Last active August 4, 2016 15:06
Windows .gitconfig [If not already set run: `git config -f %USERPROFILE%/.gitconfig`]
[user]
name = Peter Quill
email = star.lord@Kyln.com
[core]
editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = %USERPROFILE%/.gitignore
attributesfile = %USERPROFILE%/.gitattributes
autocrlf = true
[web]
@DonRichards
DonRichards / .gitattributes
Created August 4, 2016 15:15
.gitattributes Sample file
# Automatically normalize line endings for all text-based files
* text=auto
* text eol=lf
# Might want to disable because of https://github.com/mathiasbynens/dotfiles/issues/149 :(