The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
MouseHole 1.1 in Plain View

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
MouseHole 1.1 in Plain View Posted: Sep 2, 2005 11:50 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: MouseHole 1.1 in Plain View
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Okay, MouseHole 1.1 is ready for you. If you’re new, MouseHole is a web proxy that you run on your machine.

So, basically you go to http://localhost:37004/ and you’ll see this:

The MouseHole home page.

I have three user scripts installed. One of these scripts is an Instiki clone:

MouseWiki shot.

Once MouseHole is running you can install MouseWiki by visiting the script itself: http://whytheluckystiff.net/mouseHole/wiki.user.rb.

When you hit Ruby user scripts on the web (if you have MouseHole set up as your proxy), you’ll get an installer window.

ComicAlt installation.

This installer window will test the script initially by running it under Ruby’s highest safe mode. If the script fails, you’ll get a security warning.

Evil script warning.

And that’s it. I really have no idea if this is useful at all. It’s great fun to play with.

Bear in mind: One significant change from 1.0 is I’m no longer using the start method in user scripts. MouseHole now recognizes the rewrite method.

So where you had this: def start( req, res ).

You now need this: rewrite do |req, res|.

Read: MouseHole 1.1 in Plain View

Topic: IM going away at work, mostly Previous Topic   Next Topic Topic: Announcing the MouseHole Proxy

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use