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
def titleize(x) | |
z = [] | |
x.split.each.with_index(1) do |y, i| | |
if y.size > 3 or i == 1 | |
z << y.capitalize | |
else | |
z << y | |
end | |
end | |
z.join(' ') |
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
.clearfix() { | |
&:before, | |
&:after { | |
content: " "; // 1 | |
display: table; // 2 | |
} | |
&:after { | |
clear: both; | |
} | |
} |
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
Rendered rescues/_trace (58.7ms) | |
Rendered rescues/_request_and_response (1.5ms) | |
Rendering rescues/layout (internal_server_error) | |
/!\ FAILSAFE /!\ Tue Sep 08 13:57:27 -0400 2009 | |
Status: 500 Internal Server Error | |
No connection to server (127.0.0.1:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Sep 08 13:57:56 -0400 2009) | |
/opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.4/lib/memcache.rb:805:in `with_socket_management' | |
/opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.4/lib/memcache.rb:682:in `cache_get' | |
/opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.4/lib/memcache.rb:209:in `get' | |
/opt/local/lib/ruby/gems/1.8/gems/memcache-client-1.7.4/lib/memcache.rb:828:in `with_server' |
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
[Tue Sep 08 15:26:39 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] | |
[ pid=36668 file=ext/apache2/Hooks.cpp:1187 time=2009-09-08 15:26:39.77 ]: | |
Initializing Phusion Passenger... | |
[ pid=36674 file=ext/common/ApplicationPoolServerExecutable.cpp:222 time=2009-09-08 15:26:39.94 ]: | |
ApplicationPoolServerExecutable initialized (PID 36674) | |
[ pid=36668 file=ext/apache2/Hooks.cpp:1461 time=2009-09-08 15:26:39.96 ]: | |
Shutting down Phusion Passenger... | |
[ pid=36668 file=ext/common/ApplicationPoolServer.h:552 time=2009-09-08 15:26:39.102 ]: | |
Waiting for existing ApplicationPoolServerExecutable (PID 36674) to exit... | |
[ pid=36674 file=ext/common/ApplicationPoolStatusReporter.h:184 time=2009-09-08 15:26:39.103 ]: |
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
* executing `Elmer' | |
* executing `db:clone_to_local' | |
* executing `db:backup_name' | |
* executing "mkdir -p /data/Gamervision/shared/db_backups" | |
servers: ["174.129.242.236"] | |
Enter passphrase for /Users/luciditywaves/.ssh/gv_solo_key: | |
[174.129.242.236] executing command | |
command finished | |
* executing `db:dump' | |
* executing `db:backup_name' |
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
* executing `Elmer' | |
* executing `db:clone_to_local' | |
* executing `db:backup_name' | |
* executing "mkdir -p /data/Gamervision/shared/db_backups" | |
servers: ["174.129.242.236"] | |
Enter passphrase for /Users/luciditywaves/.ssh/gv_solo_key: | |
[174.129.242.236] executing command | |
command finished | |
* executing `db:dump' | |
* executing `db:backup_name' |
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
function myClicker(event) { | |
if(typeof event.target._openState == 'undefined') { | |
event.target._openState = true; | |
} | |
if(event.target._openState == true) { | |
// do shit | |
} else { | |
// do shit | |
} | |
} |
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
<style type="text/css" media="screen"> | |
.uiSelectBoxContainer { | |
position:relative; | |
height:30px; | |
display:block; | |
} | |
.uiSelectBoxToggle { | |
position: absolute; | |
} | |
.quote-jump-head { |
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
.myElement { | |
height:100px; | |
} | |
.myElement a { | |
height:10px; | |
} | |
.myElement span { | |
color:#CFF; | |
} |
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
<form id="quote-form" method="post" action="https://secure.leads360.com/Import.aspx"> |
OlderNewer