background preloader

Ruby Tutorial

Ruby Tutorial
RubyLearning.com Helping Ruby Programmers become Awesome! Ruby Study Notes: TOC Core Ruby Programming Introduction InstallationWhat is Ruby? Note: The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. © 2006-2017 RubyLearning.com - A Ruby Tutorial Page Updated: 1st Jan. 2016 | Design: Erwin Aligam | Valid: XHTML | CSS Home | Privacy | Sitemap

Ruby Quiz Learning Lisp Fast Lisp is a big and deep language. This quickstart is only intended to get you introduced to very basic concepts in Lisp, not any of the really cool stuff Lisp does. As such it's geared to how to do C in Lisp, not good functional style (no closures, no macros). It's enough to get you up to speed so you can more easily understand a good book (ANSI Common Lisp, etc.) The quickstart also does not teach many functions -- you'll need to root around in the ANSI Common Lisp index and play with some of the functions there. Don't be intimidated by the size of this file. If you're done with this tutorial, go on to Tutorial 2 and Tutorial 3. Legend Running, Breaking, and Quitting Lisp Evaluating Simple Expressions From now on, we will only use examples in clisp. Evaluating Lists as Functions Control Structures and Variables Writing Functions Lists and Symbols as Data Loading and Compiling Lisp Lisp Style

Ruby Programming - Wikibooks, collection of open-content textboo Ruby is an interpreted, object-oriented programming language. Its creator, Yukihiro Matsumoto, a.k.a “Matz,” released it to the public in 1995. Its history is covered here. Its many features are listed here. The book is currently broken down into several sections and is intended to be read sequentially. Table of Contents[edit] Getting started[edit] Overview Installing Ruby Ruby editors Notation conventions Interactive Ruby Mailing List FAQ Basic Ruby[edit] Hello world Strings Alternate quotes Here documents Encoding Introduction to objects Ruby basics Data types — numbers, strings, hashes and arrays Writing methods Classes and objects Exceptions Ruby Semantic reference[edit] See also some rdoc documentation on the various keywords. Built in Classes[edit] This is a list of classes that are available to you by default in Ruby. Available Standard Library Modules[edit] These are parts of Ruby that you have available (in the standard library, or via installation as a gem). Other Libraries[edit] GUI Libraries[edit]

Getting Started with Rails 1 Guide Assumptions This guide is designed for beginners who want to get started with a Rails application from scratch. It does not assume that you have any prior experience with Rails. Rails is a web application framework running on the Ruby programming language. Be aware that some resources, while still excellent, cover versions of Ruby as old as 1.6, and commonly 1.8, and will not include some syntax that you will see in day-to-day development with Rails. 2 What is Rails? Rails is a web application development framework written in the Ruby programming language. Rails is opinionated software. The Rails philosophy includes two major guiding principles: Don't Repeat Yourself: DRY is a principle of software development which states that "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system." 3 Creating a New Rails Project The best way to read this guide is to follow it step by step. 3.1 Installing Rails Open up a command line prompt. 9 Security

Tutorials By Drew McCormack There has been quite a bit of discussion the last few days about the momentum-based scrolling that Apple uses on the iPhone. The discussion has largely been fanned by John Gruber’s Daring Fireball blog. This got me wondering how difficult it would be to reproduce Apple’s momentum scrolling on your own in JavaScript. db.networx » Tutorial >> Running on Rails with Ruby on Rai db.networx working with Rails 2.0, Ruby on Rails, Flex, Flash and … July 6, 2007 at 22:26 Recently I wrote a Tutorial on how to build a Running JSF Application with Facelets, Glassfish, JPA and a MySQL 5 server. Ruby on Rails Applications are always combined with a Database. Now we can move over to Netbeans 6. Now you should see the initial folder structure of your freshly generated Rails Application: In this tutorial I won’t go into detail on how Ruby on Rails is structured and what the MVC concept is all about, because there are a lot of good tutorials describing that in detail. Before generating our tables and model we need to tell Ruby on Rails where our MySQL Database is hiding and how Ruby on Rails can get in contact to it and our “runningonrails_development” database. Now we’ll create our model class. Again right-click on the project head and select “Generate”. It’s time we are ready to start our small application, to do so, right-click on the project name and select “run project”.

Documentation Guides, tutorials, and reference material to help you learn more about Ruby Installing Ruby Although you can easily try Ruby in your browser, you can also read the installation guide for help on installing Ruby. Getting Started Official FAQ The official frequently asked questions. Ruby Koans The Koans walk you along the path to enlightenment in order to learn Ruby. Why’s (Poignant) Guide to Ruby An unconventional but interesting book that will teach you Ruby through stories, wit, and comics. Ruby Essentials A free on-line book designed to provide a concise and easy to follow guide to learning Ruby. Learn to Program A wonderful little tutorial by Chris Pine for programming newbies. Learn Ruby the Hard Way A very good set of exercises with explanations that guide you from the absolute basics of Ruby all the way to OOP and web development. Manuals Programming Ruby The seminal work on Ruby in English, this first edition of the Pragmatic Programmers’ book is available for free online. Ruby Core Reference

Python: Tips For Writing Daemons August 18th, 2012 @ 12:11 PM In my research to write the perfect CRT TV filter, to restore retro games to their full glory, I've come across a lot of information about NTSC transport schemes, and the effects it has on the signal being transported. In fact, I have a folder with a dozen or so technical documents on encoding / decoding NTSC signal. By far, the most common means of NTSC transport during the 16 bit era was the Composite cable. Now, when NTSC is sent over the Composite line, the Luma and two Chroma channels must share the same bandwidth. What I'm most interested about in this process, is simulating what happens to the color channels when they are sent over Composite. Below is an image of the Sonic 2 Title Screen, in which I ran the source image through my prototype NTSC transport filter, and then piped the output to my TV4X scaling filter. Source: Filtered NTSC + TV4x (Click for fullsize): Post Comment

Welcome! [Ruby-Doc.org: Documenting the Ruby Language]

Related: