Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash -ex
yum install java-1.7.0-openjdk-devel.x86_64 -y
yum install git -y
yum remove java-1.6.0-openjdk.x86_64 -y
#### Install Seyren ####
cd /opt
#!/bin/bash
logfile=/home/ec2-user/seyren_restarter.log
exec >> $logfile 2>&1
cd /opt/
cd seyren
# kill the jetty/java process
kill -9 `pidof java`
Fri Mar 21 15:54:54 2014 :: Exception Caught
Traceback (most recent call last):
File "/opt/graphite/webapp/graphite/render/datalib.py", line 231, in fetchData
cachedResults = CarbonLink.query(dbFile.real_metric)
File "/opt/graphite/webapp/graphite/render/datalib.py", line 140, in query
results = self.send_request(request)
File "/opt/graphite/webapp/graphite/render/datalib.py", line 166, in send_request
result = self.recv_response(conn)
File "/opt/graphite/webapp/graphite/render/datalib.py", line 181, in recv_response
return unpickle.loads(body)
@mbarrin
mbarrin / gist:856e259125e6ea684739
Created August 28, 2014 09:20
docker iptables
matthew@clipping ➜ 0 ~ sudo iptables -L -n -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 20559
REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 redir ports 20558
DOCKER all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
Chain INPUT (policy ACCEPT)
target prot opt source destination
filter {
grok {
pattern => [ "message", "%{GREEDYDATA:index}" ]
}
}
output {
elasticsearch {
host => "localhost"
flush_size => 1
matthew@clipping ➜ 0 logstash git:(master) ✗ bin/logstash rspec spec/outputs/elasticsearch.rb
Using Accessor#strict_set for specs
Run options: exclude {:redis=>true, :socket=>true, :performance=>true, :elasticsearch=>true, :broken=>true, :export_cypher=>true}
.
Finished in 0.659 seconds
1 example, 0 failures
[2014-09-23 15:40:20,517][ERROR][marvel.agent.exporter ] [cupcake.localdomain] index failure (index:[.marvel-2014.09.23] type: [cluster_stats]): IndexCreationException[[.marvel-2014.09.23] failed to create index]; nested: NoClassDefFoundError[Could not initialize class org.elasticsearch.index.codec.docvaluesformat DocValuesFormats];
Removed from Captain's Mode
Base movement speed from 300 to 290
Reworked Bloodrage
Old Bloodrage:
===============
Increases base damage, silences and deals damage over time.
- This also dispels the target.
Phantom Lancer
Removed from Captain's Mode
Agility gain reduced from 4.2 to 3.0
Base Agility increased from 23 to 29
Base Strength increased from 18 to 21
Reworked Phantom Lancer:
Spirit Lance: unchanged
Saw live
Tech
http://media.ccc.de/browse/congress/2014/31c3_-_5966_-_en_-_saal_1_-_201412292245_-_unhash_-_methods_for_better_password_cracking_-_tonimir_kisasondi.html
http://media.ccc.de/browse/congress/2014/31c3_-_6050_-_en_-_saal_g_-_201412272030_-_code_pointer_integrity_-_gannimo.html
http://media.ccc.de/browse/congress/2014/31c3_-_6112_-_en_-_saal_2_-_201412301715_-_tor_hidden_services_and_deanonymisation_-_dr_gareth_owen.html
http://media.ccc.de/browse/congress/2014/31c3_-_6122_-_en_-_saal_1_-_201412271830_-_mobile_self-defense_-_karsten_nohl.html
http://media.ccc.de/browse/congress/2014/31c3_-_6128_-_en_-_saal_1_-_201412291830_-_thunderstrike_efi_bootkits_for_apple_macbooks_-_trammell_hudson.html
http://media.ccc.de/browse/congress/2014/31c3_-_6240_-_en_-_saal_g_-_201412271400_-_reproducible_builds_-_mike_perry_-_seth_schoen_-_hans_steiner.html