$ tmux
CTRL+B C -> create new pane
CTRL+B [num] -> go to a pane
CTRL+D -> finish bash session, closes the pane. Closing all panes will destroy the window and thus the tmux
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| var data | |
| var formId = 'form' | |
| function drawForm() { | |
| if (!data) return | |
| var outputEl = document.getElementById(formId); |
| <?php | |
| /** | |
| * Implements hook_menu(). | |
| */ | |
| function MODULENAME_menu() { | |
| $items['node/%node/edit-line-item/%commerce_line_item'] = array( | |
| 'title' => 'Edit line item in the cart', | |
| 'page callback' => 'node_page_view', | |
| 'page arguments' => array(1), |
| <?php | |
| /** | |
| * A base class with getters and setters incorporated. | |
| */ | |
| class ObjectBase { | |
| /** | |
| * Setter function for a generic attribute. | |
| * | |
| * @param string $property_name |
| <?php | |
| $URL = 'http://example.com/login.php'; | |
| $user = 'USER'; | |
| $pass = 'PASS'; | |
| $cookie_path = dirname(__FILE__).'/cookie.txt'; | |
| /** | |
| * Hace login en la web enviando un POST con el usuario y contraseña. |