From 3071caf92155a6545b5f98534b048bcb79767a10 Mon Sep 17 00:00:00 2001 From: gporpino Date: Wed, 30 Apr 2014 18:37:46 -0300 Subject: [PATCH 1/2] Translating to PT --- sites/pt/docs/docs.step | 74 ++ sites/pt/frontend/HTML_attributes.step | 152 ++++ sites/pt/frontend/HTML_structure.step | 83 +++ sites/pt/frontend/HTML_tags.step | 218 ++++++ .../_consider_deploying_to_github.step | 7 + sites/pt/frontend/add_more_elements.step | 67 ++ sites/pt/frontend/add_starter_files.step | 43 ++ sites/pt/frontend/basic_CSS.step | 112 +++ sites/pt/frontend/basic_javascript.step | 108 +++ .../frontend/deploying_to_github_pages.step | 146 ++++ sites/pt/frontend/dev_tools.step | 69 ++ sites/pt/frontend/frontend.step | 60 ++ sites/pt/frontend/get_a_sticker.step | 56 ++ .../frontend/get_a_sticker_admin_button.png | Bin 0 -> 44119 bytes .../frontend/get_a_sticker_admin_settings.png | Bin 0 -> 44000 bytes .../pt/frontend/get_a_sticker_fork_button.png | Bin 0 -> 57649 bytes sites/pt/frontend/get_a_sticker_https.png | Bin 0 -> 41954 bytes sites/pt/frontend/get_a_sticker_output.png | Bin 0 -> 16281 bytes sites/pt/frontend/html_quick_reference.md | 94 +++ sites/pt/frontend/img/css.png | Bin 0 -> 41083 bytes sites/pt/frontend/img/css_bundler.png | Bin 0 -> 81985 bytes sites/pt/frontend/img/css_class.png | Bin 0 -> 61755 bytes sites/pt/frontend/img/css_id.png | Bin 0 -> 60292 bytes sites/pt/frontend/img/css_zen.png | Bin 0 -> 170866 bytes sites/pt/frontend/img/devtools.png | Bin 0 -> 35975 bytes sites/pt/frontend/img/devtools_console.png | Bin 0 -> 53940 bytes sites/pt/frontend/img/devtools_elements.png | Bin 0 -> 109517 bytes sites/pt/frontend/img/devtools_network.png | Bin 0 -> 102631 bytes sites/pt/frontend/img/devtools_script.png | Bin 0 -> 88713 bytes sites/pt/frontend/img/github.png | Bin 0 -> 67774 bytes sites/pt/frontend/img/github_create_repo.png | Bin 0 -> 80846 bytes .../pt/frontend/img/github_name_your_repo.png | Bin 0 -> 58041 bytes sites/pt/frontend/img/hello_html.png | Bin 0 -> 47942 bytes sites/pt/frontend/img/hello_omg.png | Bin 0 -> 56019 bytes sites/pt/frontend/img/hello_structure.png | Bin 0 -> 63912 bytes sites/pt/frontend/img/hello_style.png | Bin 0 -> 52727 bytes sites/pt/frontend/img/hello_title.png | Bin 0 -> 52200 bytes sites/pt/frontend/img/hello_world.png | Bin 0 -> 39745 bytes sites/pt/frontend/img/hello_world_2line.png | Bin 0 -> 42839 bytes sites/pt/frontend/img/hello_world_2line2.png | Bin 0 -> 46365 bytes sites/pt/frontend/img/hello_world_jazzy.png | Bin 0 -> 40156 bytes sites/pt/frontend/img/html_tags_list.png | Bin 0 -> 53431 bytes sites/pt/frontend/img/jquery_result.png | Bin 0 -> 69382 bytes sites/pt/frontend/img/page.png | Bin 0 -> 50562 bytes sites/pt/frontend/img/page_anchors.png | Bin 0 -> 52500 bytes sites/pt/frontend/img/page_html.png | Bin 0 -> 66934 bytes sites/pt/frontend/img/page_img.png | Bin 0 -> 23647 bytes sites/pt/frontend/img/page_sample.jpg | Bin 0 -> 28116 bytes sites/pt/frontend/img/page_sample.png | Bin 0 -> 199868 bytes sites/pt/frontend/img/prompt.png | Bin 0 -> 30251 bytes sites/pt/frontend/img/zip.png | Bin 0 -> 64853 bytes sites/pt/frontend/introduction_to_html.step | 92 +++ sites/pt/frontend/jquery.step | 88 +++ sites/pt/frontend/jquery_vs_javascript.step | 46 ++ sites/pt/frontend/make_a_web_page.step | 97 +++ sites/pt/frontend/make_columns.step | 49 ++ sites/pt/frontend/resources.step | 18 + sites/pt/frontend/tool_installation.step | 69 ++ sites/pt/installfest/_install_homebrew.step | 11 + sites/pt/installfest/_install_ruby.step | 32 + sites/pt/installfest/_install_rvm.step | 22 + .../_install_sublime_text_2_for_mac.step | 28 + sites/pt/installfest/_install_textmate.step | 22 + .../_switch_to_home_directory.step | 12 + .../choose_your_operating_system.step | 20 + sites/pt/installfest/clean_up.step | 21 + sites/pt/installfest/configure_git.step | 30 + .../configure_the_windows_terminal.step | 14 + .../installfest/create_a_heroku_account.step | 36 + sites/pt/installfest/create_a_rails_app.step | 105 +++ sites/pt/installfest/create_an_ssh_key.step | 79 ++ sites/pt/installfest/deploy_a_rails_app.step | 181 +++++ sites/pt/installfest/editors.step | 22 + sites/pt/installfest/get_a_sticker.step | 40 + sites/pt/installfest/img/AboutThisMac.png | Bin 0 -> 68164 bytes .../pt/installfest/img/WinRailsInstaller.jpg | Bin 0 -> 65811 bytes sites/pt/installfest/img/appstore.jpg | Bin 0 -> 72002 bytes .../img/get_a_sticker_you_should_see.png | Bin 0 -> 6625 bytes .../installfest/img/install_sublime_text.png | Bin 0 -> 68971 bytes .../img/railsbridge_findingCommandPrompt.png | Bin 0 -> 143459 bytes .../img/railsbridge_ubuntu12-checkbox.png | Bin 0 -> 53918 bytes ...reenshot-commandprompt-pinnedtotaskbar.png | Bin 0 -> 220765 bytes ...ge_windowsScreenshot-commandprompt_ror.jpg | Bin 0 -> 152150 bytes .../img/successful_rails_install.png | Bin 0 -> 112576 bytes sites/pt/installfest/img/xcode-prefs.jpg | Bin 0 -> 76425 bytes sites/pt/installfest/install_xcode.step | 22 + .../install_xcode_from_app_store.step | 19 + .../installfest/install_xcode_from_dvd.step | 25 + sites/pt/installfest/installfest.step | 59 ++ sites/pt/installfest/linux.step | 83 +++ sites/pt/installfest/macintosh.step | 51 ++ sites/pt/installfest/osx_panther.step | 103 +++ sites/pt/installfest/osx_railsinstaller.step | 53 ++ sites/pt/installfest/osx_rvm.step | 71 ++ sites/pt/installfest/windows.step | 130 ++++ .../add_other_features_of_your_choosing.step | 16 + ...o_create_and_look_at_individual_posts.step | 58 ++ sites/pt/intermediate-rails/add_replying.step | 42 ++ sites/pt/intermediate-rails/commands.md | 79 ++ ...new_rails_app_with_a_static_home_page.step | 35 + .../creating_a_new_controller.md | 79 ++ .../pt/intermediate-rails/img/create_post.png | Bin 0 -> 10575 bytes .../intermediate-rails/img/create_reply.png | Bin 0 -> 10180 bytes sites/pt/intermediate-rails/img/header.png | Bin 0 -> 12637 bytes .../intermediate-rails/img/inline_reply.png | Bin 0 -> 31854 bytes .../pt/intermediate-rails/img/post_index.png | Bin 0 -> 22893 bytes .../intermediate-rails/img/request-cycle.jpg | Bin 0 -> 140706 bytes sites/pt/intermediate-rails/img/show_post.png | Bin 0 -> 16319 bytes .../intermediate-rails/img/show_replies.png | Bin 0 -> 31243 bytes .../img/static_home_page.png | Bin 0 -> 13302 bytes .../inline_replying_on_a_post.step | 22 + .../pt/intermediate-rails/install_devise.step | 46 ++ .../intermediate-rails.step | 40 + .../make_a_posts_index_page.step | 24 + .../make_it_pretty_with_bootstrap.step | 58 ++ sites/pt/intermediate-rails/mvc_overview.md | 24 + .../intermediate-rails/the_request_cycle.md | 12 + .../intro-to-javascript.md | 5 + .../intro-to-rails/CRUD_with_scaffolding.step | 107 +++ .../intro-to-rails/_consider_deploying.step | 7 + .../_switch_to_home_directory.step | 10 + .../add_the_project_to_a_git_repo.step | 57 ++ .../intro-to-rails/allow_people_to_vote.step | 85 +++ .../clean_up_links_on_the_topics_list.step | 44 ++ .../intro-to-rails/creating_a_migration.step | 47 ++ .../credits_and_next_steps.step | 39 + .../intro-to-rails/deploying_to_heroku.step | 111 +++ sites/pt/intro-to-rails/getting_started.step | 99 +++ .../hooking_up_votes_and_topics.step | 127 ++++ .../img/Seattle_list_with_topic.png | Bin 0 -> 51833 bytes .../img/Seattle_topic_created.png | Bin 0 -> 54890 bytes .../img/Seattle_topic_list_page.png | Bin 0 -> 49928 bytes sites/pt/intro-to-rails/img/Start_page.png | Bin 0 -> 79498 bytes sites/pt/intro-to-rails/img/finished_app.png | Bin 0 -> 54028 bytes sites/pt/intro-to-rails/img/mvc.png | Bin 0 -> 5484 bytes .../img/rails4_rails_info_routing.png | Bin 0 -> 38766 bytes .../img/seattle_display_vote_count.png | Bin 0 -> 47383 bytes .../img/sublime_add_folder_to_project.png | Bin 0 -> 40585 bytes .../img/sublime_project_as_folder.png | Bin 0 -> 21618 bytes sites/pt/intro-to-rails/img/workflow.png | Bin 0 -> 6743 bytes sites/pt/intro-to-rails/intro-to-rails.step | 116 +++ .../make_the_topic_title_a_link.step | 59 ++ .../pt/intro-to-rails/rails_architecture.step | 49 ++ ...opics_list_after_creating_a_new_topic.step | 86 +++ sites/pt/intro-to-rails/ruby_language.step | 129 ++++ .../running_your_application_locally.step | 32 + .../setting_the_default_page.step | 99 +++ sites/pt/intro-to-rails/voting_on_topics.step | 28 + sites/pt/javascript/clone_a_repo.step | 51 ++ sites/pt/javascript/javascript.step | 50 ++ sites/pt/javascript/javascript_not_java.step | 17 + .../numbers_strings_and_booleans.step | 56 ++ sites/pt/learn-to-code/argv.md | 52 ++ sites/pt/learn-to-code/arrays.md | 124 ++++ sites/pt/learn-to-code/computers.md | 104 +++ sites/pt/learn-to-code/cookie-recipe.gif | Bin 0 -> 4217 bytes sites/pt/learn-to-code/dot.jpg | Bin 0 -> 48551 bytes sites/pt/learn-to-code/extra.md | 15 + .../fruit-banana-snack-banana.svg | 199 +++++ sites/pt/learn-to-code/functions.md | 56 ++ sites/pt/learn-to-code/hashes.md | 12 + sites/pt/learn-to-code/input_and_output.md | 112 +++ sites/pt/learn-to-code/learn-to-code.step | 20 + sites/pt/learn-to-code/learn_to_code.md | 95 +++ sites/pt/learn-to-code/logic.md | 109 +++ sites/pt/learn-to-code/loops.md | 230 ++++++ sites/pt/learn-to-code/methods.md | 7 + sites/pt/learn-to-code/next_steps.md | 19 + sites/pt/learn-to-code/nil.md | 38 + sites/pt/learn-to-code/numbers.md | 154 ++++ sites/pt/learn-to-code/objects.md | 79 ++ sites/pt/learn-to-code/one-infinite-loop.jpg | Bin 0 -> 86988 bytes sites/pt/learn-to-code/sinatra.md | 65 ++ sites/pt/learn-to-code/snack-apple.svg | 148 ++++ sites/pt/learn-to-code/snack-fruit.svg | 178 +++++ sites/pt/learn-to-code/spoon.jpg | Bin 0 -> 25425 bytes sites/pt/learn-to-code/strings.md | 43 ++ sites/pt/learn-to-code/the_command_line.md | 104 +++ sites/pt/learn-to-code/todo-learntocode.md | 18 + sites/pt/learn-to-code/truthiness.png | Bin 0 -> 235908 bytes sites/pt/learn-to-code/variables.md | 112 +++ sites/pt/learn-to-code/warehouse.jpg | Bin 0 -> 42935 bytes sites/pt/learn-to-code/wargames-05.jpg | Bin 0 -> 16238 bytes sites/pt/learn-to-code/wargames-terminal.jpg | Bin 0 -> 62872 bytes sites/pt/ruby/arrays.step | 102 +++ sites/pt/ruby/booleans.step | 117 +++ sites/pt/ruby/classes.step | 43 ++ sites/pt/ruby/command_line.step | 162 +++++ sites/pt/ruby/conditionals.step | 100 +++ sites/pt/ruby/datatypes.step | 98 +++ sites/pt/ruby/functions.step | 69 ++ sites/pt/ruby/hashes.step | 50 ++ sites/pt/ruby/how_to_write_a_program.step | 240 ++++++ sites/pt/ruby/input_and_output.step | 67 ++ sites/pt/ruby/irb.step | 84 +++ sites/pt/ruby/loops.step | 88 +++ sites/pt/ruby/nil.step | 97 +++ sites/pt/ruby/numbers_and_arithmetic.step | 85 +++ sites/pt/ruby/overview:_building_blocks.step | 11 + sites/pt/ruby/overview:_organizing.step | 7 + sites/pt/ruby/ruby.step | 76 ++ .../pt/ruby/running_programs_from_a_file.step | 92 +++ sites/pt/ruby/strings.step | 97 +++ sites/pt/ruby/summary:_basics.step | 18 + sites/pt/ruby/summary:_tools.step | 17 + sites/pt/ruby/symbols.step | 103 +++ sites/pt/ruby/using_virtual_machines.step | 114 +++ sites/pt/ruby/variables.step | 104 +++ sites/pt/ruby/what_is_ruby.step | 23 + sites/pt/ruby/working_with_collections.step | 16 + sites/pt/workshop/beginners.mw | 22 + sites/pt/workshop/closing.deck.md | 35 + sites/pt/workshop/command_prompt.mw | 19 + sites/pt/workshop/current.deck.md | 45 ++ sites/pt/workshop/diagrams.mw | 66 ++ sites/pt/workshop/foundational_skills.deck.md | 118 +++ sites/pt/workshop/helpful_examples.mw | 23 + sites/pt/workshop/img/acrobat.jpg | Bin 0 -> 20325 bytes sites/pt/workshop/img/agile.jpg | Bin 0 -> 84510 bytes sites/pt/workshop/img/blazingcloud.png | Bin 0 -> 391497 bytes sites/pt/workshop/img/cheatsheet.png | Bin 0 -> 407493 bytes sites/pt/workshop/img/ey_logo_rgb.png | Bin 0 -> 117701 bytes sites/pt/workshop/img/firefox.png | Bin 0 -> 22873 bytes sites/pt/workshop/img/flannery.jpg | Bin 0 -> 261319 bytes sites/pt/workshop/img/git.png | Bin 0 -> 32469 bytes sites/pt/workshop/img/git_bash.png | Bin 0 -> 3185 bytes sites/pt/workshop/img/itunes.png | Bin 0 -> 20771 bytes sites/pt/workshop/img/linux_logo.gif | Bin 0 -> 3453 bytes sites/pt/workshop/img/mac_terminal_sm.png | Bin 0 -> 9229 bytes sites/pt/workshop/img/nicksieger.jpg | Bin 0 -> 154255 bytes sites/pt/workshop/img/nird.png | Bin 0 -> 47110 bytes sites/pt/workshop/img/os_x_logo.jpg | Bin 0 -> 4584 bytes sites/pt/workshop/img/rails_logo.jpg | Bin 0 -> 35255 bytes sites/pt/workshop/img/railsbridge_logo.png | Bin 0 -> 37510 bytes sites/pt/workshop/img/ruby-logo.jpg | Bin 0 -> 49129 bytes sites/pt/workshop/img/rubygems.png | Bin 0 -> 12342 bytes sites/pt/workshop/img/student_experience.png | Bin 0 -> 52931 bytes sites/pt/workshop/img/windows_logo.gif | Bin 0 -> 2214 bytes sites/pt/workshop/img/wordpress.jpg | Bin 0 -> 8486 bytes .../pt/workshop/more_teacher_training.deck.md | 252 +++++++ sites/pt/workshop/noobie-outline.txt | 53 ++ sites/pt/workshop/programming_intro.mw | 165 +++++ sites/pt/workshop/resources.md | 53 ++ sites/pt/workshop/ruby_for_beginners.deck.md | 688 ++++++++++++++++++ .../pt/workshop/ruby_for_programmers.deck.md | 290 ++++++++ sites/pt/workshop/teacher_training.deck.md | 314 ++++++++ sites/pt/workshop/teaching_tips.md | 31 + sites/pt/workshop/topics.md | 48 ++ sites/pt/workshop/web_apps.deck.md | 26 + sites/pt/workshop/welcome.deck.md | 107 +++ sites/pt/workshop/workshop.md | 39 + 251 files changed, 11651 insertions(+) create mode 100644 sites/pt/docs/docs.step create mode 100644 sites/pt/frontend/HTML_attributes.step create mode 100644 sites/pt/frontend/HTML_structure.step create mode 100644 sites/pt/frontend/HTML_tags.step create mode 100644 sites/pt/frontend/_consider_deploying_to_github.step create mode 100644 sites/pt/frontend/add_more_elements.step create mode 100644 sites/pt/frontend/add_starter_files.step create mode 100644 sites/pt/frontend/basic_CSS.step create mode 100644 sites/pt/frontend/basic_javascript.step create mode 100644 sites/pt/frontend/deploying_to_github_pages.step create mode 100644 sites/pt/frontend/dev_tools.step create mode 100644 sites/pt/frontend/frontend.step create mode 100644 sites/pt/frontend/get_a_sticker.step create mode 100644 sites/pt/frontend/get_a_sticker_admin_button.png create mode 100644 sites/pt/frontend/get_a_sticker_admin_settings.png create mode 100644 sites/pt/frontend/get_a_sticker_fork_button.png create mode 100644 sites/pt/frontend/get_a_sticker_https.png create mode 100644 sites/pt/frontend/get_a_sticker_output.png create mode 100644 sites/pt/frontend/html_quick_reference.md create mode 100644 sites/pt/frontend/img/css.png create mode 100644 sites/pt/frontend/img/css_bundler.png create mode 100644 sites/pt/frontend/img/css_class.png create mode 100644 sites/pt/frontend/img/css_id.png create mode 100644 sites/pt/frontend/img/css_zen.png create mode 100644 sites/pt/frontend/img/devtools.png create mode 100644 sites/pt/frontend/img/devtools_console.png create mode 100644 sites/pt/frontend/img/devtools_elements.png create mode 100644 sites/pt/frontend/img/devtools_network.png create mode 100644 sites/pt/frontend/img/devtools_script.png create mode 100644 sites/pt/frontend/img/github.png create mode 100644 sites/pt/frontend/img/github_create_repo.png create mode 100644 sites/pt/frontend/img/github_name_your_repo.png create mode 100644 sites/pt/frontend/img/hello_html.png create mode 100644 sites/pt/frontend/img/hello_omg.png create mode 100644 sites/pt/frontend/img/hello_structure.png create mode 100644 sites/pt/frontend/img/hello_style.png create mode 100644 sites/pt/frontend/img/hello_title.png create mode 100644 sites/pt/frontend/img/hello_world.png create mode 100644 sites/pt/frontend/img/hello_world_2line.png create mode 100644 sites/pt/frontend/img/hello_world_2line2.png create mode 100644 sites/pt/frontend/img/hello_world_jazzy.png create mode 100644 sites/pt/frontend/img/html_tags_list.png create mode 100644 sites/pt/frontend/img/jquery_result.png create mode 100644 sites/pt/frontend/img/page.png create mode 100644 sites/pt/frontend/img/page_anchors.png create mode 100644 sites/pt/frontend/img/page_html.png create mode 100644 sites/pt/frontend/img/page_img.png create mode 100644 sites/pt/frontend/img/page_sample.jpg create mode 100644 sites/pt/frontend/img/page_sample.png create mode 100644 sites/pt/frontend/img/prompt.png create mode 100644 sites/pt/frontend/img/zip.png create mode 100644 sites/pt/frontend/introduction_to_html.step create mode 100644 sites/pt/frontend/jquery.step create mode 100644 sites/pt/frontend/jquery_vs_javascript.step create mode 100644 sites/pt/frontend/make_a_web_page.step create mode 100644 sites/pt/frontend/make_columns.step create mode 100644 sites/pt/frontend/resources.step create mode 100644 sites/pt/frontend/tool_installation.step create mode 100644 sites/pt/installfest/_install_homebrew.step create mode 100644 sites/pt/installfest/_install_ruby.step create mode 100644 sites/pt/installfest/_install_rvm.step create mode 100644 sites/pt/installfest/_install_sublime_text_2_for_mac.step create mode 100644 sites/pt/installfest/_install_textmate.step create mode 100644 sites/pt/installfest/_switch_to_home_directory.step create mode 100644 sites/pt/installfest/choose_your_operating_system.step create mode 100644 sites/pt/installfest/clean_up.step create mode 100644 sites/pt/installfest/configure_git.step create mode 100644 sites/pt/installfest/configure_the_windows_terminal.step create mode 100644 sites/pt/installfest/create_a_heroku_account.step create mode 100644 sites/pt/installfest/create_a_rails_app.step create mode 100644 sites/pt/installfest/create_an_ssh_key.step create mode 100644 sites/pt/installfest/deploy_a_rails_app.step create mode 100644 sites/pt/installfest/editors.step create mode 100644 sites/pt/installfest/get_a_sticker.step create mode 100644 sites/pt/installfest/img/AboutThisMac.png create mode 100644 sites/pt/installfest/img/WinRailsInstaller.jpg create mode 100644 sites/pt/installfest/img/appstore.jpg create mode 100644 sites/pt/installfest/img/get_a_sticker_you_should_see.png create mode 100644 sites/pt/installfest/img/install_sublime_text.png create mode 100644 sites/pt/installfest/img/railsbridge_findingCommandPrompt.png create mode 100644 sites/pt/installfest/img/railsbridge_ubuntu12-checkbox.png create mode 100644 sites/pt/installfest/img/railsbridge_windowsScreenshot-commandprompt-pinnedtotaskbar.png create mode 100644 sites/pt/installfest/img/railsbridge_windowsScreenshot-commandprompt_ror.jpg create mode 100644 sites/pt/installfest/img/successful_rails_install.png create mode 100644 sites/pt/installfest/img/xcode-prefs.jpg create mode 100644 sites/pt/installfest/install_xcode.step create mode 100644 sites/pt/installfest/install_xcode_from_app_store.step create mode 100644 sites/pt/installfest/install_xcode_from_dvd.step create mode 100644 sites/pt/installfest/installfest.step create mode 100644 sites/pt/installfest/linux.step create mode 100644 sites/pt/installfest/macintosh.step create mode 100644 sites/pt/installfest/osx_panther.step create mode 100644 sites/pt/installfest/osx_railsinstaller.step create mode 100644 sites/pt/installfest/osx_rvm.step create mode 100644 sites/pt/installfest/windows.step create mode 100644 sites/pt/intermediate-rails/add_other_features_of_your_choosing.step create mode 100644 sites/pt/intermediate-rails/add_pages_to_create_and_look_at_individual_posts.step create mode 100644 sites/pt/intermediate-rails/add_replying.step create mode 100644 sites/pt/intermediate-rails/commands.md create mode 100644 sites/pt/intermediate-rails/create_a_new_rails_app_with_a_static_home_page.step create mode 100644 sites/pt/intermediate-rails/creating_a_new_controller.md create mode 100644 sites/pt/intermediate-rails/img/create_post.png create mode 100644 sites/pt/intermediate-rails/img/create_reply.png create mode 100644 sites/pt/intermediate-rails/img/header.png create mode 100644 sites/pt/intermediate-rails/img/inline_reply.png create mode 100644 sites/pt/intermediate-rails/img/post_index.png create mode 100644 sites/pt/intermediate-rails/img/request-cycle.jpg create mode 100644 sites/pt/intermediate-rails/img/show_post.png create mode 100644 sites/pt/intermediate-rails/img/show_replies.png create mode 100644 sites/pt/intermediate-rails/img/static_home_page.png create mode 100644 sites/pt/intermediate-rails/inline_replying_on_a_post.step create mode 100644 sites/pt/intermediate-rails/install_devise.step create mode 100644 sites/pt/intermediate-rails/intermediate-rails.step create mode 100644 sites/pt/intermediate-rails/make_a_posts_index_page.step create mode 100644 sites/pt/intermediate-rails/make_it_pretty_with_bootstrap.step create mode 100644 sites/pt/intermediate-rails/mvc_overview.md create mode 100644 sites/pt/intermediate-rails/the_request_cycle.md create mode 100644 sites/pt/intro-to-javascript/intro-to-javascript.md create mode 100644 sites/pt/intro-to-rails/CRUD_with_scaffolding.step create mode 100644 sites/pt/intro-to-rails/_consider_deploying.step create mode 100644 sites/pt/intro-to-rails/_switch_to_home_directory.step create mode 100644 sites/pt/intro-to-rails/add_the_project_to_a_git_repo.step create mode 100644 sites/pt/intro-to-rails/allow_people_to_vote.step create mode 100644 sites/pt/intro-to-rails/clean_up_links_on_the_topics_list.step create mode 100644 sites/pt/intro-to-rails/creating_a_migration.step create mode 100644 sites/pt/intro-to-rails/credits_and_next_steps.step create mode 100644 sites/pt/intro-to-rails/deploying_to_heroku.step create mode 100644 sites/pt/intro-to-rails/getting_started.step create mode 100644 sites/pt/intro-to-rails/hooking_up_votes_and_topics.step create mode 100644 sites/pt/intro-to-rails/img/Seattle_list_with_topic.png create mode 100644 sites/pt/intro-to-rails/img/Seattle_topic_created.png create mode 100644 sites/pt/intro-to-rails/img/Seattle_topic_list_page.png create mode 100644 sites/pt/intro-to-rails/img/Start_page.png create mode 100644 sites/pt/intro-to-rails/img/finished_app.png create mode 100644 sites/pt/intro-to-rails/img/mvc.png create mode 100644 sites/pt/intro-to-rails/img/rails4_rails_info_routing.png create mode 100644 sites/pt/intro-to-rails/img/seattle_display_vote_count.png create mode 100644 sites/pt/intro-to-rails/img/sublime_add_folder_to_project.png create mode 100644 sites/pt/intro-to-rails/img/sublime_project_as_folder.png create mode 100644 sites/pt/intro-to-rails/img/workflow.png create mode 100644 sites/pt/intro-to-rails/intro-to-rails.step create mode 100644 sites/pt/intro-to-rails/make_the_topic_title_a_link.step create mode 100644 sites/pt/intro-to-rails/rails_architecture.step create mode 100644 sites/pt/intro-to-rails/redirect_to_the_topics_list_after_creating_a_new_topic.step create mode 100644 sites/pt/intro-to-rails/ruby_language.step create mode 100644 sites/pt/intro-to-rails/running_your_application_locally.step create mode 100644 sites/pt/intro-to-rails/setting_the_default_page.step create mode 100644 sites/pt/intro-to-rails/voting_on_topics.step create mode 100644 sites/pt/javascript/clone_a_repo.step create mode 100644 sites/pt/javascript/javascript.step create mode 100644 sites/pt/javascript/javascript_not_java.step create mode 100644 sites/pt/javascript/numbers_strings_and_booleans.step create mode 100644 sites/pt/learn-to-code/argv.md create mode 100644 sites/pt/learn-to-code/arrays.md create mode 100644 sites/pt/learn-to-code/computers.md create mode 100644 sites/pt/learn-to-code/cookie-recipe.gif create mode 100644 sites/pt/learn-to-code/dot.jpg create mode 100644 sites/pt/learn-to-code/extra.md create mode 100644 sites/pt/learn-to-code/fruit-banana-snack-banana.svg create mode 100644 sites/pt/learn-to-code/functions.md create mode 100644 sites/pt/learn-to-code/hashes.md create mode 100644 sites/pt/learn-to-code/input_and_output.md create mode 100644 sites/pt/learn-to-code/learn-to-code.step create mode 100644 sites/pt/learn-to-code/learn_to_code.md create mode 100644 sites/pt/learn-to-code/logic.md create mode 100644 sites/pt/learn-to-code/loops.md create mode 100644 sites/pt/learn-to-code/methods.md create mode 100644 sites/pt/learn-to-code/next_steps.md create mode 100644 sites/pt/learn-to-code/nil.md create mode 100644 sites/pt/learn-to-code/numbers.md create mode 100644 sites/pt/learn-to-code/objects.md create mode 100644 sites/pt/learn-to-code/one-infinite-loop.jpg create mode 100644 sites/pt/learn-to-code/sinatra.md create mode 100644 sites/pt/learn-to-code/snack-apple.svg create mode 100644 sites/pt/learn-to-code/snack-fruit.svg create mode 100644 sites/pt/learn-to-code/spoon.jpg create mode 100644 sites/pt/learn-to-code/strings.md create mode 100644 sites/pt/learn-to-code/the_command_line.md create mode 100644 sites/pt/learn-to-code/todo-learntocode.md create mode 100644 sites/pt/learn-to-code/truthiness.png create mode 100644 sites/pt/learn-to-code/variables.md create mode 100644 sites/pt/learn-to-code/warehouse.jpg create mode 100644 sites/pt/learn-to-code/wargames-05.jpg create mode 100644 sites/pt/learn-to-code/wargames-terminal.jpg create mode 100644 sites/pt/ruby/arrays.step create mode 100644 sites/pt/ruby/booleans.step create mode 100644 sites/pt/ruby/classes.step create mode 100644 sites/pt/ruby/command_line.step create mode 100644 sites/pt/ruby/conditionals.step create mode 100644 sites/pt/ruby/datatypes.step create mode 100644 sites/pt/ruby/functions.step create mode 100644 sites/pt/ruby/hashes.step create mode 100644 sites/pt/ruby/how_to_write_a_program.step create mode 100644 sites/pt/ruby/input_and_output.step create mode 100644 sites/pt/ruby/irb.step create mode 100644 sites/pt/ruby/loops.step create mode 100644 sites/pt/ruby/nil.step create mode 100644 sites/pt/ruby/numbers_and_arithmetic.step create mode 100644 sites/pt/ruby/overview:_building_blocks.step create mode 100644 sites/pt/ruby/overview:_organizing.step create mode 100644 sites/pt/ruby/ruby.step create mode 100644 sites/pt/ruby/running_programs_from_a_file.step create mode 100644 sites/pt/ruby/strings.step create mode 100644 sites/pt/ruby/summary:_basics.step create mode 100644 sites/pt/ruby/summary:_tools.step create mode 100644 sites/pt/ruby/symbols.step create mode 100644 sites/pt/ruby/using_virtual_machines.step create mode 100644 sites/pt/ruby/variables.step create mode 100644 sites/pt/ruby/what_is_ruby.step create mode 100644 sites/pt/ruby/working_with_collections.step create mode 100644 sites/pt/workshop/beginners.mw create mode 100644 sites/pt/workshop/closing.deck.md create mode 100644 sites/pt/workshop/command_prompt.mw create mode 100644 sites/pt/workshop/current.deck.md create mode 100644 sites/pt/workshop/diagrams.mw create mode 100644 sites/pt/workshop/foundational_skills.deck.md create mode 100644 sites/pt/workshop/helpful_examples.mw create mode 100644 sites/pt/workshop/img/acrobat.jpg create mode 100644 sites/pt/workshop/img/agile.jpg create mode 100644 sites/pt/workshop/img/blazingcloud.png create mode 100644 sites/pt/workshop/img/cheatsheet.png create mode 100644 sites/pt/workshop/img/ey_logo_rgb.png create mode 100644 sites/pt/workshop/img/firefox.png create mode 100644 sites/pt/workshop/img/flannery.jpg create mode 100644 sites/pt/workshop/img/git.png create mode 100644 sites/pt/workshop/img/git_bash.png create mode 100644 sites/pt/workshop/img/itunes.png create mode 100644 sites/pt/workshop/img/linux_logo.gif create mode 100644 sites/pt/workshop/img/mac_terminal_sm.png create mode 100644 sites/pt/workshop/img/nicksieger.jpg create mode 100644 sites/pt/workshop/img/nird.png create mode 100644 sites/pt/workshop/img/os_x_logo.jpg create mode 100644 sites/pt/workshop/img/rails_logo.jpg create mode 100644 sites/pt/workshop/img/railsbridge_logo.png create mode 100644 sites/pt/workshop/img/ruby-logo.jpg create mode 100644 sites/pt/workshop/img/rubygems.png create mode 100644 sites/pt/workshop/img/student_experience.png create mode 100644 sites/pt/workshop/img/windows_logo.gif create mode 100644 sites/pt/workshop/img/wordpress.jpg create mode 100644 sites/pt/workshop/more_teacher_training.deck.md create mode 100644 sites/pt/workshop/noobie-outline.txt create mode 100644 sites/pt/workshop/programming_intro.mw create mode 100644 sites/pt/workshop/resources.md create mode 100644 sites/pt/workshop/ruby_for_beginners.deck.md create mode 100644 sites/pt/workshop/ruby_for_programmers.deck.md create mode 100644 sites/pt/workshop/teacher_training.deck.md create mode 100644 sites/pt/workshop/teaching_tips.md create mode 100644 sites/pt/workshop/topics.md create mode 100644 sites/pt/workshop/web_apps.deck.md create mode 100644 sites/pt/workshop/welcome.deck.md create mode 100644 sites/pt/workshop/workshop.md diff --git a/sites/pt/docs/docs.step b/sites/pt/docs/docs.step new file mode 100644 index 000000000..ebbad9f90 --- /dev/null +++ b/sites/pt/docs/docs.step @@ -0,0 +1,74 @@ +message <" + message <<-MARKDOWN + +looks like a radio button: , but + + MARKDOWN + source_code :html, "" + message <<-MARKDOWN + +looks like a password text input: even though they use the same **tag**. + +## How do CSS and HTML connect? + +Tags and attributes, mostly! + +So far we've only applied styles to HTML tags like `

