start new:
tmux
start new with session name:
tmux new -s myname
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
| =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') |
| // See comments below. | |
| // This code sample and justification brought to you by | |
| // Isaac Z. Schlueter, aka isaacs | |
| // standard style | |
| var a = "ape", | |
| b = "bat", | |
| c = "cat", | |
| d = "dog", |
| #!/usr/bin/env python | |
| """ | |
| Check that a particular email address exists. | |
| Adam Blinkinsop <blinks@acm.org> | |
| WARNING: | |
| Checking email addresses in this way is not recommended, and will lead to | |
| your site being listed in RBLs as a source of abusive traffic. Mail server | |
| admins do like it when they get connections that don't result in email being | |
| sent, because spammers often use this technique to verify email addresses. |