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
monit: Debug: Adding host allow 'localhost' | |
monit: Debug: Skipping redundant host 'localhost' | |
monit: Debug: Skipping redundant host 'localhost' | |
Runtime constants: | |
Control file = /etc/monitrc | |
Log file = syslog | |
Pid file = /var/run/monit.pid | |
Debug = True | |
Log = True | |
Use syslog = True |
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
<html> | |
<head> | |
<link type="text/css" rel="stylesheet" href="/usr/local/lib/ruby/gems/1.8/gems/visionmedia-jspec-2.8.3/lib/jspec.css" /> | |
<script src="../jquery.js"></script> | |
<script src="/usr/local/lib/ruby/gems/1.8/gems/visionmedia-jspec-2.8.3/lib/jspec.js"></script> | |
<script src="/usr/local/lib/ruby/gems/1.8/gems/visionmedia-jspec-2.8.3/lib/jspec.jquery.js"></script> | |
<script src="spec.xhr.js"></script> | |
<script src="../jquery.fn.js"></script> | |
<script src="../jquery-ui.js"></script> | |
<script src="../splitter.js"></script> |
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
****** index.html | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<script> | |
var dude = new Worker('my_worker.js'); | |
dude.onmessage = function(e) { |
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
****** index.html | |
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
var dude = new Worker('my_worker.js'); | |
dude.onmessage = function(e) { | |
alert(e.data); |
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
****** index.html | |
<html> | |
<head><title></title></head> | |
<body> | |
<script> | |
var dude = new Worker('my_worker.js'); | |
dude.onmessage = function(e) { | |
alert(e.data); | |
}; |
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
irb(main):004:0> require 'rubygems' | |
=> true | |
irb(main):005:0> require 'forgery' | |
=> true | |
irb(main):006:0> LoremIpsumForgery.text | |
=> "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." | |
irb(main):007:0> LoremIpsumForgery.text | |
=> "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." |
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
describe "#create" do | |
before :each do | |
@user = User.make | |
@attrs = user.attributes | |
@attrs.delete(:id) # this is now required for me. | |
end | |
it "should create a user" do | |
lambda { | |
@response = request(resource(:users), :method => "POST", |
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
~ datatype mismatch (code: 20, sql state: , query: INSERT INTO "locations" ("id", "name", "area", "guid", "zero_hp", "combat_chance") VALUES ('', 'passymeasure', 'BAhjCU1haW4= | |
', 'BAg6DXZpZ2lsYW50 | |
', 'f', 100), uri: sqlite3://:memory:) | |
~ datatype mismatch - (DataObjects::DataError) | |
/usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/data_objects_adapter.rb:162:in `execute_non_query' | |
/usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/data_objects_adapter.rb:162:in `execute' | |
/usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/data_objects_adapter.rb:266:in `with_connection' | |
/usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/data_objects_adapter.rb:160:in `execute' | |
/usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/data_objects_adapter.rb:58:in `create' | |
/usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/adapters/data_objects_adapter.rb:31:in `each' |
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
User.fix {{ | |
:login => unique { /\w{5,10}/.gen }, | |
:email => unique { "#{/\w{5,10}/.gen}@example.com" }, | |
:password => (password = /\w{16}/.gen), | |
:password_confirmation => password, | |
:characters => (1..3).of {Character.make}, | |
:current_character => nil, | |
:agreed => true, | |
:age_check => true, | |
:max_characters => 9001 |
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
Merb root at: /usr/home/pope/relife | |
Loading init file from ./config/init.rb | |
Loading ./config/environments/development.rb | |
Logging to file at /usr/home/pope/relife/log/development.log | |
~ Could not load /usr/home/pope/relife/app/models/shield.rb: | |
uninitialized constant CharacterArmor - (NameError) | |
/usr/home/pope/relife/app/models/shield.rb:1 | |
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' |