| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
| Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
-d postgresqlsets up the project to use PostgreSQL--skip-turbolinks&--skip-springcreates a project that does not use turbolinks or spring-Tskips the creation of the test directory and use ofTest::Unit
- In the Gemfile:
Most likely you have homebrew installed on your machine, if not follow these instructions.
To install Exercism CLI, type the following on your terminal:
brew update && brew install exercism
To make sure it was installed correctly, run:
###The following assignments were completed by me over the intermission week:
- JavaScript Topics Reading. I have read and commented on:
- Chapters 3 & 17 from 'Speaking JavaScript';
- Chapters 3, 5, 6 from 'Eloquent JavaScript';
- JavaScript Garden.
- Here is the link to submission page.
- JavaScript Exercisms. created a gist for 5 exercisms I worked on with 5 reviews of other people's solution per exercism. Here is the link to the gist with submissions and comments.
I had to change div1 display to inline-block, put the other two divs into a container and floated the whole container to the right.
Set div2 margin to auto in order to center and gave absolute position to div3 with a right margin of 0.
Here are 5 JavaScript exercisms, with each exercism starting with a link to my submission. In addition, 5 other solutions for each exercism are reviewed as well, with links and my comments.
My code: link to submission
| Favorite/Most Valued Knowledge | |
| Learning new things and revisiting the old material and integrate both. | |
| Transferable Skills | |
| Methodical thinking and creating a plan to tackle a hard task. | |
| Favorite Working Conditions | |
| Enough coffee, preferably my own room or corner. The environment must be quiet at least 50% of the time in order for me to be able to focus and be productive. | |
| Favorite People to Work With/Serve |
| AltFuelFinder | |
| Alisher Sadikov | |
| Pitch | |
| People would use alternative fuel consuming vehicles more it was easier to navigate accross the country. Finding fuel stations along the route is one of the diffuclties they face. | |
| Problem | |
| It is really hard to plan your driving trip across the country if your vehicle uses alternative fuels. You have to spend a lot of time trying to figure out the fuel stops. |
| Rails comes equipped with three environments: test, development, and production. The default environment for the Rails console is development: | |
| $ rails console | |
| Loading development environment | |
| >> Rails.env | |
| => "development" | |
| >> Rails.env.development? | |
| => true | |
| >> Rails.env.test? | |
| => false |