1- Attaching Aliases to the native command line:
Steps in this stackoverflow answer.Quoting:
you may make the alias(es) persistent with the following steps,
1- Attaching Aliases to the native command line:
Steps in this stackoverflow answer.Quoting:
you may make the alias(es) persistent with the following steps,
// Either of the following two patterns can be used to immediately invoke | |
// a function expression, utilizing the function's execution context to | |
// create "privacy." | |
(function(){ /* code */ }()); // Crockford recommends this one | |
(function(){ /* code */ })(); // But this one works just as well | |
// Because the point of the parens or coercing operators is to disambiguate | |
// between function expressions and function declarations, they can be |
var PUNCTUATION = "" + | |
"’'" + // apostrophe | |
"()[]{}<>" + // brackets | |
":" + // colon | |
"," + // comma | |
"‒–—―" + // dashes | |
"…" + // ellipsis | |
"!" + // exclamation mark | |
"." + // full stop/period | |
"«»" + // guillemets |
/** | |
* Convert From/To Binary/Decimal/Hexadecimal in JavaScript | |
* https://gist.github.com/faisalman | |
* | |
* Copyright 2012-2015, Faisalman <[email protected]> | |
* Licensed under The MIT License | |
* http://www.opensource.org/licenses/mit-license | |
*/ | |
(function(){ |
If you want resources offline to learn about programming and web technologies MDN is for you! and I recommend to use MDN over w3school because w3school is outdated.
Download it offline (2.1gb) at https://mdn-downloads.s3-us-west-2.amazonaws.com/developer.mozilla.org.tar.gz
// default exports
export default 42;
export default {};
export default [];
export default (1 + 2);
export default foo;
export default function () {}
export default class {}
export default function foo () {}
<!DOCTYPE html | |
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>HTML Template</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<style> | |
body { | |
width: 100% !important; |
// Example POST method implementation: | |
async function postData(url = '', data = {}) { | |
// Default options are marked with * | |
const response = await fetch(url, { | |
method: 'POST', // *GET, POST, PUT, DELETE, etc. | |
mode: 'cors', // no-cors, *cors, same-origin | |
cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached | |
credentials: 'same-origin', // include, *same-origin, omit | |
headers: { |
Hello (<-- two spaces)
World
Hello
World