码迷,mamicode.com
首页 >  
搜索关键字:power shell adac    ( 31279个结果
android adb常用命令
1.adb--- 截取屏幕的命令  :adb shell screencap -p | sed 's/\r$//' > outputs.png 2.jni ---命令    :$NDK/ndk-build 3. adb 启动程序:adb shell am start -n 包名/程序Activity类的类名(main) adb 安装程序: adb install  + 路径 ...
分类:移动开发   时间:2014-06-19 10:17:59    阅读次数:263
EF - 基础语法
1. 创建实体类 -> 使用 ef Power Tool2. 创建连接 -> 查询数据 -> 操作using (TestContext context = new TestContext()) { foreach (Model m in conte...
分类:其他好文   时间:2014-06-16 10:33:19    阅读次数:353
EF - 问题集
1. VS2010 创建 实体数据模型 报错如图,目前还未找到解决方案,可能是某个配置有问题,替换方案,使用 ef Power Tool2. 未处理NotSupportedExceptionList modelList = context.WaitingReplies.Where(w => w.Ag...
分类:其他好文   时间:2014-06-16 09:31:52    阅读次数:175
linux 读取部分文件内容
一般我们在linux上读取文件,是用vi工具,如果是写shell 脚本时,一般式通过cat 再 使用管道来达到流的处理。但如果文件太大,单纯的cat 可能会使用过多的内存,而且实现上还需要后续的加工,不大可取。下面我分享两个方法来读取部分文件。方法一sed -n "10,20p" /opt/chen...
分类:系统相关   时间:2014-06-16 07:23:20    阅读次数:308
linux shell pushd popd dirs命令
1、dirs1)功能显示当前目录栈中的所有记录(不带参数的dirs命令显示当前目录栈中的记录)2)语法(1)格式:dirs [-clpv] [+n] [-n](2)选项-c 删除目录栈中的所有记录-l 以完整格式显示-p 一个目录一行的方式显示-v 每行一个目录来显示目录栈的内容,每个目录前加上的....
分类:系统相关   时间:2014-06-16 06:06:19    阅读次数:613
linux shell wc 命令
1. 语法与选项Short OptionLong OptionOption Description-c–bytesprint the byte counts-m–charsprint the character counts-l–linesprint the newline counts–files...
分类:系统相关   时间:2014-06-16 00:46:11    阅读次数:509
JAVA调用SHELL事例
以往一直都是crontab+shell调用java程序,最近需要反过来,使用java调用shell程序,实现定时管理,今天总结一下。基础内容:java的java.lang.Runtime类提供了exec静态方法,可以执行本地脚本程序事例:package study;import java.io.In...
分类:编程语言   时间:2014-06-13 18:15:21    阅读次数:321
shell脚本打包ipa
参考:ipa自动打包脚本 :http://webfrogs.me/2013/02/18/ios-automation/1、从以上链接中跳至GitHub下载打包所需的shell脚本文件夹2、打开终端cd到shell文件所在的绝对路径,格式如下cd shell文件夹所在绝对路径3、键入一下命令执行脚本....
分类:其他好文   时间:2014-06-13 14:48:03    阅读次数:281
how to execute-shell-commands by ruby
Execute shell commandsThere are a number of different ways to run shell commands from Ruby.TheexeccommandKernel#execreplaces the current process and r...
分类:其他好文   时间:2014-06-12 06:50:15    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!