Skip to content

Instantly share code, notes, and snippets.

View tobowers's full-sized avatar

Topper Bowers tobowers

View GitHub Profile
@tobowers
tobowers / ossec.gpg
Created September 7, 2016 08:05
the ossec gpg key from http://ossec.wazuh.com/key/RPM-GPG-KEY-OSSEC on 7SEP2016
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (GNU/Linux)
mQENBFXvILcBCAC1yi/6q3rDQLRf0TtTw25sxP/v7v5f0gR6Wd9nJCHjJ3SqU64y
idA17+ENc3+ybETJ6uJDSTyVG0cvaV2fOzMPVmLVrOSgAinscH50BNteVee38ryb
p4GRhdExPcDwsEH2/wcBHNgFpLLdmh6ih4B+bN7uO/u37Ksa8Rs6RYRHvCmpbCo9
tBRBDUMfflNHO/num0NSHhhDyukbp3DR0Tbhp1r2DRh9bhSs505URkqEDHyeY2tu
qzmZaM4G9j7wKIleR4sLvx9mNLUd1WhBeq2jtPaZNp8JMiYEWVcqVyxyiVofGq00
XPexnCpqTWQiDtrwmOPtWXU3KGBDKkpQAliVABEBAAG0H0pvc2UgTHVpcyBSdWl6
IDxqb3NlQHdhenVoLmNvbT6JATkEEwECACMFAlXvILcCGwMHCwkIBwMCAQYVCAIJ
[root@vagrant /]# cat /var/log/tomcat6/catalina.out
Dec 16, 2015 22:12:43 +0000 [5287 1] com.newrelic INFO: Agent is using Logback
Dec 16, 2015 22:12:43 +0000 [5287 1] com.newrelic ERROR: Unable to start New Relic agent: com.newrelic.agent.config.ConfigurationException: Failed to find the configuration file
com.newrelic.agent.config.ConfigurationException: Failed to find the configuration file
at com.newrelic.agent.config.ConfigServiceFactory.getConfigFile(ConfigServiceFactory.java:57) ~[newrelic.jar:3.5.0]
at com.newrelic.agent.config.ConfigServiceFactory.createConfigService(ConfigServiceFactory.java:28) ~[newrelic.jar:3.5.0]
at com.newrelic.agent.service.ServiceManagerImpl.<init>(ServiceManagerImpl.java:99) ~[newrelic.jar:3.5.0]
at com.newrelic.agent.Agent.premain(Agent.java:195) ~[newrelic.jar:3.5.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_91]
@tobowers
tobowers / list.md
Last active December 26, 2015 08:58
  1. devon
  2. james
  3. peregrine
  4. chris
  5. freddie
  6. ben
  7. brian
  8. adrian
  9. jeff
  10. mukund
Jul 24 09:24:22 webapps01 kernel: [38870557.302003] INFO: task jbd2/xvda1-8:153 blocked for more than 120 seconds.
Jul 24 09:24:22 webapps01 kernel: [38870557.302020] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 24 09:24:22 webapps01 kernel: [38870557.302030] jbd2/xvda1-8 D ffff8800efc136c0 0 153 2 0x00000000
Jul 24 09:24:22 webapps01 kernel: [38870557.302037] ffff8800026ddbe0 0000000000000246 00000000251cb0c4 ffffffff81cda500
Jul 24 09:24:22 webapps01 kernel: [38870557.302043] ffff8800026ddfd8 ffff8800026ddfd8 ffff8800026ddfd8 00000000000136c0
Jul 24 09:24:22 webapps01 kernel: [38870557.302049] ffffffff81c0d020 ffff8800026f44a0 ffff8800026ddc98 ffff8800efc13f80
Jul 24 09:24:22 webapps01 kernel: [38870557.302054] Call Trace:
Jul 24 09:24:22 webapps01 kernel: [38870557.302072] [<ffffffff811a56d0>] ? __wait_on_buffer+0x30/0x30
Jul 24 09:24:22 webapps01 kernel: [38870557.302078] [<ffffffff816545ff>] schedule+0x3f/0x60
Jul 24 09:24:22 webapps01 kernel:
I'm calling to ask you a few important questions about Robert.
Hello, Robert. My name is Bowers ... [pause dramitcally] ... Topping Bowers. I'm calling to ask you a few important questions about Robert.
movedelete* This paragraphquestion is empty. Please add text.
Do you eat breakfast?Do you eat breakfast?
Do you eat breakfast?
@tobowers
tobowers / gist:5460600
Last active December 16, 2015 16:08
v3 interaction api - memberships, points
/v3/users
/v3/sessions
POST /v3/matches
/v3/organizations
/v3/session # currentUser, currentOrganization, currentInitiative - probably adding currentInitiativePoints currentOrganizationPoints
NativeConstructorAccessorImpl.java:-2:in `newInstance0': com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot ? the record #7:318 because the version is not the latest. Probably you are ing an old record or it has been modified by another user (db=v50 your=v0)
from NativeConstructorAccessorImpl.java:57:in `newInstance'
from DelegatingConstructorAccessorImpl.java:45:in `newInstance'
from Constructor.java:525:in `newInstance'
from OChannelBinary.java:517:in `createException'
from OChannelBinary.java:470:in `handleStatus'
from OChannelBinaryAsynch.java:145:in `beginResponse'
from OChannelBinaryAsynch.java:59:in `beginResponse'
from OStorageRemote.java:1832:in `beginResponse'
from OStorageRemote.java:1130:in `commit'
<subsystem xmlns='urn:jboss:domain:jgroups:1.1' default-stack='tcp'>
<stack name='tcp'>
<transport type='TCP' socket-binding='jgroups-tcp'/>
<protocol type='S3_PING'>
<property name="access_key">
[redacted]
</property>
<property name='secret_access_key'>
[redacted]
</property>
ec2-54-234-211-18.compute-1.amazonaws.com 16:12:17,816 WARN [org.jgroups.protocols.TCP] (Timer-5,<ADDR>) logical address cache didn't contain all physical address, sending up a discovery request
ec2-54-234-211-18.compute-1.amazonaws.com 16:12:17,818 ERROR [org.jgroups.protocols.TCP] (Timer-5,<ADDR>) failed sending message to cluster (90 bytes): java.lang.NullPointerException, cause: null
require 'spec_helper'
require 'redis'
describe "a fucked situation" do
class SimpleQueue
QUEUE_NAME = 'simple_queue'