Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| $migrations['916-LATAMZ-8432-0'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8432-Migration-option-for-Brands.php'); | |
| $migrations['916-LATAMZ-8432-1'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8432-Migration-option-for-Brands-acl.php'); | |
| $migrations['916-LATAMZ-8843-0'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8843-GLOBAL-Migration-option-for-Category.php'); | |
| $migrations['916-LATAMZ-8843-1'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8843-GLOBAL-Migration-option-for-Category-acl.php'); | |
| $migrations['916-LATAMZ-8844-0'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8844-Migration-option-for-Attributes.php'); | |
| $migrations['916-LATAMZ-8844-1'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8844-Migration-option-for-Attributes-acl.php'); | |
| $migrations['916-LATAMZ-8804-0'] = array('module' => 'local/modules/catalog', 'file' => 'LATAMZ-8804-Migration-option-for-migration_attribute_sets.php'); | |
| $migrations['916 |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| // configurar provider | |
| jso_configure({ | |
| "facebook": { | |
| client_id: "454779664560438", | |
| redirect_uri: "http://localhost:9300/#facebook/", | |
| authorization: "https://www.facebook.com/dialog/oauth", | |
| presenttoken: "qs" | |
| } | |
| }); |
| //FightCode can only understand your robot | |
| //if its class is called Robot | |
| var Robot = function(robot) { | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(50); | |
| robot.back(50); |
| <div style="overflow: hidden; height: 34px !important; width: 70px; "> | |
| <ul id="myTab" class="nav nav-tabs" style="width: 700px;"> | |
| <li class="active"> | |
| <a href="#home" data-toggle="tab">Home</a> | |
| </li> | |
| <li class=""> | |
| <li class="dropdown"> | |
| </ul> | |
| </div> | |
| <div id="myTabContent" class="tab-content"> |
| var oldDelegateEvents = Backbone.View.prototype.delegateEvents; | |
| var oldUndelegateEvents = Backbone.View.prototype.undelegateEvents; | |
| var callbacks = {}; | |
| _.extend(Backbone.View.prototype, { | |
| delegateEvents: function(events){ |
| var Module = function(init){ | |
| this.init = _.once(_.bind(init, this)); | |
| }; | |
| var UserModule = new Module(function(){ | |
| console.log("initialize User Module"); | |
| this.Views = { | |
| 'UserList': "log de user list" | |
| }; | |
| }); |
| <html> | |
| <head> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| console.log("iniciando jquery"); | |
| $("#add").click(function(){ | |
| var li = $("<li>", { |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| <!-- Le styles --> |
| var Searcher = { | |
| lastWord: '', | |
| timeout: null, | |
| delay: 400, | |
| characters: 1, | |
| init: function(inputElement, successFunction ){ | |
| $(inputElement).keyup(function(){ | |
| var q = $(inputElement).val(); | |
| if( q.length == 0 ){ | |
| Searcher.lastWord = ''; |