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
window.onload = function() { | |
alert(':-)'); | |
} |
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 SearchSession < ActiveRecord::Base | |
include Redis::Objects | |
belongs_to :user | |
validates :user_id, :presence => true | |
serialize :conditions, Hash | |
list :cached_results_ids | |
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
alert('word up!'); |
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
[2011-07-28 00:18:32,655][WARN ][http.netty ] [Hermod] Caught exception while handling client http traffic, closing connection | |
java.lang.IllegalArgumentException: empty text | |
at org.elasticsearch.common.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:103) | |
at org.elasticsearch.common.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:68) | |
at org.elasticsearch.common.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:81) | |
at org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:198) | |
at org.elasticsearch.common.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:107) | |
at org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:470) | |
at org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.cleanup(ReplayingDecoder.java:541) | |
at org.elasticsearch.common.netty.handler.codec.replay.ReplayingDecoder.channelDisconnected(R |
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
{ | |
"custom_score": { | |
"query": { | |
"filtered": { | |
"query": { | |
"match_all": { } | |
}, | |
"filter": { | |
"and": [ | |
{ |
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
{ | |
"custom_score": { | |
"query": { | |
"filtered": { | |
"query": { | |
"match_all": {} | |
}, | |
"filter": { | |
"and": [ | |
{ |
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
Dating: http://netdate.dk/ |
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 WorkoutLink < ActiveRecord::Base | |
belongs_to :workout | |
YOUTUBE_REGEXP = /youtu(?:\.be\/|be\.com\/watch\?v=)(\w{11})/ | |
VIMEO_REGEXP = /vimeo\.com\/([\d+]+)/ | |
def youtube_video_id | |
$1 if url =~ YOUTUBE_REGEXP | |
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
15265 <... epoll_wait resumed> {}, 8192, 500) = 0 | |
15200 <... epoll_wait resumed> {}, 8192, 1000) = 0 | |
15265 epoll_wait(44, <unfinished ...> | |
15200 accept(20, 0x7f33b525a270, [28]) = -1 EAGAIN (Resource temporarily unavailable) | |
15200 epoll_wait(24, <unfinished ...> | |
15278 <... epoll_wait resumed> {}, 8192, 1000) = 0 | |
15266 <... epoll_wait resumed> {}, 8192, 500) = 0 | |
25861 <... epoll_wait resumed> {}, 8192, 500) = 0 | |
15278 accept(85, <unfinished ...> | |
25861 epoll_wait(2763, <unfinished ...> |
OlderNewer