在HTML里只要涉及文件的地方(如超级链接、图片等)就会涉及绝对路径与相对路径的概念。1.绝对路径 绝对路径是指文件在硬盘上真正存在的路径。例如“bg.jpg”这个图片是存放在硬盘的“E:\book\网页布局代码\第2章”目录下,那么 “bg.jpg”这个图片的绝对路径就是“E:\book\网页布\...
分类:
其他好文 时间:
2015-04-07 15:20:09
阅读次数:
108
Duang Duang~
今天学习一下原理:Matrix:
其中e,j,o,t为偏移量aR+bG+cB+dA+e
fR+gG+hB+iA+j
kR+lG+mB+nA+o
pR+qG+rB+sA+t=R1
G1
B1
A1在onCreate函数中用post来获取组件的宽高: mGroup.post(new Runnable() {
@Override...
分类:
移动开发 时间:
2015-04-07 09:55:01
阅读次数:
181
磁盘的第一个扇区(512字节)由mbr和分割表组成,分割表记录开始磁柱开始和结束号ctrl+c和ctrl+\中断程序,ctrl+d为EOF,ctrl+z把前台的程序转为后台,并暂停执行。命令后加&,把程序转到后台执行(思考:如果程序本身也使用标准输入,那么bash的标准输入会和程序冲突。)。bg,f...
分类:
系统相关 时间:
2015-04-05 23:16:03
阅读次数:
245
首先,安装一个dconf-editor
然后在命令行打开它,找到
org -->gnome --> desktop --> interface
在interface 中找gtk-color-scheme ,像其中填入相应的值,
格式为项目名称:颜色名称;项目名称:颜色名称;
例如:tooltip_bg_color:#f2edbc; tooltip_fg_color :#000000;
...
分类:
系统相关 时间:
2015-04-05 01:16:21
阅读次数:
375
select count(*) from v$process --当前的连接数select value from v$parameter where name = 'processes' --数据库允许的最大连接数修改最大连接数:alter system set processes = 300 scope = spfile;重启数据库:shutdown immediate;startup;--查看...
分类:
移动开发 时间:
2015-04-04 16:47:19
阅读次数:
119
安装oracle时候在创建oracle用户后,切换oracle用户时,报如下错[root@localhost ~]# su - oracle-bash: ulimit: max user processes: cannot modify limit: Operation not permitted经...
分类:
其他好文 时间:
2015-04-03 00:06:59
阅读次数:
124
Nginx配置文件详细说明原文链接:原文在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络.#运行用户user www-data;#启动进程,通常设置成和cpu的数量相等worker_processes 1;#全局错误日志及PID文件error_log /var/lo...
分类:
其他好文 时间:
2015-04-02 13:17:43
阅读次数:
90
In the previous example we looked at spawning external processes. We do this when we need an external process accessible to running Go process. Someti...
分类:
其他好文 时间:
2015-04-01 14:58:08
阅读次数:
135
A line filter is a common type of program that reads input on stdin, processes it, and then prints some derived result to stdout. grep and sed are com...
分类:
其他好文 时间:
2015-03-31 14:13:53
阅读次数:
132
(select
bg.sysyear,
bg.orgontid,
bg.orgname,
bg.accvouchercode,
bg.accvouchername,
‘‘ as accvoucherprop
from gzyt_middle.beginningbalance bg
where bg.ledger = ‘02‘
and bg.sysyear = ‘2015‘)
union ...
分类:
数据库 时间:
2015-03-31 13:06:52
阅读次数:
429