- 博客(24)
- 收藏
- 关注
转载 Android - adb shell input : Keyevent , tap , swipe
Desc :模拟事件全部是通过input命令来实现的,首先看一下input命令的使用:usage: input ... input text <string> input keyevent <key code number or name> input tap <x> <y> ...
2016-07-06 15:11:00
263
转载 Python Model : glob 文件路径查找
Desc : glob模块是最简单的模块之一,内容非常少。用它可以查找符合特定规则的文件路径名。跟使用windows下的文件搜索差不多。查找文件只用到三个匹配 符:”*”, “?”, “[]”。”*”匹配0个或多个字符;”?”匹配单个字符;”[]”匹配指定范围内的字符,如:[0-9]匹配数字。glob.glob 返回所有匹配的文件路径列表。它只有一个参数pathna...
2016-07-06 14:11:00
131
转载 Tools info
1 Chrome 收藏夹的 导出 导入 http://jingyan.baidu.com/article/d5c4b52bcd5c0ada560dc5da.html转载于:https://www.cnblogs.com/Nancy0401/p/5632383.html
2016-07-01 11:06:00
142
转载 Python class
1 类 新式类 : class Person : 经典类 : class Person(object) : class Person(object): def __init__(self, name, gender): self.name = name self.gender = g...
2016-06-30 16:05:00
91
转载 Life Info
生活 小常识 1 建设银行 查询 办卡网点 发送短信“khcx#银行卡号”到95533 2 转载于:https://www.cnblogs.com/Nancy0401/p/5627626.html...
2016-06-29 17:19:00
84
转载 Char 10 格式化及如何正确使用
Desc : 创建自己的命令的 输出格式1 格式化 : 让输出更加美观 输出定制格式的方式2 默认格式PS C:\windows\system32> echo $PSHOMEC:\windows\System32\WindowsPowerShell\v1.0 在 PowerShell 的安装路径下, *format...
2016-06-29 16:27:00
301
转载 Char 09 深入理解管道
Desc :1 管道 : 更少的输入, 更强大的功能2 PowerShell 如何传输数据给管道 Get-Content .\computers.txt | Get-Service 管道参数绑定 : Pipeline parameter binding PowerShell 将使用两种方法,将 Get-Content 的内容传递给 Get-S...
2016-06-20 16:43:00
112
转载 Char 08 对象: 数据的另一个名称
1 对象: Get-Process | ConvertTo-HTML PowerShell 中的 4 个术语: 1) 对象 : 【表行】,代表单个事物,比如:单个进程,单个服务 2) 属性 : 【表列】,代表对象的部分信息,比如 进程名称,Process ID 3) 方法 : 【行为】 ,方法与某个对象关联,并使得对象完成某些任务,比如杀死进程...
2016-06-20 16:16:00
150
转载 Char 07 扩展命令
Desc : 扩展 并 添加 插件 或者 添加 模块转载于:https://www.cnblogs.com/Nancy0401/p/5600200.html
2016-06-20 12:34:00
123
转载 Char 06 管道:连接命令
Desc : PowerShell 的 管道 ,类似于 Unix 中的 Shell1 Dir | More2 输出结果到 csv or html ] 1) Get-Process | Export-CSV process.csv 几乎可以把所有的 Get-Cmdlet 的 用管道输出到 CSV Notepad pr...
2016-06-20 12:31:00
134
转载 Visual Studio Usage
1 Visual Studio show Line Number click "Tools" --> "Options" --> "Line Numbers" 转载于:https://www.cnblogs.com/Nancy0401/p/5573774.html
2016-06-10 15:54:00
100
转载 Char 05 使用提供程序
1 提供程序 PowerShell 的 提供程序, 或者说是 PSProvider, 本质是一个 适配器 , 可以访问 某些 数据存储介质 , 并使得 存储介质,看起来,像一个 磁盘驱动器PS C:\windows\system32> Get-PSDriveName Used (GB) Free (GB) Provider ...
2016-06-10 11:39:00
113
转载 Char 04 运行命令
1 PowerShell 支持 两种 不同的 使用模式 ? 哪两种呢?? PowerShell 有能够够,访问 整个 .Net Framework 底层的 能力 PowerShell 不区分大小写2 PowerShell 术语 Cmdlet 是一个原生的PowerShell 命令行工具, 该术语仅存在于 PowerShell 和 类似的 .N...
2016-06-10 10:52:00
126
转载 Char 03 使用帮助系统
1 Command && Cmdlet PowerShell 包含了,很多 不同类型的 可执行命令, 有些叫做Cmdlet , 有些叫做函数, 还有一些叫做工作流,等等 ?? 他们,共同的特点是,都是命令, 帮助系统中,都对他们进行了展示, 每个 cmdlet 在 PowerShell 中,都是唯一的2 update-help , 确保,你 使用管理员...
2016-06-09 15:39:00
101
转载 char 02 初识 Powershell
1 powershell 图标 Windows Powershell Windows PowerShell(X86) Windows PowerShell ISE : 图形化控制台 Windows PowerShell ISE(X86)2 PowerShell 集成脚本环境 如果打开了 , 普通的控制台程序, 输入 i...
2016-06-09 14:49:00
129
转载 Char 01 PowerShell
Poweshell learn url : http://www.pstips.net/powershell-online-tutorials/ 自动化管理工具 powershell 32位 && 64 位 还是有很大差别,很多扩展程序,支持64 位, 建议使用 64 位的 powershell 依赖 .net framewor...
2016-06-09 14:28:00
67
转载 Linux Nginx
Linux Nginx InstallEnv : Redhathttp://nginx.org/en/linux_packages.html#mainlinecat << EOF > /etc/yum.repos.d/nginx.repo[nginx][nginx]name=nginx repo#baseurl=http://ng...
2016-05-31 11:30:00
105
转载 Linux SSLH
Liunx : use port [ 443] to access https && ssh 1 #!/usr/bin/env bash 2 3 set -e 4 [ -n "$DEBUG" ] && set -x 5 6 # check if user is root 7 if [ $(id -u) != "...
2016-05-31 11:27:00
212
转载 One QRcode , link another url
Desc : One QRCode , can accroding to user Agentdivision different platforms 1 var platform = " Unknow" 2 var desc = " Unknow" 3 4 var Terminal = { 5 platform :function(){...
2016-05-27 09:47:00
77
转载 AWS Note
https://it.slashdot.org/story/15/01/02/2342228/bots-scanning-github-to-steal-amazon-ec2-keysDon't send your access key to others .....转载于:https://www.cnblogs.com/Nancy0401/p/5522387.ht...
2016-05-24 09:49:00
64
转载 AWS S3 [ Simple Storage Service ]
Amazon S3 [ Simple Storage Service ]aws s3 helpaws s3api一、AWS S3 1、Managing Buckets High-levelaws s3commands support commonly used bucket operations, such as creating,...
2016-05-18 17:24:00
265
转载 Redis Install [ Windows && Linux ]
Redis Install一 Windows Installstep 1 : download redis https://github.com/MSOpenTech/redis/releasesstep 2 : modify redis.conf redis/bin/ redis-server : redis serv...
2016-05-18 17:22:00
79
转载 IOS -> cocoapodspod
参考 :http://blog.youkuaiyun.com/wzzvictory/article/details/18737437一、什么是CocoaPods1、为什么需要CocoaPods在进行iOS开发的时候,总免不了使用第三方的开源库,比如SBJson、AFNetworking、Reachability等等。使用这些库的时候通常需要:下载开源库的源代码并引...
2016-05-18 17:03:00
100
转载 Mac share directory
Link :http://jingyan.baidu.com/article/48206aeafd122a216bd6b34b.html1 现在Mac 系统中 打开 "系统偏好设置"2、 "共享" --》 文件共享 --》 Windows 设置, 添加用户名 , 设置 只读权限,还是?其他权限3、 将需要 共享的 文件,右击 --》 显示简介 --》 共...
2016-05-17 11:04:00
115
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人