Skip to content

Instantly share code, notes, and snippets.

View lbjay's full-sized avatar

Jay Luker lbjay

View GitHub Profile
@lbjay
lbjay / gist:9194543
Created February 24, 2014 18:56
zoia fail
INFO 2014-02-24T13:54:46 supybot Creating new Irc for freenode.
INFO 2014-02-24T13:54:46 supybot Sending PASS command, not logging the password.
INFO 2014-02-24T13:54:46 supybot Connecting to chat.us.freenode.net:6667.
INFO 2014-02-24T13:54:46 supybot Loading plugins (connecting to freenode).
WARNING 2014-02-24T13:54:46 supybot You need to have dictclient installed to use this plugin. Download it at <http://quux.org:70/devel/dictclient>
WARNING 2014-02-24T13:54:48 supybot Failed to load Words: No module named Words.
WARNING 2014-02-24T13:54:48 supybot Error connecting to chat.us.freenode.net:6667: An error occurred while connecting: -9: Unknown error 4294967287.
INFO 2014-02-24T13:54:51 supybot Connecting to holmes.freenode.net:6667.
INFO 2014-02-24T13:54:56 supybot Server holmes.freenode.net has version ircd-seven-1.1.3
INFO 2014-02-24T13:54:56 supybot Got end of MOTD from holmes.freenode.net
67.134.207.238 - - [13/Mar/2014:15:51:37 -0400] "GET /adsabs/search/?q=+author%3A%22long%2C+D.%22&month_from=&year_from=&month_to=&year_to=&db_f=%28astronomy+OR+phys
ics%29&nr=&bigquery=&aut_f=-(%221%2FLong%2C+D%2FLong%2C+D+A%22+OR+%221%2FLong%2C+D%2FLong%2C+David+G%22+OR+%221%2FLong%2C+D%2FLong%2C%20D%20G%22+OR+%221%2FLong%2C%20
D%2FLong%2C%20Daniel%20C%22+OR+%221%2FLong%2C%20D%2FLong%2C%20Dan%22+OR+%221%2FLong%2C%20D%2FLong%2C%20Didier%22+OR+%221%2FLong%2C%20D%2FLong%2C%20Donald%22+OR+%221%
2FLong%2C%20D%2FLong%2C%20David%20T%22)&aut_f=-(%221%2FLong%2C%20D%2FLong%2C%20D%20D%22+OR+%221%2FLong%2C%20D%2FLong%2C%20D%20G%20F%22)&aut_f=-(%221%2FLong%2C%20D%2F
Long%2C%20D%20T%22+OR+%221%2FLong%2C%20D%2FLong%2C%20David%20A%22+OR+%221%2FLong%2C%20D%2FLong%2C%20Di%22+OR+%221%2FLong%2C%20D%2FLong%2C%20Dongyang%22+OR+%221%2FLon
g%2C%20D%2FLong%2C%20D%20C%22+OR+%221%2FLong%2C%20D%2FLong%2C%20D%20F%22)&aut_f=-(%221%2FLong%2C%20D%2FLong%2C%20Darrel%20G%20F%22+OR+%221%2FLong%2C%20D%2FLong%2C%20
Dong%20Yang%22+OR+%221%2FLon
@lbjay
lbjay / gist:11259832
Last active August 29, 2015 14:00
logstash - invalid byte sequence in UTF-8
{
:timestamp=>"2014-04-24T11:09:00.344000+0000",
:message=>"Exception in filterworker",
"exception"=>#<ArgumentError: invalid byte sequence in UTF-8>,
"backtrace"=>[
"org/jruby/RubyRegexp.java:1674:in `=~'",
"(eval):234:in `initialize'",
"org/jruby/RubyProc.java:271:in `call'",
"/opt/logstash/lib/logstash/pipeline.rb:262:in `filter'",
"/opt/logstash/lib/logstash/pipeline.rb:203:in `filterworker'",
@lbjay
lbjay / gist:c57e28a486bc1e10c82f
Last active August 29, 2015 14:05
tsdb-eval logstash config
input {
udp {
port => 3333
codec => json
}
}
filter {
date {
match => [ "created", "YYYY-MM-dd'T'HH:mm:ssZZ" ]
@lbjay
lbjay / gist:da42cfc7f4a8f7824c72
Created August 29, 2014 13:15
linux mint xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
[ 6.049]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 6.049] X Protocol Version 11, Revision 0
[ 6.049] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[ 6.049] Current Operating System: Linux jluker-Latitude-E7440 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
[ 6.049] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=de25c969-663b-4ecd-b22d-5c1de5d23a6d ro quiet splash vt.handoff=7
[ 6.049] Build Date: 16 April 2014 01:36:29PM
[ 6.049] xorg-server 2:1.15.1-0ubuntu2 (For technical support please see http://www.ubuntu.com/support)
[ 6.049] Current version of pixman: 0.30.2
System: Host: jluker-Latitude-E7440 Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2)
Desktop: Gnome Distro: Linux Mint 17 Qiana
Machine: System: Dell product: Latitude E7440 version: 01
Mobo: Dell model: 07F3F4 version: A00 Bios: Dell version: A09 date: 05/01/2014
CPU: Dual core Intel Core i7-4600U CPU (-HT-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10775.7
Clock Speeds: 1: 756.00 MHz 2: 756.00 MHz 3: 756.00 MHz 4: 2000.00 MHz
Graphics: Card: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1360x768@59.8hz
GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Audio: Card-1: Intel Lynx Point-LP HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/adsabs/bumblebee/pull/150","name":"View Pull Request"}}</script>
Bringing machine 'default' up with 'docker' provider...
==> default: Building the container from a Dockerfile...
default: Image: e7c5e7043c84
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Creating the container...
default: Name: vagrant_elastic_docker_default_1417033411
default: Image: e7c5e7043c84
default: Volume: /home/jluker/projects/vagrant_elastic_docker:/vagrant
default: Port: 2200:22
default:
/home/ec2-user/harvardedits/anon/node_modules/wikichanges/node_modules/irc/lib/parse_message.js:39
message.command = match[1];
^
TypeError: Cannot read property '1' of null
at parseMessage (/home/ec2-user/harvardedits/anon/node_modules/wikichanges/node_modules/irc/lib/parse_message.js:39:28)
at iterator (/home/ec2-user/harvardedits/anon/node_modules/wikichanges/node_modules/irc/lib/irc.js:753:27)
at Array.forEach (native)
at Socket.<anonymous> (/home/ec2-user/harvardedits/anon/node_modules/wikichanges/node_modules/irc/lib/irc.js:752:15)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:745:14)