` and `

`. But what if we want to apply a style to only a few of the instances of a given tag? We don't want _every_ paragraph to look special, so we can't add our style directly to the `

` tag. + +This is where `class=` and `id=` attributes come in. Adding a class or ID to an HTML attribute allows you to add CSS styles to just that attribute. + + + MARKDOWN + +end + +steps do + + step do + message "Let's add some classes and ids to our HTML. Start by adding one or two more paragraphs of text to the bottom of your HTML document. The last lines might look like this:" + source_code :html, <Hello World!

+

My name is Rachel.

+

I like:

+ +

I hear RailsBridge needs volunteers, should I volunteer!?!

+HTML + end + + step do + message "Add the class 'special' to your first paragraph. It'll look something like this:" + source_code :html, <Hello World! +

My name is Rachel.

+

I like:

+ +

I hear RailsBridge needs volunteers, should I volunteer!?!

+HTML + message "Refresh the page in the browser. You should see any new paragraphs you added, but no styling changes." + message "Many HTML attributes, like classes and ids, don't directly convey visual information. Your site will look the exact same until we use the class to add CSS styling." + end + + step do + message "To add a style rule that will apply to a class, use the syntax `.class-name` for your selector. It will be almost the same as the styles that you added to `

` and `

`, but with a period at the beginning of your class name." + message "Try giving the 'special' class a green border. Add this rule inside of your `style` tag:" + source_code :css, <Hello World!

+

My name is + Rachel +

+

I like:

+ +

I hear RailsBridge needs volunteers, should I volunteer!?!

+HTML + message "Save and refresh the page in the browser. Again, you shouldn't see any difference." + end + + step do + message "Now, add the corresponding style rule for your ID, using the syntax `#id-name` for your selector. Try making the 'user-name' id look bold. Add this rule inside of your `style` tag:" + source_code :css, <` is called the doctype, and it tells the browser which flavor of HTML you're using. `` tells your browser you're using HTML5, the latest version of HTML. + +(You may see older doctypes out there that are longer and a lot more complicated, from when people +used various HTML and XHTML versions, but those are annoying, and you can usually just +use this short version for new websites.) + +The `` encloses all the rest of your page, and states unequivocally, "Here is my HTML!!!" + +## Pages, Like People, Have a Head and a Body + + MARKDOWN + source_code :html, < + + Invisible, Important Stuff + Actual Visible Content + +HTML + message <<-MARKDOWN + +### The Head + +The head contains information _about_ the document, including: + +* what language or character set you're using +* what the page title should be +* what CSS and JavaScript files to include (and where they are) + +Information in the `` section is __not__ displayed. + +It can also contain metadata tags that can tell a search engine or another +program more about the file, like who wrote it or what keywords are relevant. + +### The Body + +The Body contains the actual content of your file, the things you'll want your users +to be able to see, read, or interact with! + + MARKDOWN + +end + +steps do + + step do + message <<-MARKDOWN +Let's add the doctype, HTML, head, and body tags to your file. It should look like this: + + + +Save the file and refresh your browser. Everything should look mostly the same. + + MARKDOWN + end + + step do + message "Let's add a title to our page within the `` section. Add this line:" + source_code :html, "My Sample HTML page" + message <<-MARKDOWN +When you refresh your browser, you should see the title on the tab in Chrome. + + + +(If it doesn't show up, double check that you put the line between the opening and closing head tags, and that you saved your file before refreshing.) + MARKDOWN + end + +end + +next_step "basic_CSS" + diff --git a/sites/pt/frontend/HTML_tags.step b/sites/pt/frontend/HTML_tags.step new file mode 100644 index 000000000..b9d529af5 --- /dev/null +++ b/sites/pt/frontend/HTML_tags.step @@ -0,0 +1,218 @@ +goals do + goal "Add some tags to your HTML file" + goal "Learn more about available tags" +end + +overview do + + message <<-MARKDOWN + +## Use Tags to Separate Blocks of Content + + +Tags convey meaning. And in order to display your content well, everything should be inside of a tag, not just words you want emphasized. So let's use the paragraph tag `

