Browse files

Add MIT license, improve README

  • Loading branch information...
1 parent 39fae7c commit 80ff15b94215856876f7f2c7387a2a294d4cda59 @dessy committed Apr 18, 2012
Showing with 39 additions and 158 deletions.
  1. +19 −0 MIT-license.txt
  2. +0 −158 README
  3. +20 −0 READMEmd
  4. BIN ladies-learning-ruby.zip
View
19 MIT-license.txt
@@ -0,0 +1,19 @@
+Copyright (c) 2011, 2012 Dessy Daskalov <http://dessydaskalov.com>
+
+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 OR COPYRIGHT HOLDERS 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.
View
158 README
@@ -1,158 +0,0 @@
-http://stackoverflow.com/questions/49092/online-interactive-consoles
-http://tryruby.org/
-http://www.codecademy.com/#!/exercise/0
-- develop lesson plan before the date
-
-
-Installation on windows
-- Navigate to rubyinstaller.org
-- Click the link 'Ruby 1.9.2-p290' to download the latest stable version
-- Once the file is downloaded, double-click on rubyinstaller-1.9.2-p290.exe
-- Once setup is running, click 'I accept the License'
-- Click 'Next'
-- Do not change the default install directory, C:\Ruby192
-- Check off 'Add Ruby executables to your PATH'
-- Check off 'Associate .rb and .rbw files with this Ruby installation'
-- Click 'Install'
-- Click 'Finish' when you see the completion window
-
-What is Ruby? - don't dwell on this too much
-- A programming language
-- Talk to your computer via a programming language
-- Examples of common web apps the they would know in Ruby
-
-- Screenshots of apps
-
-- Easy on the developer
-
-- Show C#/Java example vs Ruby example
-
-- Think of Rails example, try and explain framework vs. language
-
-Starting the console (OS X)
-- Applications -> Terminal
-
-Starting the console (Windows)
-- Click 'Start' -> 'All Programs' -> 'Accessories' -> 'Command Prompt' (C:\windows\system32\cmd.exe)
-
-Integers
-- Numbers without decimals
-
-Running ruby
-- Type ruby -v
-- You should see ruby 1.9.2p290 followed by other information
-- Type irb to enter the ruby console
-- Type 1 + 2
-- See the result 3 printed to the screen
-- Type 2 * 5
-- You can see the Ruby can perform calculations
-- You've just met your first data type! An integer.
-- Why Ruby?
-
-- This is what you can do, this is what we're going to do
-
-- THINK OF ANALOGIES THE ENTIRE TIME!
-What are data types?
-- Look at the two words separately: data and type
-- Data can be a word, a collection of words, a number, an integer, a decimal, or anything you would traditionally think of as data
-- Type refers to the kind of data that is provided; important because you have to be able to tell the computer what you expect to be able to do with the data you provide it
-- For instance, try typing 1 + 5 and then try typing 'ladies' + 'learning' + 'code'
-- Let's break down the two statements you just typed
-- Each one is made up of data and an operator
-- The data between the first and second is different; in the first statement you're using numbers, and in the second words
-- The operator in the first and second statement is the same, the + operator
-- Notice that Ruby did two different things with the data provided, using the same operator. How did ruby know what to do with the data provided?
-- The data has a type, and depending on the type, Ruby knows what to do with the data provided when an operator is applied to it.
-- In the first statement, the data types of 1 and 5 is Integer, and in the second, the words are all of type String
-- Integer and String are only two of several data types in Ruby. We'll cover more a bit later on.
-- Talk about arrays
-
-(30 mins)
-
-- string manipulation - count number of words, count number of characters (Twitter 140 chars), ask them to do it and ask what they got
-
-- example of 5 different tweets, tell me which ones are under 140 chars
-
-Writing a script and running it from the console
-- Write a simple script, save it, and run it
-
-Ruby I/O
-- Basic user input/output
-- Give them basic I/O script, get them to use it, break it down after
-
-Logic
-- Basic logic
-- booleans
-- if statements
-
-Methods
-- Extend the operator conversation earlier by introducing methods
-
-Loops
-- Introduce arrays
-- Discuss the basics of loops
-- Loop through a simple array
-
-Classes
-- Talk about OOP
-- Create a very simple class
-
-Ruby console game
-- Create a small game using only a few classes
-- Blackjack
-- Scrabble
-- Twitter game - very very basic Twitter
-- Password verification game
-
-
-- Ideas
-# SLIDE 31
-
-99.next.odd?
-
-99.next.next.odd?
-
-99.next.next.next
-
-"ladieslearningcode".capitalize.upcase
-
-"ladieslearningcode".upcase.capitalize
-
-"ladieslearningcode".upcase.capitalize.reverse
-
-"ladieslearningcode".odd?
-# NoMethodError: undefined method `odd?' for "ladieslearningcode":String
-
-# cheat sheet for String
-# cheat sheet for Integer
-
-# get them to receive a NoMethodError using "ladieslearningcode".odd?
-# teach them to open up the class String and add a method
-# teach them about String.instance_methods
-
-
-# SLIDE 38
-
-# cheat sheet for variables
-
-
-# SLIDE 40
-
-name = "Dessy"
-animal = "giraffe"
-plural_verb = "hops"
-adjective = "enormous"
-plural_noun = "snowmen"
-present_tense_verb = "run"
-noun = "chicken"
-
-mad_lib = "Greetings, " + name + ", whispers a " +
-animal + ". Your eyes open, and you wonder where you are. The " +
-animal + " smiles at you from the ceiling and " +
-plural_verb + " around. You see four walls that melt and breathe, and the room is spinning. In the middle of the movement you see " +
-adjective + " " + plural_noun + ", which " + present_tense_verb + " back and fourth, changing into all the colours of a " +
-noun + ". The " + plural_noun + " sing to you in many voices, saying, '" +
-name + ", " + name + " go back to sleep.' So, you close your eyes, realizing that it was all just a dream."
-
-# SLIDE 61
-# conditional logic cheat sheet
View
20 READMEmd
@@ -0,0 +1,20 @@
+# Learning to Program With Ruby
+
+This content was designed for [Ladies Learning Code](http://ladieslearningcode.com/), with the intention
+of teaching introductory programming concepts to people of all ages who have had no previous programming experience.
+It's meant to be used along with the assignments, worksheets, and puzzles provided.
+
+I've used this content at two [Ladies Learning Code](http://ladieslearningcode.com/) workshops.
+The workshops were both a full day (approximately 7 hours). If you have any questions about using this
+content yourself, you can absolutely get in touch with me and I'll be happy to share my experiences with you.
+
+Feedback is more than welcome, and in fact very much appreciated!
+
+# Thanks
+
+A big thank you to [Ladies Learning Code](http://ladieslearningcode.com/), as well as all of the volunteers
+and mentors who support the organization.
+
+# License
+
+This project is licensed under the MIT license. Please see MIT-license.txt for details.
View
BIN ladies-learning-ruby.zip
Binary file not shown.

0 comments on commit 80ff15b

Please sign in to comment.