Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Wednesday, November 28, 2007

Ruby Cookbook

Do you want to push Ruby to its limits? The Ruby Cookbook is the most comprehensive problem-solving guide to today's hottest programming language. It gives you hundreds of solutions to real-world problems, with clear explanations and thousands of lines of code you can use in your own projects.

From data structures and algorithms, to integration with cutting-edge technologies, the Ruby Cookbook has something for every programmer. Beginners and advanced Rubyists alike will learn how to program with:

*Strings and numbers
*Arrays and hashes
*Classes, modules, and namespaces
*Reflection and metaprogramming
*XML and HTML processing
*Ruby on Rails (including Ajax integration)
*Databases
*Graphics
*Internet services like email, SSH, and BitTorrent
*Web services
*Multitasking
*Graphical and terminal interfaces

If you need to write a web application, this book shows you how to get started with Rails. If you're a system administrator who needs to rename thousands of files, you'll see how to use Ruby for this and other everyday tasks. You'll learn how to read and write Excel spreadsheets, classify text with Bayesian filters, and create PDF files. We've even included a few silly tricks that were too cool to leave out, like how to blink the lights on your keyboard.

Download:rapidshare.com

Practical Ruby Gems


Practical Ruby Gems
Apress | April 16, 2007 | 271 pages | ISBN: 1590598113 | PDF | 3Mb

Practical Ruby Gems is a comprehensive guide to utilizing and creating Ruby Gems--ready-made Ruby code modules that can be easily added to Ruby and Rails projects. This book is ideal for Ruby programmers as well as web developers who use Rails and wish to extend the functionality of their projects.

You'll get a prime selection of 34 of the best and most useful Gems, which makes up the core of this book. Each of these also comes complete with actual use cases and code examples that you can use immediately in your own projects. You'll learn how Ruby Gems can be used to
  • Validate credit cards.
  • Create graphical interfaces on multiple platforms.
  • Speed up Rails applications.
  • Develop lightweight web applications.
  • Use ActiveRecord to make databases easy.
  • Process RSS feeds.
  • Prevent spam using CAPTCHA.
  • Crop and scale images.
  • Tap into the same caching system that runs LiveJournal.com.
  • And much, much more!


You'll also learn how to package and distribute your own Ruby Gems. This lets you tap into powerful mechanisms for resolving dependencies. And the book takes a detailed look at how Gems differ between operating systems, so you'll be prepared whether your desktop runs OS X, Windows, or Linux. You'll also learn how you can share code more easily between projects, optionally sharing your contributions with the world!






.: DOWNLOAD Apress.Practical.
Ruby.Gems.Apr.2007.eBook-BBL :.

Ruby In A Nutshell

Publisher O'Reilly
Author(s) Yukihiro Matsumoto
ISBN 0596002149
Release Date 03 November 2001
Ruby is an absolutely pure object-oriented scripting language written in C and designed with Perl and Python capabilities in mind. While its roots are in Japan, Ruby is slowly but surely gaining ground in the US. The goal of Yukihiro Matsumoto, creator of Ruby and author of this book, is to incorporate the strengths of languages like Perl, Python, Lisp and Smalltalk. Ruby is a genuine attempt to combine the best of everything in the scripting world. Since 1993, Ruby mailing lists have been established, Web pages have formed, and a community has grown around it. The language itself is very good at text processing and is notable for its broad object orientation. Ruby is portable and runs under GNU/Linux (and other Unices) as well as DOS, MS Windows and Mac. With Ruby in a Nutshell, Matsumoto offers a practical reference to the features of this new language including the command-line options, syntax, built-in variables, functions, and many commonly used classes and modules. This guide covers the current stable version of Ruby (1.6), yet is applicable to the development version 1.7 and the next planned stable version 1.8. You will find a thorough description of Ruby's language syntax, and a description of the core functionality built into the standard Ruby interpreter, which has more than 800 built-in methods in 42 classes and modules. Ruby finds its power through its built-in libraries, and this handy volume take you through the many useful libraries that come with the standard Ruby distribution--from network access via HTTP and CGI programming, to data persistence using the DBM library. This book concludes with coverage of the unique tools that come with Ruby, including the debugger, profiler, and irb (or interactive ruby.) Find out how Ruby combines the strengths of other languages, and why it has captured the interest of so many open source programmers. As part of the successful "in a nutshell" series of books from O'Reilly & Associates, Ruby in a Nutshell is for readers who want a single desktop reference for all their needs.
Download (1.1 MB)

or

Download ebook

or

Download ebook

Practical Ruby for System Administration (Expert’s Voice in Open Source)


Ruby has set the world on fire, proving itself a serious challenger to Perl and Python in all spheres. In particular, more and more people are discovering that Ruby’s flexibility, superb feature set, and gentle learning curve make it a natural choice for system administration tasks, from the humblest server to the largest enterprise deployment.

Within the pages of Practical Ruby for System Administration, you’ll learn the Ruby way to construct files, tap into clouds of data, build domain-specific languages, perform network traffic analysis, and more.

Based on author AndrĂ© Ben Hamou’s own experiences working as a system administrator, this book will help you pick up practical tips on Ruby coding style, learn how to analyze and improve script performance, and make use of no-nonsense advice on scripting workflow, including testing and documentation.

Above all, you’ll come to appreciate the sheer power of Ruby and the hundreds of benefits it offers for system administration.
This book places equal emphasis on fundamental Ruby concepts as well as practical how-tos.
It uses examples from other languages to ease the transition to Ruby.
The book is concise, entertaining, and informative–unlike many books aimed at system administrators, which can be overly long and stodgy.

Download

Everyday Scripting with Ruby: For Teams, Testers, and You



Publisher: Pragmatic Bookshelf
Number Of Pages: 301
Publication Date: 2007-01-01
Sales Rank: 6080
ISBN / ASIN: 0977616614
EAN: 9780977616619
Binding: Paperback
Manufacturer: Pragmatic Bookshelf
Studio: Pragmatic Bookshelf
Book Description: )
Are you a tester who spends more time manually creating complex test data than using it? A business analyst who seemingly went to college all those years so you can spend your days copying data from reports into spreadsheets? A programmer who can't finish each day's task without having to scan through version control system output, looking for the file you want?
If so, you're wasting that computer on your desk. Offload the drudgery to where it belongs, and free yourself to do what you should be doing: thinking. All you need is a scripting language (free!), this book (cheap!), and the dedication to work through the examples and exercises.
Everyday Scripting with Ruby is divided into four parts. In the first, you'll learn the basics of the Ruby scripting language. In the second, you'll see how to create scripts in a steady, controlled way using test-driven design. The third part is about finding, understanding, and using the work of others--and about preparing your scripts for others to use. The fourth part, more advanced, is about saving even more time by using application frameworks.

Your Ad Here