#!/bin/bash #判断命令行是否代带有两个文件名的参数 if [ "$1" = "" ] || [ "$2" = "" ] then echo "Please enter file name" exit 1 fi #判断目标文件是否存在 if [ -e $2 ] then echo "...
分类:
其他好文 时间:
2014-07-16 22:59:29
阅读次数:
153
定义和用法encodeURI() 函数可把字符串作为 URI 进行编码。[通用资源标识符(Uniform Resource Identifier, 简称"URI")]语法encodeURI(URIstring)参数描述URIstring必需。一个字符串,含有 URI 或其他要编码的文本。返回值URI...
分类:
其他好文 时间:
2014-07-11 18:27:37
阅读次数:
190
做WPF项目时遇到不同进程读取同一个路径的图片,提示图片资源正在被另一个进程使用。string path="c:\\1.png";BitmapImage bp = new BitmapImage(new Uri(path, UriKind.Relative));这时候不同进程用bp是会报错,异常的根...
通过用手机的浏览器(内置,第三方都可)访问一个网页,实现点击一个链接启动自己的应用,并传递数据。...
分类:
移动开发 时间:
2014-07-10 21:07:52
阅读次数:
240
1、远程查询进程: tasklist [/S system [/U username [/P [password]]]] [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH] 如:tasklist /S domain /U d...
原文地址:https://hsivonen.fi/doctype/In order to deal both with content written according to Web standards and with content written according to legacy pr...
分类:
其他好文 时间:
2014-07-08 21:51:26
阅读次数:
539
SICP 并不是一本授人以技的书,但,却是一本授人以道的书,
其实不管用不用 scheme,SICP 都是一本值得看的书,
能感觉出作者是个很细心,用心良苦的老师,而且,我想作者应该也是个慈父吧。...
分类:
其他好文 时间:
2014-07-08 17:45:40
阅读次数:
186
extundeleteext3/ext4文件系统上找回被删除的文件或者文件夹的工具选项:--afterdtimeOnlyprocessentriesdeletedonorafter‘dtime‘.--beforedtimeOnlyprocessentriesdeletedbefore‘dtime‘.以s为单位--restore-inodeino根据指定节点恢复,通过ls-i来查看文件的节点号--restore-fi..
分类:
其他好文 时间:
2014-07-08 12:07:49
阅读次数:
224
单分支if语句if判断条件;then
statement1
statement2
fi双分支if语句if判断条件;then
statement1
statement2
……
else
statement3
statement4
……
fi多分支if语句if判断条件1;then
statement1
statement2
……
elif判断条件2;then
statement3
statement4
……
elif判断条件3;..
分类:
其他好文 时间:
2014-07-08 08:30:58
阅读次数:
166
0x0 引言
我们知道,在Android上的Intent-based攻击很普遍,这种攻击轻则导致应用程序崩溃,重则可能演变提权漏洞。当然,通过静态特征匹配,Intent-based的恶意样本还是很容易被识别出来的。
然后,最近出现了一种基于Android Browser的攻击手段——Intent scheme URLs攻击。这种攻击方式利用了浏览器保护措施的不足,通过浏览器作为桥梁间接实...
分类:
移动开发 时间:
2014-07-06 09:05:56
阅读次数:
219