A short guide on building a Vagrant box from the Hacking: The Art of Exploitation, 2nd Edition LiveCD.
Create a new blank 32-bit Linux machine via VirtualBox UI (or console) and name it however you like. Insert the ISO file as a Live CD and
| Rails on Rails Cheat Sheet -- Includes updates from Rails 5.0 | |
| 1. Open terminal and check versions of Ruby and Rails against production server params or to make sure you are using the most recent stable versions. | |
| $ ruby -v | |
| $ rvm list | |
| $ rvm list known | |
| $ rvm install ruby 2.3.1 | |
| $ rvm list | |
| $ ruby -v | |
| $ gem install rails |
A short guide on building a Vagrant box from the Hacking: The Art of Exploitation, 2nd Edition LiveCD.
Create a new blank 32-bit Linux machine via VirtualBox UI (or console) and name it however you like. Insert the ISO file as a Live CD and
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |