- 400 BadRequest
- 401 Unauthorized
- 402 PaymentRequired
- 403 Forbidden
- 404 NotFound
- 405 MethodNotAllowed
- 406 NotAcceptable
- 407 ProxyAuthenticationRequired
- 408 RequestTimeout
- 409 Conflict
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
Show hidden characters
[ | |
{ "keys": ["super+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["super+d"], "command": "duplicate_line" }, | |
{ "keys": ["super+r"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} }, | |
{ "keys": ["super+shift+up"], "command": "swap_line_up" }, | |
{ "keys": ["super+shift+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }, | |
{ "keys": ["alt+super+i"], "command": "reindent", "args": {"single_line": false}}, |
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
[ | |
{ "keys": ["super+y"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["super+d"], "command": "duplicate_line" }, | |
{ "keys": ["super+`"], "command": "toggle_side_bar" }, | |
{ "keys": ["super+r"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} }, | |
{ "keys": ["super+shift+up"], "command": "swap_line_up" }, | |
{ "keys": ["super+shift+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }, |
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
var callback = function () { | |
// The code to be executed after DOM is ready | |
} | |
if ( document.readyState === "complete" || | |
(document.readyState !== "loading" && !document.documentElement.doScroll) ) { | |
callback(); | |
} else { | |
document.addEventListener("DOMContentLoaded", callback); | |
} |
If the this mechanism is so confusing, even to seasoned JavaScript developers, one may wonder why it's even useful? Is it more trouble than it's worth? Before we jump into the how, we should examine the why.
Let's try to illustrate the motivation and utility of this:
function identify() {
return this.name.toUpperCase();
}
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
var randomColor = function() { | |
return "hsl(" + Math.random() * 360 + ",50%,50%)"; | |
}; |
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
To quickly set up your system for the latest NativeScript CLI, paste the following PowerShell script in the Command Prompt and hit Enter: | |
=========================================================================================================================== | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))" | |
Alternatively, your can paste the following PowerShell setup script in a Windows PowerShell console and hit Enter: | |
====================================================================================================================== |
NewerOlder