[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Any Idea?

Eder Quiñones

3/22/2008 5:33:00 PM

How to make something similar to this kind of stuff(the highlighted
code):

http://redhanded.hobix.com/inspect/randomNumberInAFeedForPipesMaybe.htm...
--
Posted via http://www.ruby-....

8 Answers

Thomas Wieczorek

3/22/2008 7:27:00 PM

0

On Sat, Mar 22, 2008 at 6:33 PM, Eder Qui=F1ones <eder.sq@gmail.com> wrote:
> How to make something similar to this kind of stuff(the highlighted
> code):
>

What do you mean? It grabs a random number from random.org and uses
the builder gem to create a RSS feed for it.
There's a pasties link in the comments to the code.

Eder Quiñones

3/22/2008 7:33:00 PM

0

Thomas Wieczorek wrote:
> On Sat, Mar 22, 2008 at 6:33 PM, Eder Qui�ones <eder.sq@gmail.com> wrote:
>> How to make something similar to this kind of stuff(the highlighted
>> code):
>>
>
> What do you mean? It grabs a random number from random.org and uses
> the builder gem to create a RSS feed for it.
> There's a pasties link in the comments to the code.

Oh no, it's the syntax highlighting.
--
Posted via http://www.ruby-....

Arlen Cuss

3/22/2008 9:45:00 PM

0

SGksCgpPbiBTdW4sIE1hciAyMywgMjAwOCBhdCA2OjMyIEFNLCBFZGVyIFF1acOxb25lcyA8ZWRl
ci5zcUBnbWFpbC5jb20+IHdyb3RlOgoKPiBPaCBubywgaXQncyB0aGUgc3ludGF4IGhpZ2hsaWdo
dGluZy4KCgpBcmUgeW91IHRhbGtpbmcgYWJvdXQgdGhpcz8KaHR0cDovL3JlZGhhbmRlZC5ob2Jp
eC5jb20vaW1hZ2VzL3JhbmRmZWVkLnBuZwoKSW4gdGhhdCBjYXNlLCB5b3UnbGwgbmVlZCBhIGNv
dXBsZSBvZiBjb2xvdXJlZCBwZW5jaWxzLCBhIGNsZWFuIHBpZWNlIG9mCnBhcGVyLCBhbmQgYSBz
Y2FubmVyIChvciBkaWdpdGFsIGNhbWVyYSBpZiB5b3UncmUgZGVzcGVyYXRlISkuCgoxLiBMZWFy
biB0aGUgcnVsZXMgb2Ygc3ludGF4IGhpZ2hsaWdodGluZyBmb3IgeW91ciBmYXZvdXJpdGUgZWRp
dG9yLgoocGVyaGFwcyB0eXBlIHRoZSBjb2RlIG91dCBpbiB0aGF0IGZpcnN0KQoyLiBVc2luZyB0
aGUgY29sb3VyZWQgcGVuY2lscywgcmVwcm9kdWNlIHRoZSBjb2RlIG9uIHBhcGVyIHVzaW5nIHRo
ZQphcHByb3ByaWF0ZSBjb2xvdXIgcGVuY2lsIGZvciBlYWNoIGNvZGUgZW50aXR5LCBhcyBzaG93
biBpbiB5b3VyIGVkaXRvci4KMy4gU2NhbiEKClRoZXJlIHlvdSBoYXZlIGl0ISBCZWF1dGlmdWwg
aGFuZC1kcmF3biBzeW50YXgtaGlnaGxpZ2h0ZWQgY29kZS4KCkNoZWVycywKQXJsZW4uCg==

Michael Steinfeld

3/22/2008 9:55:00 PM

0

eder, there is a gem called syntax

On Sat, Mar 22, 2008 at 5:45 PM, Arlen Cuss <celtic@sairyx.org> wrote:
> Hi,
>
>
> On Sun, Mar 23, 2008 at 6:32 AM, Eder Qui=F1ones <eder.sq@gmail.com> wro=
te:
>
> > Oh no, it's the syntax highlighting.
>
>
> Are you talking about this?
> http://redhanded.hobix.com/images/ra...
>
> In that case, you'll need a couple of coloured pencils, a clean piece of
> paper, and a scanner (or digital camera if you're desperate!).
>
> 1. Learn the rules of syntax highlighting for your favourite editor.
> (perhaps type the code out in that first)
> 2. Using the coloured pencils, reproduce the code on paper using the
> appropriate colour pencil for each code entity, as shown in your editor.
> 3. Scan!
>
> There you have it! Beautiful hand-drawn syntax-highlighted code.
>
> Cheers,
> Arlen.
>

Eder Quiñones

3/22/2008 10:18:00 PM

0

Arlen Cuss wrote:
> Hi,
>
> On Sun, Mar 23, 2008 at 6:32 AM, Eder Quiñones <eder.sq@gmail.com>
> wrote:
>
>> Oh no, it's the syntax highlighting.
>
>
> Are you talking about this?
> http://redhanded.hobix.com/images/ra...
>
> In that case, you'll need a couple of coloured pencils, a clean piece of
> paper, and a scanner (or digital camera if you're desperate!).
>
> 1. Learn the rules of syntax highlighting for your favourite editor.
> (perhaps type the code out in that first)
> 2. Using the coloured pencils, reproduce the code on paper using the
> appropriate colour pencil for each code entity, as shown in your editor.
> 3. Scan!
>
> There you have it! Beautiful hand-drawn syntax-highlighted code.
>
> Cheers,
> Arlen.

Nah, really? :P, I believe that I need to create a beautiful [a-zA-Z0-9]
pencil images, then Parse some code and replace each character for the
it's image, uh.
--
Posted via http://www.ruby-....

Todd Benson

3/22/2008 10:21:00 PM

0

On Sat, Mar 22, 2008 at 4:45 PM, Arlen Cuss <celtic@sairyx.org> wrote:
> Hi,
>
>
> On Sun, Mar 23, 2008 at 6:32 AM, Eder Qui=F1ones <eder.sq@gmail.com> wro=
te:
>
> > Oh no, it's the syntax highlighting.
>
>
> Are you talking about this?
> http://redhanded.hobix.com/images/ra...
>
> In that case, you'll need a couple of coloured pencils, a clean piece of
> paper, and a scanner (or digital camera if you're desperate!).
>
> 1. Learn the rules of syntax highlighting for your favourite editor.
> (perhaps type the code out in that first)
> 2. Using the coloured pencils, reproduce the code on paper using the
> appropriate colour pencil for each code entity, as shown in your editor.
> 3. Scan!
>
> There you have it! Beautiful hand-drawn syntax-highlighted code.

Nah, you use a tablet, write a bunch of stuff down for your
hand-writing style, and have it randomly pick from that your i's and
t's, etc. :-)

Todd

Michael W. Ryder

3/23/2008 1:04:00 AM

0

Arlen Cuss wrote:
> Hi,
>
> On Sun, Mar 23, 2008 at 6:32 AM, Eder Quiñones <eder.sq@gmail.com> wrote:
>
>> Oh no, it's the syntax highlighting.
>
>
> Are you talking about this?
> http://redhanded.hobix.com/images/ra...
>
> In that case, you'll need a couple of coloured pencils, a clean piece of
> paper, and a scanner (or digital camera if you're desperate!).
>
> 1. Learn the rules of syntax highlighting for your favourite editor.
> (perhaps type the code out in that first)
> 2. Using the coloured pencils, reproduce the code on paper using the
> appropriate colour pencil for each code entity, as shown in your editor.
> 3. Scan!
>
> There you have it! Beautiful hand-drawn syntax-highlighted code.
>
> Cheers,
> Arlen.

Or you could use a word processing program that allows you to color
words and a font like Scratch or Scribble.

Todd Benson

3/23/2008 7:57:00 AM

0

On Sat, Mar 22, 2008 at 8:05 PM, Michael W. Ryder
<_mwryder@worldnet.att.net> wrote:
> Or you could use a word processing program that allows you to color
> words and a font like Scratch or Scribble.

Or use captcha software.

Todd