码迷,mamicode.com
首页 >  
搜索关键字:os    ( 139979个结果
TortoiseGit 自动登录
在环境变量里添加Home=%USERPROFILE%在运行中打开%Home%在打开目录中新建文件_netrc,并保存以下内容machine git.oschina.netlogin usernamepassword password
分类:其他好文   时间:2014-06-18 21:14:56    阅读次数:207
iOS客户端流量统计
自己统计流量的话 需要判断是3G访问还是WIFI访问用 NSURLProtocol自定义一个这个累计DATA就是下行流量#include #include #include #include BOOL success; struct ifaddrs *addrs; const struc...
分类:移动开发   时间:2014-06-18 20:51:23    阅读次数:323
ios后台传输机制
http://www.appcoda.com/background-transfer-service-ios7/http://www.raywenderlich.com/51127/nsurlsession-tutorialhttps://developer.apple.com/library/io...
分类:移动开发   时间:2014-06-18 20:34:57    阅读次数:235
ios deployment target 由6.0改为7.0、7.1出现找不到c++库
原因 object c++ ios7.0/7.1不支持c++ 11,解决办法:C++ Standard Libraryis set tolibstdc++ (GNU c++ standard library)另一个问题:c++库怎样加入ios工程中,不用.mm文件?1.提供一个接口头文件只有不要有c...
分类:移动开发   时间:2014-06-18 20:18:50    阅读次数:254
如何用js得到当前页面的url信息方法(JS获取当前网址信息)
js中的路径问题:“/”这个指的是根目录"../"这个是上级目录设置或获取对象指定的文件名或路径。alert(window.location.pathname)设置或获取整个 URL 为字符串。alert(window.location.href);设置或获取与 URL 关联的端口号码。alert....
分类:Web程序   时间:2014-06-18 20:12:43    阅读次数:220
[MSDN]Windows 2012 emule
ed2k://|file|en_microsoft_hyper-v_server_2012_x64_dvd_915600.iso|1777246208|294FA6B4D6AA2B2987BE49F6C3EF52F7|/ed2k://|file|en_windows_server_2012_vl_x...
分类:Windows程序   时间:2014-06-18 19:57:04    阅读次数:695
boost.asio系列——Timer
同步Timerasio中提供的timer名为deadline_timer,它提供了超时计时的功能。首先以一个最简单的同步Timer为例来演示如何使用它。#include#includeintmain(){boost::asio::io_serviceio;boost::asio::deadline_...
分类:其他好文   时间:2014-06-18 19:52:34    阅读次数:169
ssh a host without input the password
$ vim /home/wangzheng/.ssh/configHost 10.103.xx.xx HostName 10.103.xx.xxUser root Port 22022 $ ssh 10.103.xx.xxThe authenticity of host '[10.103.xx...
分类:其他好文   时间:2014-06-18 19:26:03    阅读次数:161
Java缓存流
//缓存数据流 @Test public void testBufferReaderAndWriter() throws IOException{ //创建文件字符输入流 Reader in=new FileReader("abc.txt"); BufferedReader br=new Bu...
分类:编程语言   时间:2014-06-18 19:22:40    阅读次数:300
吉哥工作
1003吉哥系列故事——临时工计划已知吉哥一共有m天的假期,每天的编号从1到m,一共有n份可以做的工作,每份工作都知道起始时间s,终止时间e和对应的工资c,每份工作的起始和终止时间以天为单位(即天数编号),每份工作必须从起始时间做到终止时间才能得到总工资c,且不能存在时间重叠的工作。比如,第1天起始...
分类:其他好文   时间:2014-06-18 19:15:20    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!