| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT table_name AS "table", | |
| round(((data_length + index_length) / 1024 / 1024), 2) "size(MB)" | |
| FROM information_schema.TABLES | |
| WHERE table_schema = "$dbName" | |
| ORDER BY (data_length + index_length) DESC; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *filter | |
| :INPUT ACCEPT [0:0] | |
| :FORWARD ACCEPT [0:0] | |
| :OUTPUT ACCEPT [0:0] | |
| # Allows all loopback (lo0) traffic and drop all traffic to 127/8 that doesn't use lo0 | |
| -A INPUT -i lo -j ACCEPT | |
| -A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "AF": "Afghanistan", | |
| "AX": "Aland Islands", | |
| "AL": "Albania", | |
| "DZ": "Algeria", | |
| "AS": "American Samoa", | |
| "AD": "Andorra", | |
| "AO": "Angola", | |
| "AI": "Anguilla", | |
| "AQ": "Antarctica", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function (exports) { | |
| 'use strict'; | |
| var _module = exports.angular.module; | |
| exports.angular.module = function () { | |
| var module = _module.apply(this, arguments); | |
| module.decorate = function (dest, fn) { | |
| module.config(function ($provide) { | |
| $provide.decorator(dest, fn); | |
| }); | |
| return module; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; | |
| (function (window) { | |
| "use strict"; | |
| void function () { | |
| var notify= null, perm = -1, EVENT_TYPE = {show: 1, error: 1, close: 1, click: 1}, DesktopNotify = {isSupport: function () { | |
| return "Notification" in window || "webkitNotifications" in window | |
| }, show: function (e, i, n) { | |
| notify = this.create(e, i, n), notify.show() | |
| }, showHTML: function (e) { | |
| notify = this.createHTML(e), notify.show() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function (window) { | |
| "use strict"; | |
| void function () { | |
| var notify= null, i = -1, EVENT_TYPE = {show: 1, error: 1, close: 1, click: 1}, DesktopNotify = {isSupport: function () { | |
| return "Notification" in window || "webkitNotifications" in window | |
| }, show: function (e, i, n) { | |
| notify = this.create(e, i, n), notify.show() | |
| }, showHTML: function (e) { | |
| notify = this.createHTML(e), notify.show() | |
| }, hide: function (callback) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($) { | |
| var t = function() { | |
| }; | |
| "placeholder" in document.createElement("input") || (t = function() { | |
| var t = $(this), n = t.attr("placeholder"); | |
| n && (t.focus(function() { | |
| this.value === n && (this.value = ""), t.removeClass("placeholder"); | |
| }).blur(function() { | |
| this.value === "" && (this.value = n, t.addClass("placeholder")); | |
| }), t.val() === "" && t.addClass("placeholder"), t.val() || t.val(n)); |
NewerOlder