<div style="position: fixed;right: 0;top: 0;"><div style="border-bottom:3px solid #d7d7d7;border-top:3px solid #d7d7d7;width:410px;height:83px;background:#efefef;font-family:Ubuntu,sans-serif;font-size:2.2rem;text-shadow:#868686 1px 1px 20px;display:flex;justify-content:center;align-items:center;transform:rotate(45deg) translate(110px,-20px);"><a style="color:#3f3f3f;text-decoration: none;" onMouseOver="this.style.textDecoration='underline'" onMouseOut="this.style.textDecoration='none'" href="//github.com/html50/ping.js">star me on github</a></div></div>
push without password
git remote rm origin
git remote add origin (ssh)
git push --set-upstream origin master
force push when you want to override the remote repo
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
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> | |
<script src="jquery-3.1.0.js"></script> | |
<script type="text/javascript"> | |
let initialized = false; | |
$(document).ready(function(){ | |
$('.one').on('click',function(){ | |
if (!initialized) { |
function Person(name){
this.name = name;
this.type = 'person'
}
var person =new Person('really\'O');
Person('Window.tim')
function Person(){
this.name='person';
}
function Human(){
this.species = 'human'
}
Person.prototype = new Human();
let's see this code
let add = x => y => x + y
add(2)(3) //5
it has two arrow '=>', the caller use two '()' to calculate 2+3. let's change the code into a easy form.
winform.setTimeout(key.press,10,13 );//异步调用key.press函数
return true;
function test(){
var arg = arguments;
var arr = [...arguments];
console.log(typeof(arr),typeof(arg));
console.log(arr instanceof Array,arg instanceof Array);
console.log(Object.prototype.toString.call(arr),Object.prototype.toString.call(arg));
console.log(Array.isArray(arr),Array.isArray(arg));
}
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
“懵”是第三声,音同“猛”有三个意思 | |
1. 一时的心乱迷糊。 | |
2. 无知:~懂。 | |
3. 欺骗。 | |
“蒙”读第一声 也有三个意思 | |
1。欺骗:~骗。~哄。~事。欺上~下。 | |
2. 昏迷,眼发黑:~头转向。 | |
3. 胡乱猜测:瞎~。 |