` and the header 1 tag `

`. + +You'll notice that even if you put in extra lines and spaces, HTML will treat any number of +new line or space characters like there's just one space there. When you're getting started +with HTML, this can seem like a pain, because you have to type + MARKDOWN + + source_code :html, <first sentence

+

second sentence

+HTML + message <<-MARKDOWN + +when all you want is a blank line between two sentences. But as you get more advanced, this +aspect of HTML will feel more useful, because it means you can format your code however is +most readable for **you**, without worrying about what the browser will think of your blank +lines and spaces. + +## Nested Tags + +It's common for an HTML tag to be nested inside another tag. In the example above, you saw: + MARKDOWN + + source_code :html, "

" + + important do + message "Just make sure that the tags are correctly _nested_. For example, you can't do:" + + source_code :html, "

Hello World!

I like you!" + + message "The inner tag, `em`, needs to close before the outer tag closes." + end +end + +steps do + + step do + message "Add some more lines of content to your HTML file. Introduce yourself." + + source_code :html, <<-HTML +Hello World! + +My name is Rachel. + HTML + + message "Now save the file and refresh your browser." + img src: 'img/hello_world_2line.png' + end + + step do + message "Even though we put in some blank lines, the browser ignored them. So we'll have to use tags to break up our content." + message "Update your HTML with an `h1` tag and a `p` tag:" + + source_code :html, <<-HTML +

Hello World!

+

My name is Rachel.

+ HTML + + message "Now save the file and refresh your browser." + img src: 'img/hello_world_2line2.png' + end + + step do + message "Now let's add a list of things we like." + + source_code :html, <<-HTML +

Hello World!

+

My name is Rachel.

+

I like:

+
    +
  • Polka Dots
  • +
  • Soccer
  • +
  • Programming
  • +
+ HTML + + message "Now save the file and refresh your browser." + img src: 'img/html_tags_list.png' + end + +end + + +explanation do + + message <<-MARKDOWN + +## Tags for Every Occasion + +The meteoric rise in popularity of the world-wide-web and the recent proliferation of web +applications has made HTML hugely popular. While originally used only for simple documents, +HTML now has tags for embedded video and music playback, embedding images, filling out +web forms, and all kinds of other useful tags. + +You just used two well-known tags, `h1` for a headline and `p` for a paragraph. But there +are a ton of other tags you might use: + +## More Tags + + MARKDOWN + + table border: "1", cellspacing: "0", cellpadding: "3", align: "center" do + tr { + th "Tag" + th "Purpose" + } + tr { + td "a" + td "A link (the 'a' stands for Anchor)" + } + tr { + td "h1-h6" + td "Various headers, h1 is the most important, h6 the least." + } + tr { + td "ul" + td "Start a bulleted list (an 'unordered list')" + } + tr { + td "ol" + td "Start a numbered list (an 'ordered list')" + } + tr { + td "li" + td "A single thing within a list (a 'list item')" + } + tr { + td "table, tr, td" + td "You can make tables (like this one) with table rows and data cells" + } + tr { + td "form" + td "A form that can collect data from user input" + } + tr { + td "input" + td "A text input, a button, or a checkbox in a form" + } + tr { + td "div" + td "A section marker that doesn't do anything specific to the contents itself, but does make a new line after. (More on this later.)" + } + tr { + td "span" + td "Another section marker that doesn't do anything to its contents, but is inline - it does not make a new line after." + } + end + + message <<-MARKDOWN + + And HTML5 introduced lots of new HTML tags to make the HTML more *semantic*, meaning the tags should describe the content they describe. Some of the new elements introduced by HTML5 include: + + MARKDOWN + + table border: "1", cellspacing: "0", cellpadding: "3", align: "center" do + tr { + th "Tag" + th "Purpose" + } + tr { + td "section" + td "A section of a document" + } + tr { + td "nav" + td "A navigation section" + } + tr { + td "header" + td "The header for a page. (This is different from the head element, which contains metadata about the page!)" + } + tr { + td "footer" + td "The footer for a page" + } + tr { + td "main" + td "The important content on a page" + } + tr{ + td "aside" + td "Content not essential to the main content" + } + end + + message <<-MARKDOWN + +Don't try to memorize all the tags! You can always look them up on sites like: + +* [Mozilla Developer Network](https://developer.mozilla.org/en/HTML/Element) +* [DocHub](http://dochub.io/#html/) + + + +## Try This +What happens if you change the `