Skip to content

Instantly share code, notes, and snippets.

View Clickys's full-sized avatar

Clickys Clickys

  • Cyprus, Limassol
View GitHub Profile
clickys@DESKTOP-1LFM6DS MINGW64 ~/Desktop/to-do-app (new-dev)
$ git commit -m "Calendar Works"
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id="section1">
<li>1</li>
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'compile:sass' ]
2 info using npm@5.6.0
3 info using node@v9.4.0
4 verbose run-script [ 'precompile:sass', 'compile:sass', 'postcompile:sass' ]
5 info lifecycle starter@1.0.0~precompile:sass: starter@1.0.0
6 info lifecycle starter@1.0.0~compile:sass: starter@1.0.0
{
"git.ignoreMissingGitWarning": true,
"workbench.colorTheme": "Cobalt2",
"editor.fontFamily": "Hermit",
"editor.fontSize": 17,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"files.autoSave": "onWindowChange",
"workbench.iconTheme": "eq-material-theme-icons-ocean",
"eslint.enable": true,
"eslint.autoFixOnSave": true,
{
"git.ignoreMissingGitWarning": true,
"workbench.colorTheme": "Cobalt2",
"editor.fontFamily": "Hermit",
"editor.fontLigatures": true,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"files.autoSave": "onWindowChange",
"workbench.iconTheme": "eq-material-theme-icons",
"eslint.enable": true,
"eslint.autoFixOnSave": true,
{
"javascript.suggestionActions.enabled": true,
"editor.wordWrap": "on",
// Theme Setup.
"workbench.colorTheme": "Cobalt2",
"workbench.iconTheme": "vscode-icons",
"editor.fontFamily": "Operator Mono, FiraFlott, Menlo, Monaco, 'Courier New', monospace",
"terminal.integrated.fontFamily": "'Operator Mono', 'Inconsolata for Powerline', monospace",
@Clickys
Clickys / cloudSettings
Last active October 22, 2018 06:20
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-10-22T06:20:45.665Z","extensionVersion":"v3.2.0"}
// VIDEO REMAINING INTERNAL HELPER METHODS
// QUESTIONS AND OBSERVATIONS
//QUESTION 1: why object[key] == null and not object[key] === undefined ? Why its compare it with null instead of undefined. Because if an object property is missing obj['prop'] it will return undefined not null.
// QUESTION 2: object[key] = defs[key]; if defaultObject has an array as property with couple of values instead of primitive values then it will copy to the new return object that array by reference and if you change a value to one it will change to all.
var defaultCar = {
color: ['grey', 'red'],
wheels: 4,
function checkCurrencyFormat(format) {
var defaults = lib.settings.currency.format;
// Allow function as format parameter (should return string or object):
if ( typeof format === "function" ) format = format();
// Format can be a string, in which case `value` ("%v") must be present:
if ( isString( format ) && format.match("%v") ) {
// Create and return positive, negative and zero formats: