码迷,mamicode.com
首页 >  
搜索关键字:powershell core    ( 20546个结果
gdb调试笔记
如果遇到Segmentation fault类型的错误,就比需用到gdb调试了具体步骤如下:1.生成core文件用于调试:ulimit -c unlimited2.运行有问题的程序生成的可执行文件比如:./main,运行结束会发现core文件生成了Segmentation fault (core d...
分类:数据库   时间:2014-05-08 17:43:18    阅读次数:380
iOS文档序列化(对象归档)
对象归档: 概念: 对象归档是指将对象写入文件保存在硬盘,当再次重新打开程序时,可以还原这些对象。也称:对象序列化、对象持久化。 数据持久性的方式(其实就是3类) 1,NSKeyedArchiver——对象归档 2,NSUserDefaults  3,属性列表  4,SQLite数据库  5,Core Data数据库 归档方式: 对Foundation库中对象进行归...
分类:移动开发   时间:2014-05-08 17:25:23    阅读次数:394
POJ 3469 Dual Core CPU 最大流
划分成两个集合使费用最小,可以转成最小割,既最大流。//#pragma comment(linker, "/STACK:1024000000,1024000000")#include#include#include#include#include#include#include#include#in...
分类:其他好文   时间:2014-05-08 14:23:18    阅读次数:281
iOS Core Animation: CALayer bringSublayerToFront?
-(void) bringSublayerToFront:(CALayer*)layer{[layer removeFromSuperlayer];[self insertSublayer:layer atIndex:[self.sublayers count]-1];}-(void) sendSu...
分类:移动开发   时间:2014-05-08 14:01:24    阅读次数:386
How to build windows azure PowerShell Source Code
Download any version source code of Windows Azure Powershell from https://github.com/Azure/azure-sdk-tools/releases Downdload Wix ToolSet from http://...
分类:Windows程序   时间:2014-05-08 11:28:55    阅读次数:518
Linux下获得CPU的信息
1、查看物理cpu个数 cat /proc/cupinfo |grep 'physical id'|sort|uniq|wc -l 2、查看一个cpu的物理核数 cat /proc/cupinfo |grep 'core id'|sort|uniq -c|wc -l 或 cat /proc/cupinfo |grep 'cpu cores'|uniq|awk -F ":" '{print...
分类:系统相关   时间:2014-05-08 04:07:55    阅读次数:483
[Nagios] Error: Template 'timman' specified in contact definition could not be not found (c
Check nagios配置文件报错如下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.6Copyright (c) 2009-present Nagios Core Development Team and Community Contributor...
分类:移动开发   时间:2014-05-07 15:47:14    阅读次数:449
poj 3469
Dual Core CPUTime Limit:15000MSMemory Limit:131072KTotal Submissions:18120Accepted:7818Case Time Limit:5000MSDescriptionAs more and more computers are...
分类:其他好文   时间:2014-05-07 13:35:17    阅读次数:227
myeclipse取消js校验
推荐方法1,效果最好方法1:找到在项目路径下面的.project文件中配置了一些验证信息. 去掉以下几行即可 org.eclipse.wst.jsdt.core.javascriptValidator 和org.eclipse.wst.jsdt.core.jsNature方法2:选中当前工程...
分类:Web程序   时间:2014-05-07 13:24:54    阅读次数:531
命令返回值
在powershell下,上一条命令的返回值通过$LASTEXITCODE 得出,如xcopy,robocopy等的返回值。在cmd下,上一条命令的返回值通过 %errorlevel%得出xcopy的退出码:0文件复制没有错误。1没有找到要复制的文件。2用户按CTRL+C终止了xcopy。4出现了初...
分类:其他好文   时间:2014-05-07 02:30:27    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!