Tested on
Ubuntu v12.04 LTSUbuntu v12.10Ubuntu v13.xxUbuntu v14.04 LTS
| #!/bin/sh | |
| ME=your-username | |
| DIR=/Users/$ME/Sites/$1 | |
| if [ ! -d $DIR ] | |
| then | |
| sudo -u $ME mkdir $DIR | |
| sudo -u $ME touch $DIR/index.php | |
| echo "<h1>$1</h1>" >> $DIR/index.php | |
| fi |
| =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') |
| After spending the better part of the month implementing date support | |
| in RethinkDB, Mike Lucy sent the team the following e-mail. It would | |
| have been funny, if it didn't cause thousands of programmers so much | |
| pain. Read it, laugh, and weep! | |
| ----- | |
| So, it turns out that we're only going to support dates between the | |
| year 1400 and the year 10000 (inclusive), because that's what boost | |
| supports. |
| 1. | |
| sudo apt-get install libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev | |
| 2. | |
| sudo apt-get remove vim vim-runtime gvim vim-tiny vim-common vim-gui-common vim-nox | |
| 3. | |
| cd ~ | |
| git clone https://github.com/vim/vim.git | |
| cd vim |
| ! model | |
| pc101 Generic 101-key PC | |
| pc102 Generic 102-key (Intl) PC | |
| pc104 Generic 104-key PC | |
| pc105 Generic 105-key (Intl) PC | |
| dell101 Dell 101-key PC | |
| latitude Dell Latitude series laptop | |
| dellm65 Dell Precision M65 | |
| everex Everex STEPnote | |
| flexpro Keytronic FlexPro |
| ! model | |
| pc101 Generic 101-key PC | |
| pc102 Generic 102-key (Intl) PC | |
| pc104 Generic 104-key PC | |
| pc105 Generic 105-key (Intl) PC | |
| dell101 Dell 101-key PC | |
| latitude Dell Latitude series laptop | |
| dellm65 Dell Precision M65 | |
| everex Everex STEPnote | |
| flexpro Keytronic FlexPro |