This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pl.matisoft.soy.example; | |
| import com.google.common.collect.Lists; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.ComponentScan; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.web.servlet.View; | |
| import org.springframework.web.servlet.ViewResolver; | |
| import org.springframework.web.servlet.config.annotation.EnableWebMvc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class HttpRequest { | |
| private String requestId; | |
| private HttpRequestsCache httpRequestsCache; | |
| public HttpRequest(final HttpRequestsCache httpRequestsCache, final String prefix, final WSRequestHolder holder) { | |
| this.requestId = prefix.concat(":").concat(UUID.randomUUID().toString()); | |
| this.httpRequestsCache = httpRequestsCache.addRequest(requestId, holder); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <metadata modelVersion="1.1.0"> | |
| <groupId>de.mobile.translations</groupId> | |
| <artifactId>mobile-pregenerated-resourcebundles</artifactId> | |
| <version>LATEST-SNAPSHOT</version> | |
| <versioning> | |
| <snapshot> | |
| <timestamp>20140528.150131</timestamp> | |
| <buildNumber>4465</buildNumber> | |
| </snapshot> | |
| <lastUpdated>20140528150131</lastUpdated> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package play; | |
| import com.google.gson.Gson; | |
| import com.google.gson.annotations.SerializedName; | |
| import play.libs.F; | |
| import play.libs.ws.WS; | |
| import play.libs.ws.WSResponse; | |
| import play.mvc.Http; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static F.Promise<Result> index6() { | |
| String makesUrl = "http://m.mobile.de/svc/r/makes/Car"; | |
| String modelsUrl = "http://m.mobile.de/svc/r/models/375"; | |
| F.Promise<SvcApi.Makes> makesP = WS | |
| .url(makesUrl).get() | |
| .map(response -> gson.fromJson(response.getBody(), SvcApi.Makes.class)); | |
| F.Promise<SvcApi.Models> modelsP = WS | |
| .url(modelsUrl).get() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am matiwinnetou on github. | |
| * I am matiwinnetou (https://keybase.io/matiwinnetou) on keybase. | |
| * I have a public key whose fingerprint is 83E6 E53B A395 17EB 068B DF91 FF31 7FD1 233E 22C9 | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //http://adventofcode.com/day/1 | |
| object DayOne extends App { | |
| val floorData: String = "(((())))()((((((((())()(()))(()((((()(()(((()((()((()(()()()()()))(((()(()((((((((((())(()()((())()(((())))()(()(()((()(()))(()()()()((()((()(((()()(((((((()()())()((((()()(((((()(())()(())((())()()))()(((((((())(()())(()(((())(()))((())))(()((()())))()())((((())))(()(((((()(())(((()()((()((()((((((((((())(()())))))()))())()()((((()()()()()()((((((())())(((()())()((()()(((()()()))(((((()))(((()(()()()(()(()(((())()))(()(((()((())()(()())())))((()()()(()()(((()))(((()((((()(((((()()(()())((()())())(()((((((()(()()))((((()))))())((())()()((()(()))))((((((((()))(()()(((())())(())()((()()()()((()((()((()()(((())))(()((())()((((((((()((()(()()(((())())())))(())())))()((((()))))))())))()()))()())((()())()((()()()))(()()(((()(())((((())())((((((((()()()()())))()()()((((()()))))))()((((()(((()))(()()())))((()()(((()))()()())())(((())((()()(())()()()(((())))))()())((()))()))((())()()())()())()()(()))())))())()))(())((()(())))(()(() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.apache.lucene.analysis.de.GermanAnalyzer; | |
| import org.apache.lucene.analysis.standard.StandardAnalyzer; | |
| import org.apache.lucene.document.*; | |
| import org.apache.lucene.index.DirectoryReader; | |
| import org.apache.lucene.index.IndexWriter; | |
| import org.apache.lucene.index.IndexWriterConfig; | |
| import org.apache.lucene.search.spell.LuceneDictionary; | |
| import org.apache.lucene.search.spell.SpellChecker; | |
| import org.apache.lucene.search.suggest.Lookup; | |
| import org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[snippets]] | |
| description = "ssh inet kokosz" | |
| command = "ssh -A [email protected]" | |
| output = "" | |
| [[snippets]] | |
| description = "git fetch all" | |
| command = "git fetch --all" | |
| output = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use aiken/hash.{Blake2b_224, Hash} | |
| use aiken/interval.{Finite, Interval, IntervalBound} | |
| use aiken/list | |
| use aiken/transaction.{ScriptContext, Spend, ValidityRange} | |
| use aiken/transaction/credential.{VerificationKey} | |
| type POSIXTime = | |
| Int | |
| type PubKeyHash = |
OlderNewer