Skip to content

Instantly share code, notes, and snippets.

View martianinteractive's full-sized avatar

Martian Interactive martianinteractive

View GitHub Profile
POST /api/v1/user_validation.xml HTTP/1.1.
Accept: */*.
Connection: close.
Content-Type: application/xml.
Authorization: Basic YXNkZmFzZGZhc2RmYXNkZjo=.
Content-Length: 460.
Host: 12.152.191.161:880.
.
##
interface: lo0 (127.0.0.0/255.0.0.0)
filter: (ip) and ( port 4000 )
#####
T 127.0.0.1:53154 -> 127.0.0.1:4000 [AP]
GET /phone_numbers.xml HTTP/1.1.
Accept: application/xml.
Connection: close.
Authorization: Basic YXNkZmFzZGZhc2RmYXNkZjo=.
Host: localhost:4000.
.
hello world!
<h2>Management &amp; Office Staff</h2>
<ul class="employees">
<r:employees:collection container="list" order="show_order" employee_type="managers">
<r:name_link />
</r:employees:collection>
</ul>
<h2 class="employees"><r:employee:kind /></h2>
<p><span class="bold"><r:employee:name />.</span> <em><r:employee:title /></em> <br/>
<img alt="<r:employee:first_name />" src="<r:employee:profile_thumbnail_filename />" />
<r:employee:extended_profile />
testing public gist
> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-12-11 12:55:22] INFO WEBrick 1.3.1
[2010-12-11 12:55:22] INFO ruby 1.9.2 (2010-08-18) [i386-darwin9.8.0]
[2010-12-11 12:55:22] INFO WEBrick::HTTPServer#start: pid=7406 port=3000
Started GET "/" for 127.0.0.1 at 2010-12-11 12:55:24 -0500
pry(main)> Resque.redis = "localhost:6779:6"
=> "localhost:6779:6"
pry(main)> Resque.workers
=> []
pry(main)> Resque.redis = "localhost:6379:0"
=> "localhost:6379:0"
pry(main)> Resque.workers
=> [#<Worker ub40:6352:*>, #<Worker ub40:2011:*>]
Retrieving rubygems-1.8.25
There is no checksum for 'http://production.cf.rubygems.org/rubygems/rubygems-1.8.25.tgz' or 'rubygems-1.8.25.tgz', it's not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.
var myInstance = (function() {
var privateVar = '';
function privateMethod () {
// ...
}
return { // public interface
publicMethod1: function () {
// all private members are accesible here