Skip to content

Instantly share code, notes, and snippets.

Klaus Brunner KlausBrunner

View GitHub Profile
@theotherian
theotherian / Jersey ServerSide connector
Last active Feb 15, 2017
In memory request handling on the server side with Jersey
View Jersey ServerSide connector
It's possible to handle requests in memory with Jersey client
@kmtr
kmtr / beans.xml
Created Sep 4, 2012
JavaEE6 Jetty CDI(Weld) JAX-RS(jersey)
View beans.xml
<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
</beans>
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View elastic_search_ngram_analyzer_for_urls.sh
# ========================================
# Testing n-gram analysis in ElasticSearch
# ========================================
curl -X DELETE localhost:9200/ngram_test
curl -X PUT localhost:9200/ngram_test -d '
{
"settings" : {
"index" : {
"analysis" : {
You can’t perform that action at this time.