本文主讲如何在树莓派3B上安装node.js 环境描述1. 树莓派安装了`2016-11-25-raspbian-jessie-lite`(PS:在此版本的镜像中,默认禁用了ssh,在烧录好镜像之后,在`boot`分区中新建一个名为`ssh`的文件夹,正常开机,通过ssh即可连接到树莓派)2. 所有 ...
分类:
Web程序 时间:
2017-12-23 14:07:41
阅读次数:
332
以下是几个主要浏览器的css hack汇总: 现有css样式为: 注意,\8\0的写法是错误的,不能试图这样hack IE8。上述代码没有对IE10和IE11分别hack(好像没有对这两个浏览器单独hack的写法),那么IE10和IE11使用的就是IE8+那个样式。 另外,还可以这样hack其他浏览 ...
分类:
Web程序 时间:
2017-12-18 19:13:31
阅读次数:
286
图片颜色的类型 1 (1 bit pixels, black and white, stored with one pixel per byte) L (8 bit pixels, black and white) P (8 bit pixels, mapped to any other mode ...
分类:
其他好文 时间:
2017-12-17 11:12:25
阅读次数:
217
ScrollViewer自定义样式 ScrollViewer在各种列表、集合控件中广泛使用的基础组建,先看看效果图: 如上图,ScrollViewer简单来说分两部分,一个横向的滚动条,一个垂直滚动条,两个样式、模板、功能都基本一样,他们都是ScrollBar。以垂直滚动条为例,分解一下,分解图: ...
系统需求: CentOS/RHEL/Fedora/Debian/Ubuntu/Raspbian Linux系统 需要3GB以上硬盘剩余空间 需要128MB以上内存(如果为128MB的小内存VPS,Xen的需要有SWAP,OpenVZ的至少要有128MB以上的vSWAP或突发内存),注意小内存请勿使用 ...
分类:
其他好文 时间:
2017-12-12 01:01:34
阅读次数:
112
图像边缘信息主要集中在高频段,通常说图像锐化或检测边缘,实质就是高频滤波。我们知道微分运算是求信号的变化率,具有加强高频分量的作用。在空域运算中来说,对图像的锐化就是计算微分。由于数字图像的离散信号,微分运算就变成计算差分或梯度。图像处理中有多种边缘检测(梯度)算子,常用的包括普通一阶差分,Robe ...
分类:
编程语言 时间:
2017-12-10 21:36:30
阅读次数:
336
参照整理自:https://github.com/jawil/blog/issues/21 http://www.jianshu.com/p/af6dad66e49a px:px是一个相对单位,相对的是设备像素(device pixel) margin:2px,这里的px是逻辑像素。 ppi:每英寸 ...
分类:
Web程序 时间:
2017-12-07 21:54:16
阅读次数:
280
Canvas Scaler 画布缩放器 The Canvas Scaler component is used for controlling the overall scale and pixel density of UI elements in the Canvas. This scaling ...
分类:
编程语言 时间:
2017-12-06 13:06:48
阅读次数:
404
An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate (sr, ...
分类:
其他好文 时间:
2017-12-05 23:55:46
阅读次数:
336
An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate (sr, ...
分类:
其他好文 时间:
2017-12-01 11:34:10
阅读次数:
104