编写shell脚本的时候。通过改变shell的显示颜色,不但可以改变使用shell终端的体验,并且更为有用的是,可以通过改变显示内容的颜色来区分正常输出。warning和error等不同关注级别的输出内容。 1、转义序列(Escape sequence) An escape sequence is ...
分类:
系统相关 时间:
2017-05-11 13:32:19
阅读次数:
252
Given two strings a and b of equal length, what’s the longest string (S) that can be constructed such that S is a child to both a and b. String x is s ...
分类:
其他好文 时间:
2017-05-11 13:31:29
阅读次数:
175
<IfModule mod_rewrite.c> Options +FollowSymlinks #新规则 #RewriteEngine On #QSA 映射 #RewriteRule 旧网址 新网址 [QSA] RewriteEngine On RewriteCond %{REQUEST_FILE ...
分类:
Web程序 时间:
2017-05-11 13:29:08
阅读次数:
192
canvas 里绘制的图形不是一个实体 DOM,所以要给每个绘制的图形添加事件操作比给 DOM 添加事件要复杂很多。 所以,我们需要使用一个 canvas 的 isPointInPath(x, y) 方法,来获取鼠标相对于浏览器的坐标,然后还需要计算出鼠标相对于 canvas 画布的坐标,最后通过 ...
分类:
其他好文 时间:
2017-05-11 11:48:05
阅读次数:
344
源代码解释: 1.依赖注入3个业务层接口:IUsersBll、IUsersRoleBll、IRoleBll,并初始化 2.CurrentUserId和CurrentUser 在父类MyController中实现(public class HomeController : MyController) ...
分类:
其他好文 时间:
2017-05-11 11:40:38
阅读次数:
221
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents 题目链接:http://codeforces.com/problemset/problem/445/A DZY loves chessboard, and he enjoys play ...
分类:
其他好文 时间:
2017-05-11 11:39:35
阅读次数:
194
字体 extundelete 恢复文件 pulseaudio ...
分类:
系统相关 时间:
2017-05-11 11:31:33
阅读次数:
197
1.基本参数 2.注入驱动连接数据库,zzz_form表进行name检索,关闭数据库 说明: 1.导入库 mysql-connector-java-5.1.42-bin.jar ...
分类:
数据库 时间:
2017-05-11 10:24:33
阅读次数:
165
针对 IE 的优化 有些时候,你需要对 IE 浏览器的 bug 定义一些特别的规则,这里有太多的 CSS 技巧(hacks),我只使用其中的两种方法,不 管微软在即将发布的 IE7 beta 版里是否更好的支持 CSS,这两种方法都是最安全的。 · 1.注释的方法 o (a)在 IE 中隐藏一个 C ...
分类:
其他好文 时间:
2017-05-11 10:24:26
阅读次数:
151
使用步骤: 使用步骤很简单 首先,下载datepicker97插件,然后在html上这么写就好辣 html: ...
分类:
其他好文 时间:
2017-05-11 10:22:01
阅读次数:
221