Skip to content

Instantly share code, notes, and snippets.

View prb's full-sized avatar

Paul Brown prb

View GitHub Profile
@prb
prb / contributors.html
Last active August 29, 2015 14:26 — forked from khogeland/contributors.py
FasterXML Contributors
<div id="ri-grid" class="ri-grid ri-grid-size-1 ri-shadow">
<img class="ri-loading-image" src="images/loading.gif"/>
<ul>
<li><a href="https://github.com/cowtowncoder"><img height="100px" width="100px" alt="cowtowncoder" src="https://avatars.githubusercontent.com/u/55065?v=3&s=100"></a></li>
<li><a href="https://github.com/stebulus"><img height="100px" width="100px" alt="stebulus" src="https://avatars.githubusercontent.com/u/6166570?v=3&s=100"></a></li>
<li><a href="https://github.com/prb"><img height="100px" width="100px" alt="prb" src="https://avatars.githubusercontent.com/u/1231?v=3&s=100"></a></li>
<li><a href="https://github.com/jakeri"><img height="100px" width="100px" alt="jakeri" src="https://avatars.githubusercontent.com/u/76497?v=3&s=100"></a></li>
<li><a href="https://github.com/simonetripodi"><img height="100px" width="100px" alt="simonetripodi" src="https://avatars.githubusercontent.com/u/463156?v=3&s=100"></a></li>
<li><a href="https://github.com/blangel"><img height="1
@prb
prb / maven_spark_magic.xml
Created May 12, 2014 16:47
Fragment of a pom.xml file for packaging separate worker and driver JARs for Spark.
<!-- Fragment of pom.xml -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
@prb
prb / 0_README.md
Last active August 29, 2015 13:57
US Polo Association BEP Notes

BEP Integration Notes for US Polo Association

This note covers BEP integration for [http://www.uspoloassn.com/](US Polo Association).

Seller ID

Your seller IDs are:

Environment ID
@prb
prb / DwShiroSnippet.java
Last active December 15, 2015 05:39
Minimal integration of Shiro as a filter in front of a Dropwizard application.
environment.setSessionHandler(new SessionHandler());
AbstractShiroFilter sf = new AbstractShiroFilter() { };
IniWebEnvironment iwe = new IniWebEnvironment();
iwe.init();
sf.setSecurityManager(iwe.getWebSecurityManager());
sf.setFilterChainResolver(iwe.getFilterChainResolver());
environment.addFilter(sf,"/*").setName("shiro-filter");
@prb
prb / IPs and instance IDs
Created March 14, 2012 23:53
Unused servers
8160eba6-9309-4f91-b80f-87d2d578262e i-6a979d0f 107.22.52.19
226ca3cc-add4-4746-9867-bf8c0255e979 i-b5f86bd1 204.236.215.60
4e54238f-288d-40c8-b97f-096aeb43954c i-0e060c6b 23.20.53.214
e92f83b4-a681-4479-81bb-946b205aa4f2 i-16411973 107.20.111.210
02e7fcd4-f40a-451e-aabe-cd393e9659e5 i-4d178729 50.19.15.101
9dcb013e-8634-4d34-80d1-ab7fbe6ce2ba
97de7561-ce83-481e-a0fb-ea96df568b04 i-866672e3 174.129.99.27
e81da761-b050-41c7-81bb-60498163b6fe i-d6c79fb3 50.17.32.13
01f9ed8f-bb27-44ac-b2d1-cdd6c9d08d23
281f32b0-d1a2-43cd-966e-25d104ca3834