Skip to content

Instantly share code, notes, and snippets.

bash-4.2$ ./vendor/jruby/bin/jruby ./vendor/bundle/jruby/1.9/bin/bundle update manticore
Gem::LoadError: Could not find 'bundler' (>= 0) among 5 total gem(s)
Checked in 'GEM_PATH=/opt/logstash/.gem/jruby/1.9:/opt/logstash/vendor/jruby/lib/ruby/gems/shared', execute `gem env` for more information
to_specs at /opt/logstash/vendor/jruby/lib/ruby/shared/rubygems/dependency.rb:315
to_spec at /opt/logstash/vendor/jruby/lib/ruby/shared/rubygems/dependency.rb:324
gem at /opt/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_gem.rb:64
(root) at ./vendor/bundle/jruby/1.9/bin/bundle:22
bash-4.2$ ./bin/plugin list --verbose | grep elastic
logstash-input-elasticsearch (2.0.3)
logstash-output-elasticsearch (2.5.1)
bash-4.2$ ./bin/plugin install --version 2.5.3 logstash-output-elasticsearch
Validating logstash-output-elasticsearch-2.5.3
Installing logstash-output-elasticsearch
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "manticore":
In snapshot (Gemfile.lock):
manticore (= 0.5.2)
### Keybase proof
I hereby claim:
* I am Gillingham on github.
* I am gillingham (https://keybase.io/gillingham) on keybase.
* I have a public key whose fingerprint is B331 1EB6 8F85 7DE2 E0F1 81E2 AE87 2E02 47E3 65A6
To claim this, I am signing this object:
14:20 [directorbot] Subject: all-all
14:20 [directorbot] if you find a wormhole in the northish area to
null/low/high, please send me a jabber pm with start system, amount
of wormhole jumps, exit destination. thanks :3
14:20
14:20 *** This was a broadcast from kcolor to all-all at 2014-05-01
21:20:44.496052 EVE, replies are not monitored ***
14:23 [directorbot] Subject: all-all
14:23 [directorbot] Even if you don't find a wormhole, message kcolor with
random madeup shit. Also, if you flood kcolor's jabber client and
FORM: {{ FORM_ACTION_URL }}
URL: {% url 'upload_tf' %}
{% url 'upload_tf' as FORM_ACTION_URL %}
{% url 'upload_tf' as test %}
TEST: {{ test }}
FORM:{{ FORM_ACTION_URL }}
% extends "base.html" %}
{% block title %}Register{% endblock %}
{% block content %}
<div class="row-fluid">
<div class="span12">
<form method="post" action="" class="form-horizontal">
<fieldset>
<legend>Register</legend>
@Gillingham
Gillingham / evething diff
Last active December 27, 2015 04:59
Add a registration form/view/whatever to evething.
diff --git a/evething/local_settings.example b/evething/local_settings.example
index 193a40c..4b6b1aa 100644
--- a/evething/local_settings.example
+++ b/evething/local_settings.example
@@ -59,6 +59,9 @@ DISABLE_ACCOUNT_PASSWORD = False
# Reject new API keys where keyid < MAX(keyid) added at least half an hour ago.
ONLY_NEW_APIKEYS = True
+# Allow new users to register
+ALLOW_REGISTRATION = False
@Gillingham
Gillingham / gist:7209237
Last active December 26, 2015 20:29
get OnTopReplica window positions and sizes python using win32gui
import win32con
import win32gui
def getWindowSizes():
def callback(hWnd, windows):
rect = win32gui.GetWindowRect(hWnd)
txt = win32gui.GetWindowText(hWnd)
if txt == "OnTopReplica":
windows.append((txt, rect[0], rect[1], (rect[2] - rect[0], rect[3] - rect[1])))
windows = []
OPTIONS https://abandonedjerks.com/index.php?s=<stuff>&app=core&module=ajax&section=notifications&do=getlatest Origin http://abandonedjerks.com is not allowed by Access-Control-Allow-Origin. index.php?ipbv=<stuff>&g=js:228
XMLHttpRequest cannot load https://abandonedjerks.com/index.php?s=<stuff>&app=core&module=ajax&section=notifications&do=getlatest. Origin http://abandonedjerks.com is not allowed by Access-Control-Allow-Origin. abandonedjerks.com/:1
Refused to get unsafe header "X-JSON" index.php?ipbv=<stuff>&g=js:243
>> MySQLTuner 1.0.1 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.32-0ubuntu0.12.04.1-log
[OK] Operating on 64-bit architecture