This file contains hidden or 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
| source 'https://rubygems.org' | |
| gem "trollop" | |
| gem "reel" |
This file contains hidden or 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
| source 'https://rubygems.org' | |
| gem "celluloid", "~> 0.15.0.pre" | |
| gem "reel", "~> 0.4.0.pre" |
This file contains hidden or 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
| // logger = require('logger'); | |
| // logger.log_to_console(true); | |
| // logger.log_to_folder('log','_app.log'); | |
| // logger.set_log_level('DEBUG'); | |
| // logger.info('Happy to be here.'); | |
| exports.logger = (function() { | |
| var that = {}; | |
| that.levels = { | |
| "TRACE": 0, | |
| "DEBUG": 1, |
This file contains hidden or 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
| <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> | |
| <!--#include file="../Connections/Inbound.asp" --> | |
| <% | |
| Dim debulk | |
| Set debulk = Server.CreateObject("ADODB.Recordset") | |
| debulk.ActiveConnection = MM_Inbound_STRING | |
| debulk.Source = "SELECT debulk_last as 'Last', debulk_first as 'First', debulk_addr1 as 'Address 1', debulk_addr2 as 'Address 2', debulk_city as 'City', debulk_state as 'State', debulk_zip as 'Zip', debulk_complex as 'Apartment Complex' FROM dbo.debulk" | |
| debulk.CursorType = 0 |
This file contains hidden or 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
| ===================================== | |
| craig@craigs:~$ uname -a | |
| Linux craigs 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux | |
| ===================================== | |
| craig@craigs:~$ jruby -v | |
| jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_21-b11 [linux-amd64] | |
| craig@craigs:~$ gem list | |
| *** LOCAL GEMS *** |
This file contains hidden or 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
| jruby -v | |
| jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on Java HotSpot(TM) Client VM 1.8.0-ea-b78 +indy [Windows 2003-x86] | |
| script at | |
| [email protected]:CootCraig/celluloid_zmq_test.git | |
| ========================= log output | |
| libzmq version {:major=>2, :minor=>2, :patch=>0} | |
| app.run | |
| EventLogger starting |
This file contains hidden or 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
| celluloid, ffi-rzmq script fails on windows with jruby 1.7.3 | |
| script at | |
| [email protected]:CootCraig/celluloid_zmq_test.git | |
| $ jruby -v | |
| jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java HotSpot(TM) Client VM 1.8.0-ea-b78 +indy [Windows 2003-x86] | |
| ======================================================== script output | |
| libzmq version {:major=>2, :minor=>2, :patch=>0} |
This file contains hidden or 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 'java' | |
| require 'jnetpcap.jar' | |
| require 'ipaddr' | |
| require 'json' | |
| class PacketHandler | |
| include Java::org::jnetpcap::packet::PcapPacketHandler | |
| def initialize | |
| @tcp_header = Java::org::jnetpcap::protocol::tcpip::Tcp.new |
This file contains hidden or 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
| GEM | |
| remote: https://rubygems.org/ | |
| specs: | |
| actionpack (3.2.12) | |
| activemodel (= 3.2.12) | |
| activesupport (= 3.2.12) | |
| builder (~> 3.0.0) | |
| erubis (~> 2.7.0) | |
| journey (~> 1.0.4) | |
| rack (~> 1.4.5) |
This file contains hidden or 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
| source "http://rubygems.org" | |
| gem "celluloid" |