I hereby claim:
- I am lhazlewood on github.
- I am lhazlewood (https://keybase.io/lhazlewood) on keybase.
- I have a public key whose fingerprint is 3441 1B65 D710 D8F5 B3E9 E029 015E F5B6 FD1F 998B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| xbuild StormPathUserManagement.sln /p:TargetFrameworkProfile="" /p:TargetFrameworkVersion="v4.5" /p:TreatWarningsAsErrors="false" | |
| XBuild Engine Version 12.0 | |
| Mono, Version 3.8.0.0 | |
| Copyright (C) 2005-2013 Various Mono authors | |
| Build started 9/9/2014 6:49:25 PM. | |
| __________________________________________________ | |
| Project "/Users/lhazlewood/projects/lhazlewood/Stormpath-SDK-CSharp/StormPathUserManagement.sln" (default target(s)): | |
| Target ValidateSolutionConfiguration: | |
| Building solution configuration "Debug|Any CPU". |
| <bean id="restExceptionResolver" class="com.stormpath.spring.web.servlet.handler.RestExceptionHandler"> | |
| <property name="order" value="100"></property> | |
| <property name="errorResolver"> | |
| <bean class="com.stormpath.spring.web.servlet.handler.DefaultRestErrorResolver"> | |
| <property name="localeResolver" ref="localeResolver"></property> | |
| <property name="defaultMoreInfoUrl" value="mailto:support@mycompany.com"></property> | |
| <property name="exceptionMappingDefinitions"> | |
| <map> | |
| <!-- 404 --> | |
| <entry key="com.stormpath.blog.spring.mvc.rest.exhandler.UnknownResourceException" value="404, _exmsg"></entry> |
| <entry key="com.stormpath.blog.spring.mvc.rest.exhandler.UnknownResourceException" value="404, _exmsg"/> |
| #!/usr/bin/env bash | |
| [[ -z "$JAVA_HOME" ]] && echo "JAVA_HOME must be set" && exit 1 | |
| cd $JAVA_HOME/jre/lib/security | |
| curl -LO "http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip" -H 'Cookie: oraclelicense=accept-securebackup-cookie' | |
| # backup existing JVM files that we will replace just in case: | |
| mv local_policy.jar local_policy.jar.orig | |
| mv US_export_policy.jar US_export_policy.jar.orig | |
| unzip jce_policy-8.zip |
| #!/bin/bash | |
| echo `ps -A | grep coreaudiod | grep -v grep` | |
| sudo kill `ps -A -o pid,comm | grep coreaudiod | grep -v grep | awk '{ print $1 }'` | |
| sleep 1 | |
| echo `ps -A | grep coreaudiod | grep -v grep` |
| response="$(curl --silent --show-error -i https://google.com)" | |
| status_code="$(echo "$response" | head -1 | awk '{print $2}')" | |
| headers="$(echo "$response" | sed "/^\s*$(printf '\r')*$/q" | sed '/^[[:space:]]*$/d' | tail -n +2)" | |
| body="$(echo "$response" | sed "1,/^\s*$(printf '\r')*$/d")" |
| # for example, to print ansible_distribution: | |
| ansible localhost -m setup 2>/dev/null | sed '1 s/^.*$/{/' | jq -r '.ansible_facts.ansible_distribution' |
| # Specifically JDK installations (contain 'javac' command) and not JREs: | |
| yum --disablerepo=* whatprovides '*/bin/javac' | grep ilename | awk -F': ' '{print $2}' | sed 's/\/bin\/javac//' | |
| # All JRE installations (those with bin/java but without bin/javac). Includes JREs that are included in JDKs. | |
| for candidate in $(yum --disablerepo=* whatprovides '*/bin/java' | grep ilename | awk -F': ' '{print $2}' | sed 's/\/bin\/java//'); do | |
| if [ ! -x "${candidate}/bin/javac" ]; then | |
| echo "${candidate}" | |
| fi | |
| done |