Skip to content

Instantly share code, notes, and snippets.

View mmurray's full-sized avatar

Michael Murray mmurray

View GitHub Profile
Started POST "/articles/creating-a-responsive-chat-room-using-old-school-ajax-and-php/comments" for 213.5.64.211 at Thu Nov 18 17
:04:00 -0800 2010
Processing by CommentsController#create as HTML
Parameters: {"recaptcha_response_field"=>"manual_challenge", "comment"=>{"name"=>"how can i tell if i am gay", "body"=>"http://
fenomenalegroup.com/webalizer/586/licking_girl_feet.html licking girl feet, 221, http://certifiedinspections-ok.com/cp/297/91462
5-silk-dress-girls.html silk dress girls, lze, http://archispecbuildinginspector.com/cp/42/grandparent_visitation_laws.html gran
dparent visitation laws, 8DDD, http://homeinspectorsaugustaga.com/images/812/5i64-43.html cameron videos, >:-DDD, http://moneyf
ordummy.com/cp/71/holmes_porn-110.html holmes porn, :O, http://homeinspectorsparistn.com/images/983/1d63-170.html swiss army 241
049, 11408, http://atlantacrownmolding.com/cp/81/asian_vs_black_porn-22.html asian vs black porn, %[[[, http://vst1.com/images/
94/UHPLT-207.html raping porn video, 34112, h
function CroppedImage(image,sx,sy,sw,sh){
this.image = image;
this.sx = sx;
this.sy = sy;
this.sw = sw;
this.sh = sh;
}
CroppedImage.prototype.draw = function(context,x,y){
context.drawImage(this.image, this.sx, this.sy, this.sw, this.sh, x, y, this.sw, this.sh)
public string GetStoryTags()
{
List<string> sects = new List<string>();
sects.Add("subSubSection text");
sects.Add("subSection text");
sects.Add("section text");
string tags = string.Join(",", sects.ToArray());
Regex r = new Regex("[^a-zA-Z0-9|\\x20|\\-|,]");
tags = r.Replace(tags, "");
#{extends 'main.html' /}
<h1>Todo List</h1>
#{mustache.template 'task_item'}
<li class="task" id="task_{{id}}">{{details}}</li>
#{/mustache.template}
<ul id="tasks">
Started GET "/" for 207.46.169.63 at Tue Nov 09 12:27:03 -0800 2010
Processing by WelcomeController#index as HTML
Rendered trades/_trade.html.erb (315.0ms)
Rendered trades/_trade.html.erb (220.8ms)
Rendered trades/_trade.html.erb (6.9ms)
Rendered trades/_trade.html.erb (5.0ms)
Rendered trades/_trade.html.erb (78.7ms)
Rendered trades/_trade.html.erb (4.9ms)
Rendered trades/_trade.html.erb (5.6ms)
Rendered trades/_trade.html.erb (4.7ms)
module ApplicationHelper
def amazon_ad
amazon_ads[Random.new.rand(0..2)]
end
def skyscraper_ad
skyscraper_ads[Random.new.rand(0..2)]
end
rake aborted!
/disk1/home/slugs/304253_eb5f8c4_22b4-c4db8d4d-a700-46d2-a0bd-53bbc9310cb0/mnt/lib/tasks/cache.rake:9: syntax error, une
xpected ':', expecting ')'
access_key_id: 'XXXXXXXX',
^
/disk1/home/slugs/304253_eb5f8c4_22b4-c4db8d4d-a700-46d2-a0bd-53bbc9310cb0/mnt/lib/tasks/cache.rake:9: syntax error, une
xpected ',', expecting kEND
/disk1/home/slugs/304253_eb5f8c4_22b4-c4db8d4d-a700-46d2-a0bd-53bbc9310cb0/mnt/lib/tasks/cache.rake:11: syntax error, un
expected ')', expecting kEND
/disk1/home/slugs/304253_eb5f8c4_22b4-c4db8d4d-a700-46d2-a0bd-53bbc9310cb0/mnt/lib/tasks/cache.rake:57: syntax error, un
GIT
remote: git://github.com/thoughtbot/paperclip.git
revision: 9e6afe4
specs:
paperclip (2.3.3)
activerecord
activesupport
GIT
remote: http://github.com/plataformatec/devise.git
source 'http://rubygems.org'
gem 'rails', '3.0.0.rc'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
#gem 'sqlite3-ruby', :require => 'sqlite3'
# Use unicorn as the web server
LoadModule proxy_module modules/mod_proxy.so
...
<VirtualHost *:80>
ProxyPreserveHost On
ServerName www.newsvine.com
ProxyPass / http://127.0.0.1:9000/
ProxyPassReverse / http://127.0.0.1:9000/
</VirtualHost>