Skip to content

Instantly share code, notes, and snippets.

View mfeldheim's full-sized avatar

Michel Feldheim mfeldheim

View GitHub Profile
{
"html_attributions":[
],
"result":{
"address_components":[
{
"long_name":"50",
"short_name":"50",
"types":[
{
"html_attributions":[
],
"result":{
"address_components":[
{
"long_name":"50",
"short_name":"50",
"types":[
@mfeldheim
mfeldheim / queries_zepyhrus_fri_09_18
Created September 18, 2015 13:31
Search queries, Fri, September 18th, zyphyrus
212.227.23.34 - - [18/Sep/2015:03:54:26 +0000] "GET /search/?what=Costa+Kidlington&searchtype=name&where=OX5+2DH+Kidlington&locId=249 HTTP/1.1" 200 22133 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"
212.227.23.40 - - [18/Sep/2015:03:54:32 +0000] "GET /search/?what=Costa+Kings+Mill+Hospital&searchtype=name&where=NG17+4JL+Nottingham&locId=69 HTTP/1.1" 200 28088 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"
212.227.23.6 - - [18/Sep/2015:03:54:35 +0000] "GET /search/?what=Costa%20Kingsteignton%2C%20Newton%20Abbot%20Retail%20Park&where=TQ12%203SB%20Newton%20Abbot&searchtype=name HTTP/1.1" 200 3261 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"
212.227.23.38 - - [18/Sep/2015:03:55:29 +0000] "GET /search/?what=Costa+Gillingham&searchtype=name&where=SP8+4QT+Gillingham&locId=262
{
"response":{
"type":"list",
"results":[
{
"type":"entries",
"first":1,
"last":20,
"count":20,
"total":5683,
[2015-09-09T13:19:16+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current
One version per cookbook
data_bags at /var/lib/aws/opsworks/data/data_bags
nodes at /var/lib/aws/opsworks/data/nodes
[2015-09-09T13:19:16+00:00] INFO: Forking chef instance to converge...
[2015-09-09T13:19:16+00:00] INFO: *** Chef 11.10.4 ***
[2015-09-09T13:19:16+00:00] INFO: Chef-client pid: 9048
[2015-09-09T13:19:17+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2015-09-09T13:19:17+00:00] WARN: Run List override has been provided.
@mfeldheim
mfeldheim / moderationQueue.json
Created August 26, 2015 10:56
moderationQueue.json
{
"command":"create",
"countryCode":"de",
"listingId":null,
"payload":{
"id":null,
"source_id":"594373",
"name":"Opendi AG",
"designation":"Second Name",
"tagline":"Slogan",
@mfeldheim
mfeldheim / jmap.out
Created April 18, 2015 15:49
jmap with minimal configuration, close to max heap size
num #instances #bytes class name
----------------------------------------------
1: 353776 8370134320 [B
2: 6964 28611584 [Ljava.nio.ByteBuffer;
3: 87001 26234144 [I
4: 100044 15146880 <constMethodKlass>
5: 100044 12819824 <methodKlass>
6: 12754 12401216 <constantPoolKlass>
7: 284431 11377240 org.jruby.RubyString
8: 268206 10728240 org.jruby.RubyHash$RubyHashEntry
@mfeldheim
mfeldheim / jmap.out
Created April 18, 2015 08:50
jmap 100k events later
num #instances #bytes class name
----------------------------------------------
1: 184361 716214928 [B
2: 423171 16926840 org.jruby.RubyString
3: 406836 16273440 org.jruby.RubyHash$RubyHashEntry
4: 101466 15345328 <constMethodKlass>
5: 101466 13001872 <methodKlass>
6: 13018 12681664 <constantPoolKlass>
7: 221347 10624656 org.jruby.RubyArray
8: 13018 10375848 <instanceKlassKlass>
@mfeldheim
mfeldheim / jmap.out
Created April 18, 2015 08:45
sudo -u logstash jmap -histo 24097 right after launch
num #instances #bytes class name
----------------------------------------------
1: 90308 61348544 [B
2: 100690 15243920 <constMethodKlass>
3: 100690 12902512 <methodKlass>
4: 12881 12549448 <constantPoolKlass>
5: 12881 10282792 <instanceKlassKlass>
6: 104367 8291488 [C
7: 11002 6394528 <constantPoolCacheKlass>
8: 106666 4142024 [Ljava.lang.Object;
input {
lumberjack {
port => 5000
type => "logs"
ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"
}
}
filter {