Here's what I do after I do a fresh install of Lion. Things are sorta grouped by type.
- Run Software Update
- Start downloading Xcode
- Disable auto-bright and turn brightness all the way up
- Enable mouse right click
| Write a program that prints the numbers from 1 to 100. But for multiples of | |
| three print “Fizz” instead of the number and for the multiples of five print | |
| “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”. | |
| So, for example, if you were to print from 1 to 20, it would look like this: | |
| 1 | |
| 2 | |
| Fizz | |
| 4 |
| void reverse(char txt[]) { | |
| int i, j; | |
| char tmp; | |
| for (i = 0, j = strlen(txt) - 1; i < j; ++i, --j) { | |
| tmp = txt[i]; | |
| txt[i] = txt[j]; | |
| txt[j] = tmp; | |
| } | |
| } |
| <ul> | |
| <% @sections.each do |section| %> | |
| <li> | |
| <a href="<%= section_articles_path section %>"> | |
| <%= section.name %> | |
| </a> | |
| </li> | |
| <% end %> | |
| </ul> |
| color vividchalk | |
| " Ignore bad Rails stuff | |
| set wildignore+=test/fixtures/**,vendor/gems/** | |
| set wildignore+=enterprise,repositories | |
| set wildignore+=public/images,public/javascripts/MathJax,tmp | |
| " Show whitespace | |
| set list listchars=trail:.,tab:>. |
Here's what I do after I do a fresh install of Lion. Things are sorta grouped by type.