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
bva@bva-X51L:~/work/performance_tests/sinatra-test$ ab -n 1000 -c 10 -t 8 0.0.0.0:3000/tests | |
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 0.0.0.0 (be patient) | |
Finished 171 requests | |
Server Software: thin |
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 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
# require 'mina/rbenv' # for rbenv support. (http://rbenv.org) | |
# require 'mina/rvm' # for rvm support. (http://rvm.io) | |
# Basic settings: | |
# domain - The hostname to SSH to. | |
# deploy_to - Path to deploy into. | |
# repository - Git repo to clone from. (needed by mina/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
require "interface" | |
DuckInterface = interface { | |
required_methods :walk, :swim, :quack | |
} | |
class Duck | |
def walk | |
puts 'Duck walks' | |
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
[46, 55] in /Users/bva/work/fw2-users-and-groups-api/db/seeds.rb | |
46 | |
47 puts "Created client '#{mobile_client.display_name}' with ID '#{mobile_client.client_id}' and secret '#{mobile_client.secret}' (scopes are '#{mobile_client.scope.join("', '")}')" | |
48 | |
49 debugger | |
50 | |
=> 51 user_confirmed = FactoryGirl.create(:user) | |
52 user_unconfirmed = FactoryGirl.create(:user, confirmed_at: nil, confirmation_token: 'Confirm-me') | |
53 | |
54 puts "Confirmed user: #{user_confirmed.email}:demodemo1234" |
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
В кэше http://dl.google.com stable Release.gpg | |
Игн http://extras.ubuntu.com oneiric Release.gpg | |
Игн http://ua.archive.ubuntu.com oneiric Release.gpg | |
Игн http://ua.archive.ubuntu.com oneiric Release | |
Игн http://ua.archive.ubuntu.com oneiric/main Sources/DiffIndex | |
Игн http://ua.archive.ubuntu.com oneiric/restricted Sources/DiffIndex | |
Игн http://ua.archive.ubuntu.com oneiric/universe Sources/DiffIndex | |
Игн http://ua.archive.ubuntu.com oneiric/multiverse Sources/DiffIndex | |
Игн http://ua.archive.ubuntu.com oneiric/main i386 Packages/DiffIndex | |
Игн http://ua.archive.ubuntu.com oneiric/restricted i386 Packages/DiffIndex |