Any Idea?

Discussion in 'Ruby' started by Eder Quiñones, Mar 22, 2008.

  1. Eder Quiñones, Mar 22, 2008
    #1
    1. Advertising

  2. On Sat, Mar 22, 2008 at 6:33 PM, Eder Qui=F1ones <> 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.
     
    Thomas Wieczorek, Mar 22, 2008
    #2
    1. Advertising

  3. Thomas Wieczorek wrote:
    > On Sat, Mar 22, 2008 at 6:33 PM, Eder Qui�ones <> 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-forum.com/.
     
    Eder Quiñones, Mar 22, 2008
    #3
  4. Eder Quiñones

    Arlen Cuss Guest

    SGksCgpPbiBTdW4sIE1hciAyMywgMjAwOCBhdCA2OjMyIEFNLCBFZGVyIFF1acOxb25lcyA8ZWRl
    ci5zcUBnbWFpbC5jb20+IHdyb3RlOgoKPiBPaCBubywgaXQncyB0aGUgc3ludGF4IGhpZ2hsaWdo
    dGluZy4KCgpBcmUgeW91IHRhbGtpbmcgYWJvdXQgdGhpcz8KaHR0cDovL3JlZGhhbmRlZC5ob2Jp
    eC5jb20vaW1hZ2VzL3JhbmRmZWVkLnBuZwoKSW4gdGhhdCBjYXNlLCB5b3UnbGwgbmVlZCBhIGNv
    dXBsZSBvZiBjb2xvdXJlZCBwZW5jaWxzLCBhIGNsZWFuIHBpZWNlIG9mCnBhcGVyLCBhbmQgYSBz
    Y2FubmVyIChvciBkaWdpdGFsIGNhbWVyYSBpZiB5b3UncmUgZGVzcGVyYXRlISkuCgoxLiBMZWFy
    biB0aGUgcnVsZXMgb2Ygc3ludGF4IGhpZ2hsaWdodGluZyBmb3IgeW91ciBmYXZvdXJpdGUgZWRp
    dG9yLgoocGVyaGFwcyB0eXBlIHRoZSBjb2RlIG91dCBpbiB0aGF0IGZpcnN0KQoyLiBVc2luZyB0
    aGUgY29sb3VyZWQgcGVuY2lscywgcmVwcm9kdWNlIHRoZSBjb2RlIG9uIHBhcGVyIHVzaW5nIHRo
    ZQphcHByb3ByaWF0ZSBjb2xvdXIgcGVuY2lsIGZvciBlYWNoIGNvZGUgZW50aXR5LCBhcyBzaG93
    biBpbiB5b3VyIGVkaXRvci4KMy4gU2NhbiEKClRoZXJlIHlvdSBoYXZlIGl0ISBCZWF1dGlmdWwg
    aGFuZC1kcmF3biBzeW50YXgtaGlnaGxpZ2h0ZWQgY29kZS4KCkNoZWVycywKQXJsZW4uCg==
     
    Arlen Cuss, Mar 22, 2008
    #4
  5. eder, there is a gem called syntax

    On Sat, Mar 22, 2008 at 5:45 PM, Arlen Cuss <> wrote:
    > Hi,
    >
    >
    > On Sun, Mar 23, 2008 at 6:32 AM, Eder Qui=F1ones <> wro=

    te:
    >
    > > Oh no, it's the syntax highlighting.

    >
    >
    > Are you talking about this?
    > http://redhanded.hobix.com/images/randfeed.png
    >
    > 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.
    >
     
    Michael Steinfeld, Mar 22, 2008
    #5
  6. Arlen Cuss wrote:
    > Hi,
    >
    > On Sun, Mar 23, 2008 at 6:32 AM, Eder Quiñones <>
    > wrote:
    >
    >> Oh no, it's the syntax highlighting.

    >
    >
    > Are you talking about this?
    > http://redhanded.hobix.com/images/randfeed.png
    >
    > 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-forum.com/.
     
    Eder Quiñones, Mar 22, 2008
    #6
  7. Eder Quiñones

    Todd Benson Guest

    On Sat, Mar 22, 2008 at 4:45 PM, Arlen Cuss <> wrote:
    > Hi,
    >
    >
    > On Sun, Mar 23, 2008 at 6:32 AM, Eder Qui=F1ones <> wro=

    te:
    >
    > > Oh no, it's the syntax highlighting.

    >
    >
    > Are you talking about this?
    > http://redhanded.hobix.com/images/randfeed.png
    >
    > 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
     
    Todd Benson, Mar 22, 2008
    #7
  8. Arlen Cuss wrote:
    > Hi,
    >
    > On Sun, Mar 23, 2008 at 6:32 AM, Eder Quiñones <> wrote:
    >
    >> Oh no, it's the syntax highlighting.

    >
    >
    > Are you talking about this?
    > http://redhanded.hobix.com/images/randfeed.png
    >
    > 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.
     
    Michael W. Ryder, Mar 23, 2008
    #8
  9. Eder Quiñones

    Todd Benson Guest

    On Sat, Mar 22, 2008 at 8:05 PM, Michael W. Ryder
    <> 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
     
    Todd Benson, Mar 23, 2008
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lee
    Replies:
    9
    Views:
    3,058
    Wendell Petersen
    May 11, 2004
  2. New to Power Analysis

    Any idea about generating SAIF files ?

    New to Power Analysis, Oct 20, 2004, in forum: VHDL
    Replies:
    3
    Views:
    936
    Jon Beniston
    Oct 22, 2004
  3. Replies:
    10
    Views:
    1,255
    Big K
    Feb 2, 2005
  4. Dr Mephesto

    App idea, Any idea on implementation?

    Dr Mephesto, Feb 4, 2008, in forum: Python
    Replies:
    3
    Views:
    730
    Dennis Lee Bieber
    Feb 5, 2008
  5. Replies:
    0
    Views:
    647
Loading...

Share This Page