I hereby claim:
- I am joschi on github.
- I am joschi (https://keybase.io/joschi) on keybase.
- I have a public key ASDmakZsOA6w7oJbbL7nkTQ3rPBpWtG89l-IDCfdjkKI4wo
To claim this, I am signing this object:
| # Maintainer: Jan Alexander Steffens (heftig) <[email protected]> | |
| # Contributor: FaziBear <[email protected]> | |
| # Contributor: Jochen Schalanda <[email protected]> | |
| pkgname=jruby | |
| pkgver=1.6.7.2 | |
| pkgrel=1 | |
| pkgdesc="JRuby is 100% pure-Java implementation of the Ruby programming language." | |
| arch=(any) | |
| url="http://www.jruby.org" | |
| license=(CPL GPL2 LGPL2.1 custom) |
| # Generated by gem2arch | |
| _gemname=httparty | |
| pkgname=ruby-$_gemname | |
| pkgver=0.9.0 | |
| pkgrel=1 | |
| pkgdesc="Makes http fun! Also, makes consuming restful web services dead easy." | |
| arch=('any') | |
| url="http://httparty.rubyforge.org/" | |
| license=('') | |
| depends=('ruby' 'ruby-multi_json>=1.0' 'ruby-multi_xml>=0') |
| # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru> | |
| pkgname=ruby-multi_json | |
| _gemname=${pkgname#ruby-} | |
| pkgver=1.3.7 | |
| pkgrel=1 | |
| pkgdesc="A generic swappable back-end for JSON handling." | |
| arch=('any') | |
| url="http://github.com/intridea/multi_json" | |
| license=('MIT') | |
| depends=('ruby' 'rubygems') |
| diff -ru 0.97/src/com/simontuffs/onejar/Boot.java 0.97.1/src/com/simontuffs/onejar/Boot.java | |
| --- 0.97/src/com/simontuffs/onejar/Boot.java 2011-05-04 12:57:38.000000000 +0200 | |
| +++ 0.97.1/src/com/simontuffs/onejar/Boot.java 2012-08-14 21:46:30.000000000 +0200 | |
| @@ -12,6 +12,7 @@ | |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| +import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import java.io.InputStream; |
I hereby claim:
To claim this, I am signing this object:
| Name | Description | License | Maven Central |
|---|---|---|---|
| dropwizard-guice | Support for Google Guice | Apache 2.0 | http://mvnrepository.com/artifact/com.hubspot.dropwizard/dropwizard-guice |
| dropwizard-spring | Spring integration for Dropwizard | Apache 2.0 | http://mvnrepository.com/artifact/com.hmsonline/dropwizard-spring |
| dropwizard-redirect-bundle | A simple bundle for Dropwizard that allows for HTTP redirects | http://mvnrepository.com/artifact/com.bazaarvoice.dropwizard/dropwizard-redirect-bundle |
| package io.dropwizard.client; | |
| import io.dropwizard.Application; | |
| import io.dropwizard.Configuration; | |
| import io.dropwizard.setup.Environment; | |
| import io.dropwizard.testing.junit.DropwizardAppRule; | |
| import org.junit.Rule; | |
| import org.junit.Test; | |
| import javax.ws.rs.client.Client; |
| # HTTP POST to /system/sessions with username and password to acquire a valid session ID | |
| $ curl -i -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' 'http://127.0.0.1:12900/system/sessions' -d '{"username":"USER", "password":"SECRET", "host":""}' | |
| X-Graylog-Node-ID: cd03ee44-b2a7-4824-be16-bb7456149dbd | |
| Content-Type: application/json | |
| Date: Tue, 23 Feb 2016 10:27:09 GMT | |
| Content-Length: 98 | |
| {"valid_until":"2016-02-23T18:27:09.726+0000","session_id":"fdf31c3c-037b-4ff3-ba32-893e06e17c4a"} | |
| # Use the acquired session in a Graylog REST API request (Basic Auth credentials: username==$SESSION_ID, password=="session") |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Configuration packages="org.graylog2.log4j" shutdownHook="disable"> | |
| <Appenders> | |
| <RollingFile name="AccessLogs" fileName="/tmp/logs/access.log" | |
| filePattern="/tmp/logs/access-%d{yyyy-MM-dd}.log.gz"> | |
| <PatternLayout> | |
| <Pattern>%d %-5p: %c - %m%n</Pattern> | |
| </PatternLayout> | |
| <Policies> | |
| <TimeBasedTriggeringPolicy modulate="true"/> |
| # Create an access token for user "admin" with name "test-1234" | |
| # POST /users/{username}/tokens/{name} | |
| $ curl -i -u admin:admin -H 'Accept: application/json' -X POST 'http://127.0.0.1:12900/users/admin/tokens/test-1234?pretty=true' | |
| HTTP/1.1 200 OK | |
| X-Graylog-Node-ID: cd03ee44-b2a7-4824-be16-bb7456149dbd | |
| Content-Type: application/json | |
| Date: Mon, 08 Aug 2016 12:12:09 GMT | |
| Content-Length: 139 | |
| { |