This file contains 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 (){ | |
'use strict'; | |
const foo = "foo"; | |
foo = 1; | |
console.log(foo); | |
})(); |
This file contains 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 foo(){ | |
console.log(b); // undefined | |
console.log(c); // undefined | |
console.log(d); // undefined | |
console.log(e); // b is not defined | |
var b = 1; | |
if(true){ | |
var c = 0; | |
} | |
if(false){ |
This file contains 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
/** | |
* Created by albizures on 8/10/15. | |
*/ | |
function AreaCrop(page, parent, scale, x, y, w, h, minW, minH, maxW, maxH) { | |
this.id = Date.now(); | |
var real = page[0].getBoundingClientRect(); | |
var visibleArea = {}; | |
this.el = document.createElement('div'); |
This file contains 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
/** | |
* Created by albizures on 8/10/15. | |
*/ | |
function DragBar(type, area) { | |
this.type = type; | |
this.area = area; | |
this.id = Date.now(); | |
this.parent = area.parent; |
This file contains 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
{ | |
"presets": ["es2015"], | |
"plugins": [ | |
"transform-es2015-block-scoping", | |
"transform-es2015-destructuring", | |
"transform-es2015-computed-properties", | |
"transform-es2015-shorthand-properties" | |
] | |
} |
This file contains 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
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[00m\]:\[\033[01;33 | |
4m\]\W\[\033[00m\]\$ ' |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication1 | |
{ |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
public class Program | |
{ | |
public static void Main(string[] args) |
This file contains 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
@echo off | |
set /p pc="Enter PC id: " | |
set /p message="Enter message:" | |
shutdown /r /t 99999 /m \\%pc% /c %message% | |
ping 127.0.0.1 -n 6 > nul | |
shutdown /a /m \\%pc% |
This file contains 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 foo () { | |
var a = 1 | |
} |
OlderNewer