JS 补遗
~ 实际结果是取反再减一 位运算 NOT 由否定号(~)表示,它是 ECMAScript 中为数不多的与二进制算术有关的运算符之一 位运算 NOT 是三步的处理过程: 1.把运算数转换成
如何使用chrome自带的图像识别功能做人脸识别
为保证项目能正常运行,请使用最新的chrome浏览器。打开浏览器,在浏览器地址中输入chrome://flags/#enable-exper
d3.js Day / Hour Heatmap
<!DOCTYPE html> <meta charset="utf-8"> <html> <head> <style> rect.bordered { stroke: #E6E6E6; stroke-width:2px; } text.mono { font-size: 9pt; font-family: Consolas, courier; fill: #aaa; } text.axis-workweek { fill: #000; } text.axis-worktime { fill: #000; } </style> <script src="http://d3js.org/d3.v3.js"></script> </head> <body> <div id="chart"></div> <div id="dataset-picker"> </div> <script type="text/javascript"> var margin = { top: 50, right: 0, bottom: 100, left: 30 }, width = 960 - margin.left - margin.right, height = 430 - margin.