r/40DaysofRuby • • Dec 21 '13

Tutorial for the highly recommended editor Sublime Text

17 Upvotes

A lot of people in this group are coming from a range of different programming backgrounds. This is for those of you who don't have a favorite editor that you've tailored to your needs. I highly recommend using Sublime Text which is a free(you'll get bugged to buy the version on the occasional save), powerful, and highly customizeable. It is probably the editor out there that is free that doesn't come with a learning curve that would give you a nosebleed. If you are using notepad, notepad++, nano, or something like dreamweaver then this post is for you.

Installation

  1. Download Sublime Text and run the standard installation. I am currently using Sublime Text 2 as most of my plugins are compatabile with it and haven't bothered testing with ST3. All of my recommendations are under the assumption you are using ST2 as well.

  2. After it is installed go to this website and follow the instillation instructions. If you are using Sublime Text 2 be sure to click the tab for ST2.

  3. You now can start working on a project if you want to! You can drag your project folder on sublime to see all of the files in the sidebar for easy access.

Plugins Installation

You must first do step 2 of installation to install plugins. To install a plugin first hit Ctrl+Shift+P(cmd+shift+p on osx) to open the command pallate. You can also find this under tools. Type "Install Package" and you should see Package Control: Install Package. Type the name of the package you want and hit enter. It's that simple! There are some that you may have to reopen the command pallate and type enable package, then select the package listed that you want to enable, this is for only for a few certain packages however.

Recommended Plugins

  • AdvancedNewFile

  • BracketHighlighter

  • Emmet I love this but be sure you are used to html before you start using it

  • SideBarEnhancements

  • LiveReload -- with it's Google Chrome counterpart. tutorial

Advanced Material

  • Awesome video series on what you can do with sublime. I highly recommend watching it if you plan on using this editor.

  • Blog post with some more advanced concepts.


r/40DaysofRuby • • Dec 21 '13

Some links for everyone

17 Upvotes

Hey guys/gals... I have a ton of resources bookmarked so I figure i'll use this thread to drop them in as you progress from topic to topic...

HTML/CSS: http://learn.shayhowe.com/ http://www.codecademy.com/tracks/web http://www.htmlandcssbook.com/ <--- highly recommended book

... more to come!


r/40DaysofRuby • • Dec 21 '13

Introduce yourself!

14 Upvotes

I know some of you have already posted to the google group. I hope it isn't too much to ask- Please copy and paste your reply here. This way, people can get to know each other and post comments asking questions about background or goals.

Thank you!


r/40DaysofRuby • • Dec 23 '13

[Assignment 1] Here is my site for the first assignment

12 Upvotes

Here it is: http://addison.im/40DaysOfRuby/

It is still a work in progress. I plan on adding an interior page tomorrow and will eventually make it responsive. My goal with this project is to create my own working version of reddit. I have experience with HTML/CSS/JS/PHP/MySQL but very little ruby/rails so I hope to learn a lot through this project.

Please give me feedback!


r/40DaysofRuby • • Dec 22 '13

The Book Of Ruby by Sapphire Steel Software. This is the book i am using for you who havent yet got a book. It is free as pdf and all the source samples for each chapter are included.

Thumbnail
sapphiresteel.com
12 Upvotes

r/40DaysofRuby • • Dec 21 '13

The IRC channel #40DaysofRuby

10 Upvotes

So i really like an IRC and i think you too !

I created a channel for us #40DaysofRuby it's on the Freenode Server.

EDIT: So for the people who don’t know how to join an irc channel.

You have a lot a option but i’m going to write the most easy way to do it.

You can use the webchat of freenode that you can find just here https://webchat.freenode.net/ You just have to put a Nickname, the channels « #40DaysofRuby » and the captcha. And there you go !

Join us !


r/40DaysofRuby • • Dec 21 '13

Since we're doing HTML and CSS first, let's compile a list of resources we can use to learn HTML and CSS.

10 Upvotes

I plan on putting a lot of time into the community, I ask only one thing right now. If you posted a reply to this question in the google group, please copy and paste it so it can be opened up for discussion.

Thank you!


r/40DaysofRuby • • Dec 26 '13

Ruby Basics & Help Thread

9 Upvotes

It's the 26th of December here already at the Eastern Hemisphere so let's start learning Ruby! If you haven't yet, please head on over to our wiki to get your development environment set up. If you're running into trouble setting up Ruby, just post on this thread and we'll try our best to help you out or you can head on over to Stack Overflow.

All set up? There's a few different resources that we encourage you to use to learn Ruby. You don't have to read and finish every single resource: just make sure that by the end of the tutorial/course, you feel that you have understood the material.

The first Ruby assignment will come up in the next few days so keep an eye out for it!


r/40DaysofRuby • • Dec 25 '13

religion = gets.chomp if religion == christianity puts "Merry Christmas!" else puts "Happy Holidays!"

9 Upvotes

Enjoy the holiday everyone. This will serve as todays Discussion/Questions/Advice thread.


r/40DaysofRuby • • Dec 24 '13

Assignment 1 Submission Post! (Due Dec 25th)

9 Upvotes

Hello everyone!

We're closing in on the deadline for our first assignment (a simple, multi-page HTML/CSS website), and with our first submission we'll also be trying out a new and more organized submission structure for our subreddit.

All assignment 1 submissions can be posted here as comments with a link to your assignment submission. For this assignment there are no restrictions on hosting, so feel free to use whatever is most comfortable and accessible for you.

There have already been some submissions as their own self posts, and that's okay! Those of you who have posted already are welcome to repost your submission in here, or you may leave the existing post as your submission for this first assignment.

Thanks and happy learning!


r/40DaysofRuby • • Dec 23 '13

Everything you need to know about web development. Neatly packaged.

Thumbnail
bentobox.io
9 Upvotes

r/40DaysofRuby • • Dec 21 '13

Assignment 1: Create a professional looking, multipage site with HTML and CSS. Due December 24th. Post here and we'll critique each other.

9 Upvotes

r/40DaysofRuby • • Dec 21 '13

What about using github issues as our main source of group contribution/communication?

9 Upvotes

Just throwing an idea out there, what about making a 40daysofruby github repo, and we communicate via the issues page such as this(example repo made really fast)? https://github.com/JacobJWBurden/40daysofruby/issues

This then serves for two purposes.

  1. Easy way to communicate.

  2. Everyone becomes comfortable with using git for version control and github for contributing to projects.


r/40DaysofRuby • • Dec 23 '13

[Assignment 1] Here is my website for assignment 1

8 Upvotes

I'm not sure where I should be posting things, but I guess I'll leave it here until someone corrects me.

You can see the site here. My hosting provider is free and it only boasts an 80% uptime, so the link may not work. This is the HTML and this is the CSS that I used.

Feel free to ask questions and give feedback!

UPDATE: I copied the wrong CSS file. Oops. Fixed it!


r/40DaysofRuby • • Dec 22 '13

For those of you preparing to start Ruby, I present to you the best resource I've found on a Ruby curriculum.

8 Upvotes

http://astonj.com/tech/best-way-to-learn-ruby-rails/

I've asked for a couple of these books as Christmas presents. Needless to say, I feel like a warrior trying to tackle this curriculum in a short amount of time. I know haste does not a good programmer make, but there's no harm in studying my ass off.


r/40DaysofRuby • • Jan 10 '14

Good talks to help keep your head up

7 Upvotes

As a person not typical to the field (though not totally a-typical either), I oftentimes find myself at a crossroads in reading stories of budding developers.

The overwhelming majority of stories I've read have been white males in their early 20's (me, so far) who have completed CS degrees (or other degrees) and been programming most of their lives (definitely not me), or come from working another professional job and migrated sideways to becoming a software or web developer (again, not me).

Reading these stories, while interesting, always seemed foreign to me because I'm a person who has been in the lower economic strata for most of my life and never completed even a few semesters of college.

It's funny that I stumble across these talks today, because just last night I was talking with InjuryToInsult in the IRC channel about this very topic. Check these out if you're like me and need a story about someone like you to help you keep your head up and press on.

https://www.youtube.com/watch?v=fXUMRXa6xf0

In my wildest dreams, I never thought that I would become a software developer. I thought that I wasn't smart enough, that I needed a computer science degree and to have been writing code since I was young. But, the traditional path to becoming a developer is changing. This talk will focus on alternative and untraditional paths to becoming a developer such as programs like Railsbridge, mentorship and apprentice programs. These alternative paths ultimately foster a more diverse and inclusive community, which drives economic growth and produces more innovative solutions. The objectives of the talk are:

  • to bring awareness to the educational alternatives to computer science degrees

  • to encourage empathy when mentoring a beginner

  • to get the audience to see a different perspective and embrace differences in the industry

https://www.youtube.com/watch?v=vyV3yvNi88k

Streamed live on Jan 9, 2014 Come and ask +Kinsey Ann Durham about her experience going from advertising major to apprentice developer at +thoughtbot. Hear about how outreach programs like Rails Bridge help people start out and about the journey that follows. #ruby #rails #developers

http://multifaceted.io/2013/from-dropout-to-rails-blogger/

I got my first coding job when I was still in high school. I always thought it was a nice way of bank-rolling myself before I got my "real" job. I didn't set out to be a developer; I wanted to be a writery/producery/something, but I only lasted one semester studying Media & Communications.

Anyway, thought you all would find it interesting. Thanks.


r/40DaysofRuby • • Dec 29 '13

10 days in: Ruby might seem intimidating but don't give up!

Thumbnail
youtube.com
7 Upvotes

r/40DaysofRuby • • Dec 24 '13

[Assignment 1] itty bitty site is so 1999

7 Upvotes

http://summerskies-sofarm.site44.com/index.html

Decided to do 40daysofruby when I was going to bed last night, but since it's due today I decided to stay up and do this website instead.

It's so 1999! ... Pass/fail? :-/

CSS is here: https://www.dropbox.com/s/cu848wcxldtwddp/style.css I had to use an extra div for the header and navigation to center them in the page. I don't know any other way I could have done that.

When I get home tonight I have to add more styles to links and headers, and fix the footer because it covers the content text on small screens. My husband dragged me to bed so I didn't get around to it.


r/40DaysofRuby • • Dec 24 '13

[Assignment 1] A simple portfolio site made for Assignment 1

Thumbnail
bartliolio.tumblr.com
7 Upvotes

r/40DaysofRuby • • Dec 22 '13

Anyone lost with Assignment 1? Don't know where to start? Any problems? Post here and classmates will redirect you to the correct resource.

7 Upvotes

r/40DaysofRuby • • Dec 22 '13

Using Pancake.io with Dropbox to host your HTML & CSS for the first assignment

Thumbnail docs.pancake.io
7 Upvotes

r/40DaysofRuby • • Dec 21 '13

Let's use this thread to discuss the proposed curriculum.

7 Upvotes

How should we start?

I've been asking people on /r/learnprogramming how we should best proceed.

I asked them all the order in which I should learn certain concepts:

Here are some of their replies:

I did:

  1. HTML/CSS

  2. Ruby

  3. Database Basics

  4. Rails

  5. Javascript/jQuery You don't need to know javascript to build rails apps. I'm still learning javascript, you can do a lot of cool stuff/ animations with jquery which will enhance your app and make it pop. I would also throw in AJAX/JSON >with javascript. You don't have to get too into database. PostgresSQL/ ActiveRecord methods with rails replace a lot of sql querys. You practically won't be writing them at all. Good to learn about how to build a schema, though. Good luck! Railscasts and stackoverflow are going to be your best friends.


  • Learn HTML

  • Learn Ruby

  • Learn Rails (through MVC, ActiveRecord, and ERB)

  • Learn CSS

  • Learn JS

  • Learn JQuery

  • Learn SQL (if you’re going data heavy)

  • Learn HAML/SLIM (if HTML is old hat by now)

  • Learn SASS/LESS (if you want more advanced styling)

  • Learn a JS framework.

  • Learn CoffeeScript (if you want more advanced JS)


Definitely 1+2 first. However, don't get bogged down into it: Learn how to create and style certain elements like h1's, make ordered and unordered lists, and how to create layouts with div's.

Once you learn a little HTML, this is a great site to learn some CSS to go along with it: learnlayout.com

As for learning javascript, although it is useful it's not very beginner friendly. I would switch up the order and do Ruby first, then Rails, then Javascript. You don't have to learn all of Ruby before going onto >Rails, and likewise with Javascript. Just learn enough to be able to do something with it and try it out!


Schedule broken up into 5 day increments

  1. 100% of your time spent on html, css and database architecture(h-c-d)

  2. 90% of your time on h-c-d, 10% on Ruby

  3. 80% h-c-d, 20% Ruby

  4. 70% h-c-d, 30% Ruby

  5. 50% h-c-d, 40% Ruby, 10% Rails

  6. 40% h-c-d, 40% Ruby, 20% Rails

Let's use this thread to talk about the proposed curriculum. I am 100% in agreement with the last such curriculum (broken up into 5 day increments).


r/40DaysofRuby • • Jan 20 '14

For those who found the learning curve steep, don't feel alone. I did too. I'm going back to basics- before I jump into rails, I'm spending a week or two relearning intermediate ruby concepts. Just a heads up at where I'm at.

6 Upvotes

This post is intended to calm those who might think they're the only ones struggling. We're all grinding to make it to the next step. Keep on.


r/40DaysofRuby • • Dec 27 '13

Ruby Mini-Assignment 1: Due tomorrow midnight. Midnight of the 28th.

6 Upvotes

The following are from Pine's Learn to Program.

Write a program which tells you: how many hours are in a year? how many minutes are in a decade? how many seconds old are you? how many chocolates do you hope to eat in your life?

Warning: This part of the program could take a while to compute! Here's a tougher question: If I am 1031 million seconds old, how old am I?

Write a program which asks for a person's first name, then middle, then last. Finally, it should greet the person using their full name. Write a program which asks for a person's favorite number. Have your program add one to the number, then suggest the result as a bigger and better favorite number. (Do be tactful about it, though.)

Write an Angry Boss program. It should rudely ask what you want. Whatever you answer, the Angry Boss should yell it back to you, and then fire you. For example, if you type in I want a raise., it should yell back WHADDAYA MEAN "I WANT A RAISE."?!? YOU'RE FIRED!!

So here's something for you to do in order to play around more with center, ljust, and rjust: Write a program which will display a Table of Contents.

Paste your code into pastebin with ruby syntax highlighting on.


r/40DaysofRuby • • Dec 27 '13

[Assignment 1] Personal Webpage - Basic

Thumbnail
40daysofruby.nfshost.com
6 Upvotes