Posts

Ember Routes Redirect

From Index to Another Route

You want your root index route to redirect to another route such as when you are on the index URL (root_url) and you need to get to root_url/#/another_route. This may be useful because you wish to use the model information from another_route on initial page load. A downloadable demo is located below.

Categories: #JavaScript
Tags: #Emberjs
Basic Gemset Management

CRUD for your rvm gemset

Rvm stands for ruby version manager. It is used to manage ruby environments with something called gemsets. More info can be found here. Rvm comes in handy when you're working with Rails because you can isolate ruby environments. Here are some snippets for common tasks when dealing with gemsets.

Categories: #Shell #Ruby
Whole Header Region Clickable

Header Text and Image are Clickable

On the majority the sites out there, the click of the upper-left hand side where logo and text is situated, will take you to the home page. Take for example Trello or PcWorld. However, I do not have a small logo on the upper-left of the site because I want my whole header region to lead to the home page.

Categories: #HTML #CSS
First Official Post

Customizing Octopress Default Theme

Change Default Theme CSS

In your sass/custom/_colors.scss file, define the values for the items below. I'm using the following colors for my theme, but feel free to change them to whatever you want them to be.

Categories: #Ruby
Tags: #octopress