background preloader

Coding

Facebook Twitter

Repl.it. Ruby Class Tutorial. Classes and interfaces are the primary building blocks of a typical Java application.

Ruby Class Tutorial

Classes are the blue prints used to create objects in a running system. In contrast to Java, Ruby’s building blocks are classes, modules, and mixins. In this post we will take a tour of classes in Ruby. Classes To get started, lets define a basic Person class. The above class is the simplest class type we can define in Ruby. Difference between framework vs Library vs IDE vs API vs SDK vs Toolkits.

Stack Overflow. Basic UNIX commands. Note: not all of these are actually part of UNIX itself, and you may not find them on all UNIX machines.

Basic UNIX commands

But they can all be used on turing in essentially the same way, by typing the command and hitting return. Note that some of these commands are different on non-Solaris machines - see SunOS differences. If you've made a typo, the easiest thing to do is hit CTRL-u to cancel the whole line. But you can also edit the command line (see the guide to More UNIX). UNIX is case-sensitive. Files. The way of the program. Buy this book at Amazon.com The goal of this book is to teach you to think like a computer scientist.

The way of the program

This way of thinking combines some of the best features of mathematics, engineering, and natural science. Simply Scheme Support Definitions. Danny Yoo <dyoo@cs.wpi.edu> 1 Introduction This library adds a Simply Scheme teaching language into DrRacket; the language is used in the textbook: The original source of these programs can be found from the FTP site at The definitions in this library should correspond to those in "simply.scm" version 3.13 (8/11.98). 2 Quick Start Although it’s possible to use these definitions by switching the DrRacket language level to Simply Scheme, this library can be easily used as a #lang language.

Simply Scheme Support Definitions

Simply Scheme: Introducing Computer Science. 2/e Copyright (C) 1999 MIT Below this short table of contents is an expanded table of contents including sections within each chapter.

Simply Scheme: Introducing Computer Science

Click on the chapter name to jump down. You can also download the complete text of each chapter in PDF format for elegant printing, or browse the HTML version. Part introductions are included in the PDF of the following chapter. Projects are included in the PDF of the preceding chapter. Note: This book is still in copyright, and in print. Appendices The Program Development Cycle Integrated Editing Getting Our Programs Tuning Our Programs for Your System Loading Our Programs Versions of Scheme Scheme Standards Why Common Lisp Exists Defining Procedures and Variables The Naming Convention for Predicates No Words or Sentences True and False Files Arrays Equivalents to Scheme Primitives A Separate Name Space for Procedures LambdaMore about FunctionWriting Higher-Order Procedures.

Welcome to schemers.org! Learn C++ A User's Guide to Scheme 48. How to Design Programs. Code School - TryRuby. Code School - RailsForZombies. Homepage. The Unix and Internet Fundamentals HOWTO. The Loginataka: Dialogue between a Guru and a Newbie. Translations: Czech Speak, O Guru: How can I become a Unix Wizard?

The Loginataka: Dialogue between a Guru and a Newbie

O, Nobly Born: know that the Way to Wizardhood is long, and winding, and Fraught with Risks. Thou must Attune thyself with the Source, attaining the arcane Knowledge and Conversation of the System Libraries and Internals. Yea; and such an all-consuming Time and Energy Sink is this as to greatly Imperil thy Grade Point Average (if one thou hast), not to mention thy Sex Life (if one thou hast).

But persevere, oh Larval One; rewards beyond the Dreams of Lusers await thee! Speak, O Guru: What books should I study? The Art of Unix Programming. You can browse my newest book here.

The Art of Unix Programming

If you like it, please order a paper copy. You can get it from Amazon or Barnes & Noble, or direct from Addison-Wesley. The Art of Unix Programming attempts to capture the engineering wisdom and philosophy of the Unix community as it's applied today — not merely as it has been written down in the past, but as a living "special transmission, outside the scriptures" passed from guru to guru. Accordingly, the book doesn't focus so much on "what" as on "why", showing the connection between Unix philosophy and practice through case studies in widely available open-source software.

Advanced Bash-Scripting Guide. Pavietnam. Teach Yourself Programming in Ten Years. Alice.org. Alice is an innovative 3D programming environment that makes it easy to create an animation for telling a story, playing an interactive game, or a video to share on the web. Alice is a freely available teaching tool designed to be a student's first exposure to object-oriented programming. It allows students to learn fundamental programming concepts in the context of creating animated movies and simple video games. In Alice, 3-D objects (e.g., people, animals, and vehicles) populate a virtual world and students create a program to animate the objects.

In Alice's interactive interface, students drag and drop graphic tiles to create a program, where the instructions correspond to standard statements in a production oriented programming language, such as Java, C++, and C#.