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
Generating /Users/thiagoscalone/projects/plano_be/walk/mobile/ruboto_sample/using_bundler/libs/bundle.jar | |
Updating [email protected]:planobe/posxml_parse.git | |
Fetching gem metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Using posxml_parse (0.0.2) from [email protected]:planobe/posxml_parse.git (at master) Successfully built RubyGem | |
Name: posxml_parse | |
Version: 0.0.2 | |
File: posxml_parse-0.0.2.gem | |
Using bundler (1.3.5) |
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
source "https://rubygems.org" | |
gem 'posxml_parse', "0.0.2", :git => "[email protected]:planobe/posxml_parse.git" |
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
source "https://rubygems.org" | |
gem 'posxml_parse', "0.0.2", :git => "[email protected]:planobe/posxml_parse.git" | |
gem 'json' |
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
def get_app | |
@request = nil | |
url = URI.parse("http://cloudwalk-manager-staging.herokuapp.com/api/users/token.json?email=#{@edit_text_email.text}&password=#{@edit_text_password.text}") | |
posxml_execute_thread { @request = Net::HTTP.post_form(url, {})} | |
loop do | |
break if @request != nil | |
end | |
parsed = JSON.parse(@request.body) |
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
module PosxmlParse | |
class Terminal | |
CONFIG_FILE_NAME = "posxml_terminal_config.dat" | |
include PosxmlParse::Threadable | |
attr_accessor :root_path, :token, :email, :password, :app_id_list | |
def initialize(root_path, use_thread, email, password) | |
@root_path = root_path |
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
class MyClass | |
include PosxmlParser | |
def start | |
use_thread = false | |
posxml_files_path = "./" | |
main = "main.posxml" | |
posxml_configure!("", , use_thread) | |
end |
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
➈❸@walk (mruby) thiagoscalone@Atena:~/projects/plano_be/walk/omg-ide$ npm install; ./getLibs.sh | |
npm WARN package.json [email protected] No repository field. | |
npm http GET https://github.com/sadasant/node-proxywrap/tarball/master | |
npm http 200 https://github.com/sadasant/node-proxywrap/tarball/master | |
OMG-IDE LIBRARIES | |
bootstrap.css | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 121k 100 121k 0 0 41013 0 0:00:03 0:00:03 --:--:-- 46093 |
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
class MyClass | |
include PosxmlParser | |
def pause | |
@pause = true | |
end | |
def oncreate | |
posxml_configure("/sdcard", "main.posxml") | |
posxml_loop do | |
loop { break if @pause == false } |
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
# encoding: UTF-8 | |
require "rubygems" | |
require 'riak' | |
require "ripple" | |
require "turn" | |
require "json" | |
require "rake" | |
include Rake::DSL |
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
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking www.nerdbrew.com.br (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests | |
Completed 500 requests |