- 初步筛选出面试者,不用来一遍公司才发现不合适,节省面试者的时间。
- 现场作答,由于面试者没带电脑,不方便作答,没法体现自己的能力。
- 通过回答了的题目,提前判断出面试者的水平,节省面试的时间。
- 让面试者充分准备。
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
<!DOCTYPE html> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Axios 请求重试示例(适配器)</title> | |
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script> | |
</head> | |
<body> |
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
const Cache = { | |
setCache (key, val) { | |
if (!this.isIncognitoMode()) { | |
if (val === null) { | |
localStorage.removeItem(key) | |
} else { | |
localStorage.setItem(key, JSON.stringify(val)) | |
} | |
} else { | |
// 兼容隐身模式 |
First download the new old icon: https://cl.ly/mzTc (based on this)
You can also use the icon you want, but you need to convert it to .icns
. You can use this service to convert PNG to ICNS.
Go to Applications
and find VSCode
, right click there and choose Get Info
. Drag 'n drop the new icon.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Test 2 way data binding</title> | |
</head> | |
<body> | |
<div id="app">{{ abc }} - {{ def }} = {{ abc-def }} </div> | |
<button id='add'>add</button> | |
<button id='double'>double</button> | |
<script src='main.js'></script> |
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
/** | |
* 遍历文件夹目录 | |
* @param {[type]} dir [description] | |
* @param {Function} callback [description] | |
* @return {[type]} [description] | |
*/ | |
function travel(dir, callback) { | |
var fileList = [], | |
folderList = []; |
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
/** | |
* @author xiaojue | |
* @date 20160420 | |
* @fileoverview 倒计时 | |
*/ | |
(function() { | |
function timer(delay) { | |
this._queue = []; | |
this.stop = 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
// Bonfire: Meet Bonfire | |
// Author: @2lei | |
// Challenge: http://www.freecodecamp.com/challenges/bonfire-meet-bonfire# | |
// Learn to Code at Free Code Camp (www.freecodecamp.com) | |
function meetBonfire(argument) { | |
// Good luck! | |
console.log("you can read this function's argument in the developer tools", argument); | |
return true; |
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
来源:http://www.cnblogs.com/devinhua/articles/1726292.html | |
1、简单的正则表达式: | |
(1)preg_match("/^(\d{18,18}|\d{15,15}|\d{17,17}x)$/",$id_card) | |
(2)preg_match("/^(\d{6})(18|19|20)?(\d{2})([01]\d)([0123]\d)(\d{3}) (\d|X)?$/",$id_card) | |
(3)preg_match("/(^\d{15}$/)|(\d{17}(?:\d|x|X)$/),$id_card) |
NewerOlder