As configured in my dotfiles.
start new:
tmux
start new with session name:
| package com.example; | |
| import com.fasterxml.jackson.core.JsonFactory; | |
| import com.fasterxml.jackson.core.JsonGenerator; | |
| import com.google.common.base.Strings; | |
| import io.dropwizard.Application; | |
| import io.dropwizard.setup.Environment; | |
| import org.eclipse.jetty.servlet.ServletHolder; | |
| import javax.servlet.ServletException; |
| extension UIBezierPath { | |
| class func getAxisAlignedArrowPoints(inout points: Array<CGPoint>, forLength: CGFloat, tailWidth: CGFloat, headWidth: CGFloat, headLength: CGFloat ) { | |
| let tailLength = forLength - headLength | |
| points.append(CGPointMake(0, tailWidth/2)) | |
| points.append(CGPointMake(tailLength, tailWidth/2)) | |
| points.append(CGPointMake(tailLength, headWidth/2)) | |
| points.append(CGPointMake(forLength, 0)) | |
| points.append(CGPointMake(tailLength, -headWidth/2)) |
| # simple match all query with term facet | |
| ejs.Request() | |
| .indices("myindex") | |
| .types("mytype") | |
| .query(ejs.MatchAllQuery()) | |
| .facet( | |
| ejs.TermsFacet('url') | |
| .field('url') | |
| .size(20)) |
As configured in my dotfiles.
start new:
tmux
start new with session name: