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 'unicorn/socket_helper' | |
require '../channels/lib/channel' | |
require 'kgio' | |
require 'fcntl' | |
require 'ruby-debug' | |
require 'net/http' | |
require 'benchmark' | |
include Unicorn::SocketHelper | |
CRLF = "\r\n" |
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 'unicorn' | |
require '../channels/lib/channel' | |
require 'kgio' | |
require 'fcntl' | |
require 'ruby-debug' | |
require 'net/http' | |
require 'benchmark' | |
include Unicorn::SocketHelper | |
CRLF = "\r\n" |
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
it('should set active_user to Guest', function() { | |
browser().navigateTo('/games') | |
var future = this.addFutureAction('browser href', function($window, $document, done) { | |
done(null, $window.active_user.username()) | |
}) | |
expect(future).toBe('Guest') | |
}); |
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.addFutureAction('check username', function($window, $document, done) { | |
console.log($window.active_user.username()) | |
expect($window.active_user.username()).toBe("Guest") | |
done() | |
}) |
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
curl "https://sendgrid.com/api/unsubscribes.delete.json?api_user=username&api_key=password&email=devmessages@kongregate.com" |
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
info: Welcome to Nodejitsu towski | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
warn: | |
warn: Your package.json file is missing required fields: | |
warn: | |
warn: scripts.start | |
warn: | |
warn: Prompting user for required fields. | |
warn: Press ^C at any time to quit. |
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
<fieldType name="tag" class="solr.TextField"> | |
<analyzer type="index"> | |
<tokenizer class="solr.StandardTokenizerFactory"/> | |
<filter class="solr.StandardFilterFactory"/> | |
<filter class="solr.LowerCaseFilterFactory"/> | |
</analyzer> | |
<analyzer type="query"> | |
<tokenizer class="solr.StandardTokenizerFactory"/> | |
<filter class="solr.StandardFilterFactory"/> | |
<filter class="solr.LowerCaseFilterFactory"/> |
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
8.470001 = (MATCH) sum of: | |
5.2308245 = (MATCH) max of: | |
5.2308245 = (MATCH) sum of: | |
0.50882924 = (MATCH) weight(title_text_ngram:but in 24457), product of: | |
0.051065523 = queryWeight(title_text_ngram:but), product of: | |
5.7528577 = idf(docFreq=1188, maxDocs=137823) | |
0.008876549 = queryNorm | |
9.964242 = (MATCH) fieldWeight(title_text_ngram:but in 24457), product of: | |
1.7320508 = tf(termFreq(title_text_ngram:but)=3) | |
5.7528577 = idf(docFreq=1188, maxDocs=137823) |
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
# ActiveRecord::Base.connection.timeout(20, []) do |connection| | |
# worrisome sql | |
# end | |
module ActiveRecord | |
class TimeoutError < ActiveRecordError | |
def initialize(message = nil) | |
super(message) | |
end | |
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
java -XstartOnFirstThread -d32 -client -Xmx500m -Xss1024k -jar /Users/towski/.selenium/assets/selenium-2.0b3/selenium-server-standalone-2.0b3.jar | |
11:34:47.952 INFO - Java: Apple Inc. 17.1-b03-307 | |
11:34:47.954 INFO - OS: Mac OS X 10.6.5 i386 | |
11:34:47.961 INFO - v2.0 [b3], with Core v2.0 [b3] | |
11:34:48.101 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
11:34:48.103 INFO - Version Jetty/5.1.x | |
11:34:48.104 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] | |
11:34:48.104 INFO - Started HttpContext[/selenium-server,/selenium-server] | |
11:34:48.105 INFO - Started HttpContext[/,/] | |
11:34:48.257 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@949f69 |
NewerOlder