This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Client script for Linux Shell Eclipse Bridge (steb) | |
# shadowbq | |
require 'logger' | |
require 'socket' | |
log = Logger.new(File.dirname(__FILE__) + "/rbsteb.log") | |
log.level = Logger::INFO | |
log.info("loading new file") | |
port = 4404 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#find the to_? methods | |
1.methods.sort.collect {|a| a.match(/to_.*/).to_s}.compact.reject { |s| s.strip.empty? } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'rubygems/command' | |
require 'rubygems/server' | |
options = Hash.new | |
options[:port] = "8010" | |
options[:daemon] = true | |
options[:addresses] = "127.0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jqPlot | |
* Pure JavaScript plotting plugin using jQuery | |
* | |
* Version: 1.0.1 | |
* Revision: 1096 | |
* TickLabels Mod | |
* http://www.cefolger.net/2011/04/enabling-jqplot-highlighter-to-use-tick.html | |
* | |
* Copyright (c) 2009-2011 Chris Leonello |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- snort.conf.orig 2012-03-19 18:57:09.000000000 -0400 | |
+++ snort.conf 2012-04-27 14:41:23.000000000 -0400 | |
@@ -101,17 +101,17 @@ | |
# Path to your rules files (this can be a relative path) | |
# Note for Windows users: You are advised to make this an absolute path, | |
# such as: c:\snort\rules | |
-var RULE_PATH ../rules | |
-var SO_RULE_PATH ../so_rules | |
-var PREPROC_RULE_PATH ../preproc_rules | |
+var RULE_PATH ./rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Note: this works for dates Sat Sep 8 21:46:40 EDT 2001 onward to Nov 2286. | |
# | |
# Usage: | |
# echo 'Awesome example 1316716805 to 1330000000 with data' | ~/epoch | |
# Awesome example Thu Sep 22 14:40:05 EDT 2011 to Thu Feb 23 07:26:40 EST 2012 with data | |
# | |
<<LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
for i in *; do | |
n=`echo $i | tr [:upper:] [:lower:]` | |
if [ $i != $n ]; then | |
# echo -e "$i to $n" | |
git mv -f $i $n | |
fi | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!ENTRY org.eclipse.ui 4 0 2013-01-14 10:47:09.876 | |
!MESSAGE Unhandled event loop exception | |
!STACK 0 | |
java.lang.StackOverflowError | |
at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:774) | |
at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:720) | |
at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:211) | |
at org.eclipse.swt.custom.StyledTextRenderer.getLineHeight(StyledTextRenderer.java:569) | |
at org.eclipse.swt.custom.StyledText.getLineIndex(StyledText.java:4220) | |
at org.eclipse.jface.text.JFaceTextUtil.getBottomIndex(JFaceTextUtil.java:69) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Paint It Greyscale | |
// @namespace John Wrenn | |
// @description Surf the web in soothing shades of grey! | |
// @author shadowbq | |
// @grant none | |
// @include * | |
// ==/UserScript== | |
var $; |
OlderNewer