Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am pimg on github.
  • I am pimg (https://keybase.io/pimg) on keybase.
  • I have a public key ASAOaSY8irs2w-l-0bjM33E1lYucRLqvBgx7luWzq1kchgo

To claim this, I am signing this object:

@pimg
pimg / nginx.conf
Created March 21, 2018 12:54 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@pimg
pimg / RXGlue.groovy
Created March 9, 2017 07:42 — forked from pintowar/RXGlue.groovy
Creating a SSE streaming with Apache Camel and Ratpack, using Rx Groovy as a glue
@Grab('com.netflix.rxjava:rxjava-groovy:0.20.7')
@Grab('io.reactivex:rxjava-reactive-streams:0.3.0')
@Grab('org.apache.camel:camel-rx:2.14.1')
@Grab('io.ratpack:ratpack-groovy:0.9.11')
@Grab('org.slf4j:slf4j-simple:1.6.6')
import org.apache.camel.impl.*
import org.apache.camel.rx.*
import static rx.RxReactiveStreams.toPublisher
import static ratpack.groovy.Groovy.ratpack
import static ratpack.sse.ServerSentEvents.serverSentEvents;