Skip to content

Instantly share code, notes, and snippets.

View antonioalegria's full-sized avatar

António Alegria antonioalegria

View GitHub Profile
<definitions targetNamespace="http://services.isp.pt/definitions"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://services.isp.pt/definitions"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types>
<xsd:schema targetNamespace="http://services.isp.pt/definitions" elementFormDefault="qualified">
<xsd:element name="clientIdElement" type="xsd:string"/>
<xsd:element name="responseElement" type="xsd:boolean"/>
<xsd:element name="openFaultOccurrence">
Bluepill.application('testapp', :log_file => '/Users/tonio/workspace/bluepill-test/log1.txt') do |app|
app.process('proc1') do |process|
process.group = "group1"
process.start_command = "ruby -e \"while(true); puts Time.now.strftime('%T'); sleep(10); end\""
process.pid_file = '/Users/tonio/workspace/bluepill-test/proc1.pid'
process.working_dir = "/Users/tonio/workspace/bluepill-test/"
process.stdout = process.stderr ='/Users/tonio/workspace/bluepill-test/log2.txt'
process.daemonize = true
Bluepill.application('testapp', :log_file => '/Users/tonio/workspace/bluepill-test/log.txt') do |app|
app.process('proc1') do |process|
process.group = 'group'
process.start_command = %q{jruby -e 'while(true); puts "batata"; $stdout.flush; sleep(5); end'}
process.pid_file = '/Users/tonio/workspace/bluepill-test/pid'
process.daemonize = true
process.stdout = '/Users/tonio/workspace/bluepill-test/out.txt'
end
end
require 'yaml'
bluepill_config_yaml = %q{ ---
:app_name: esper-shiro
:working_dir: /Users/tonio/workspace/esper/
:log_file: /Users/tonio/workspace/esper/bluepill.log
:processes:
:Process2:
:pid_file: /var/bluepill/pids/esper-shiro-Process2.pid
:group: :shiro
package pt.ptp.pulso.esper.view;
import com.espertech.esper.client.EventType;
import com.espertech.esper.core.StatementContext;
import com.espertech.esper.epl.expression.ExprNode;
import com.espertech.esper.view.View;
import com.espertech.esper.view.ViewFactory;
import com.espertech.esper.view.ViewFactoryContext;
import com.espertech.esper.view.ViewFactorySupport;
import com.espertech.esper.view.ViewParameterException;
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Maven Android SDK Deployer
[INFO] Android Platforms
[INFO] Android Platform 1.5
[INFO] Android Platform 1.6
[INFO] Android Platform 2.1
[INFO] Android Platform 2.2
[INFO] Android Add-Ons
[INFO] Android Add-On Google API 3
@antonioalegria
antonioalegria / superfeedr_track_test.log.txt
Created January 18, 2011 23:46
Testing Superfeedr's track API using superfeedr-ruby
DEBUG : RESOLVING: _xmpp-client._tcp.superfeedr.com (SRV)
DEBUG : Found 8 SRV records for _xmpp-client._tcp.superfeedr.com.
DEBUG : Trying connection with : xmpp5.superfeedr.com:5222
DEBUG : CONNECTING TO xmpp5.superfeedr.com:5222 with Superfeedr as connection handler
DEBUG : CONNECTED
DEBUG : SENDING : <?xml version="1.0"?>
<stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" to="superfeedr.com" version="1.0">
DEBUG : SENDING : <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
DEBUG : SENDING : <?xml version="1.0"?>
@antonioalegria
antonioalegria / superfeedr_gowalla.log.txt
Created January 19, 2011 23:16
Skates logs for subscribing to ttp://hub.gowalla.com/track/gowalla&amp;lat=37.781841&amp;lon=-122.420311&amp;within=20
DEBUG : RESOLVING: _xmpp-client._tcp.superfeedr.com (SRV)
DEBUG : Found 8 SRV records for _xmpp-client._tcp.superfeedr.com.
DEBUG : Trying connection with : xmpp6.superfeedr.com:5222
DEBUG : CONNECTING TO xmpp6.superfeedr.com:5222 with Superfeedr as connection handler
DEBUG : CONNECTED
DEBUG : SENDING : <?xml version="1.0"?>
<stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" to="superfeedr.com" version="1.0">
DEBUG : SENDING : <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
DEBUG : SENDING : <?xml version="1.0"?>
DEBUG : RESOLVING: _xmpp-client._tcp.superfeedr.com (SRV)
DEBUG : Found 8 SRV records for _xmpp-client._tcp.superfeedr.com.
DEBUG : Trying connection with : xmpp4.superfeedr.com:5222
DEBUG : CONNECTING TO xmpp4.superfeedr.com:5222 with Superfeedr as connection handler
DEBUG : CONNECTED
DEBUG : SENDING : <?xml version="1.0"?>
<stream:stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" to="superfeedr.com" version="1.0">
DEBUG : SENDING : <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
DEBUG : SENDING : <?xml version="1.0"?>
@antonioalegria
antonioalegria / rvm_trace.txt
Created August 31, 2011 21:13
rvm install --trace jruby
$> rvm install --trace jruby 2> rvm_trace.txt
+__rvm_parse_args:727> [[ -n 4.3.9 ]]
+__rvm_parse_args:750> [[ -z install ]]
+__rvm_parse_args:752> [[ 0 -eq 1 || -n '' ]]
+__rvm_parse_args:20> [[ -n jruby ]]
+__rvm_parse_args:22> rvm_token=jruby
+__rvm_parse_args:24> (( 0 > 0 ))
+__rvm_parse_args:29> next_token=''
+__rvm_parse_args:32> case jruby ([[:alnum:]]*|@*)