设置文件字符编码:
内部样式表:
hr {color: sienna;}
p {margin-left: 20px;}
body {background-image: url("images/back40.gif");}
外联样式表:
html内部编写js:
外联js:...
分类:
Web程序 时间:
2014-11-02 19:40:53
阅读次数:
153
用于链接,传值。本段中,{:U}方法第一个参数为要导航的页面,导航页面为本模块下时仅写出页面名,别的模块下时写 ModelName/PageName;第二个参数为传值,显示结果如下:
分类:
Web程序 时间:
2014-11-02 16:16:52
阅读次数:
353
GiFHUDprogress hud for displaying only animated gif images. no labels (for now)状态指示器,仅仅用来显示gif图片,不能添加label(目前为止)Demo - 示例Usage - 使用Copy & paste the Gi...
分类:
其他好文 时间:
2014-11-01 23:00:30
阅读次数:
275
一大早打开U盘发现无法保存文档,继而弹出目录损坏的窗口,要求格式化。现提供解决方法:1.窗口左下方windows键,输入框输入chkdsk F: /f,这里F代表U盘名为F,根据具体情况写。2.回车,等待20秒。成功修复。
分类:
其他好文 时间:
2014-10-31 11:20:49
阅读次数:
187
第一种:采用系统的api直接使用:
ContentResolver cr = getContentResolver();
String url = MediaStore.Images.Media.insertImage(cr, bmp,
String.valueOf(System.currentTimeMillis()), "");
但是,这种方式必须得刷新图库:
s...
分类:
其他好文 时间:
2014-10-31 10:11:35
阅读次数:
288
n# 2014/09/02 安装 CentOS 7 ## 网络配置 CentOS 7 安装完成后,网络不可以。CentOS 7 网络配置和 6 有些不同。CentOS 7 虚拟机安装完成后有一个随机的网卡,在我这叫 `ens35`。静态 IP 没有配置成功。简单的启用...
分类:
其他好文 时间:
2014-10-30 19:28:06
阅读次数:
253
docker默认使用bridge模式,通过网桥连接到宿主机,而容器内部的ip则从网桥所在的ip段取未用的ip。这样做一个不方便的地方在于容器内部的ip不是固定的,想要连接容器时只能通过映射到宿主机的端口,因而有很多项目使用overlay来为docker提供网络的配置,比如Pipework、Flann...
分类:
其他好文 时间:
2014-10-30 18:39:55
阅读次数:
453
Thedocker registryis bursting at the seams. At the time of this writing, a search for "node" gets just under 1000 hits. How does one choose?What const...
分类:
其他好文 时间:
2014-10-30 16:50:48
阅读次数:
249