Your SlideShare is downloading. ×
0
Modern web development
 Emad Elsaid Education Work Experience @blaz_boy www.pixelwa.re www.madeinportsaid.com
 Ruby Rails HAML SASS
 Yukihiro Matsumoto (Matz) First paper 1993 Ruby 1.0 (Dec 1996) Latest 1.9.3 Ruby 2.0 (24 Feb 2013) Gem www.ruby-la...
 David Heinmemeier Hansson 37 Signals Basecamp , Campfire, Highrise Rework www.rubyonrails.org
 Norman Clarke HTML (HTML Abstraction Markup Language) Why?    Markup should be beautiful    DRY    Markup should be...
 Hampton  Catlin SASS (Syntactically Awesome Stylesheets) Why?      nested rules      Variables      Mixins      se...
 Form  Teams We’ll create a blog Choose features to add Show results to your friends
 Ruby Installer SublimeText2
 Puts   “Hello World” Save Run    for your life
 Ifwe list all the natural numbers below 10  that are multiples of 3 or 5, we get 3, 5, 6  and 9. The sum of these multip...
 sum   =0 for i in 1...1000 do      if (i%3==0 or i%5==0)             sum += i      end end puts sum
 By  listing the first six prime numbers: 2, 3, 5,  7, 11, and 13, we can see that the 6th prime  is 13. What is the 10 ...
 require   mathn counter   =0 last = nil Prime.each(100000000000) do |i|      counter += 1      last = i      break...
 Watch    this    http://net.tutsplus.com/sessions/ruby-for-     newbies/ Solve   this :    http://projecteuler.net/pr...
 Each  new term in the Fibonacci sequence is  generated by adding the previous two terms.  By starting with 1 and 2, the ...
 Work  out the first ten digits of the sum of  the following one-hundred 50-digit numbers. 37107287533902102798797998220...
Ruby on rails1
Ruby on rails1
Upcoming SlideShare
Loading in...5
×

Ruby on rails1

338

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
338
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Ruby on rails1"

  1. 1. Modern web development
  2. 2.  Emad Elsaid Education Work Experience @blaz_boy www.pixelwa.re www.madeinportsaid.com
  3. 3.  Ruby Rails HAML SASS
  4. 4.  Yukihiro Matsumoto (Matz) First paper 1993 Ruby 1.0 (Dec 1996) Latest 1.9.3 Ruby 2.0 (24 Feb 2013) Gem www.ruby-lang.org
  5. 5.  David Heinmemeier Hansson 37 Signals Basecamp , Campfire, Highrise Rework www.rubyonrails.org
  6. 6.  Norman Clarke HTML (HTML Abstraction Markup Language) Why?  Markup should be beautiful  DRY  Markup should be well-indented  XHTML structure should be clear www.haml.info
  7. 7.  Hampton Catlin SASS (Syntactically Awesome Stylesheets) Why?  nested rules  Variables  Mixins  selector inheritance www.sass-lang.com
  8. 8.  Form Teams We’ll create a blog Choose features to add Show results to your friends
  9. 9.  Ruby Installer SublimeText2
  10. 10.  Puts “Hello World” Save Run for your life
  11. 11.  Ifwe list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.
  12. 12.  sum =0 for i in 1...1000 do if (i%3==0 or i%5==0) sum += i end end puts sum
  13. 13.  By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number?
  14. 14.  require mathn counter =0 last = nil Prime.each(100000000000) do |i| counter += 1 last = i break if counter==10001 end print last
  15. 15.  Watch this  http://net.tutsplus.com/sessions/ruby-for- newbies/ Solve this :  http://projecteuler.net/problem=2  http://projecteuler.net/problem=13
  16. 16.  Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.
  17. 17.  Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 371072875339021027987979982208375902465 10135740250 463…………….124896970078050417018260538 743249861995247410594742333095130581237 26617309629
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×