Skip to content

Latest commit

 

History

History
145 lines (103 loc) · 6.36 KB

old_README2.md

File metadata and controls

145 lines (103 loc) · 6.36 KB

Green Shoes

logo icon1 logo icon2

This is Green Shoes written in Ruby. One of the colorful Shoes. ;-)

Fantastic logo icon was created by Zachary Scott. Thanks!

Now, there are 51 samples. Each has a snapshot.

Tiny Streaming Flash videos

recorded with CamStudio.

Install and run

For Windows:

  1. download and install rubyinstaller-1.9.2-p136.exe
  2. gem install green_shoes --no-ri --no-rdoc

That's it!

Now open your text editor and write your first Green Shoes app like this:

#my_first_green_shoes_app.rb
require 'green_shoes'
Shoes.app{ title 'hello world' }

Then run your app on the console window:

ruby my_first_green_shoes_app.rb

You can see this snapshot:

snapshot

NOTE: Use Ruby-GNOME2 0.90.7 or later.

If you are using Ruby-GNOME2 0.90.6, have to do the following.

  • make this file: %{your path of gtk2 gem}\vendor\local\etc\gtk-2.0\gtkrc
  • store just one line: gtk-theme-name = "MS-Windows"

Then you can look at good-looking button on Green Shoes. (left button of this snapshot)

Ruby-GNOME2 developer Kou (Kouhei Sutou) included gtkrc in the 0.90.7 distribution. Thanks, Kou. Awesome!

Mini Hackety Hack

snapshot

This is a first try with Green Shoes. ;-)

Hackety Hack: the little coder's starter kit

LICENSE

Copyright (c) 2010-2011 ashbb

Except:

  • hh/static/(all).png (c) 2008 why the lucky stiff
  • lib/ext/hpricot/(all) (c) 2008 why the lucky stiff
  • lib/ext/projector/(all).rb (c) 2010 MIZUTANI Tociyuki
  • samples/akatsukiface.png (c) 2010 MIZUTANI Tociyuki
  • samples/class-book.yaml (c) 2008 why the lucky stiff
  • samples/splash-hand.png (c) 2008 why the lucky stiff
  • samples/loogink.png (c) 2008 Anita Kuno
  • samples/cy.png (c) 2008 Anita Kuno
  • static/Coolvetica.ttf (c) 1999 Ray Larabie
  • static/Lacuna.ttf (c) 2003 Glashaus, designed by Peter Hoffman
  • static/gshoes-icon.png (c) 2010 Zachary Scott
  • static/gshoes-heading-icon.png (c) 2010 Zachary Scott
  • static/code_highlighter.js (c) 2005 Dan Webb
  • static/code_highlighter_ruby.js (c) 2008 why the lucky stiff
  • static/manual.css (c) 2008 why the lucky stiff

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note (old piece of information)

Let's have fun with Ruby and Shoes! :-D

ashbb