首页 > 2014年11月19日 > 全部分享
nodejs Error: ENOENT, stat 'C:\Users\T440P\AppData\Roaming\npm'
在执行npm 命令时候,例如npm install 出现了错误nodejs Error: ENOENT, stat ‘C:\Users\T440P\AppData\Roaming\npm‘解决办法:手动在C:\Users\T440P\AppData\Roaming\npm 建立 npm 文件夹,如下...
分类:移动平台   时间:2014-11-19 20:16:54    收藏:0  评论:0  赞:0  阅读:509
c++ why can't class template hide its implementation in cpp file?
类似的问题还有: why can't class template use Handle Class Pattern to hide its implementation? || why there are linker problems (undefined reference) to my cl...
分类:编程语言   时间:2014-11-19 20:16:44    收藏:0  评论:0  赞:0  阅读:264
asp.net 之 GC (垃圾回收机制)
今天抽时间好好整理了下GC相关知识,看了CSDN和博客园的几篇文章,有了一定的简单了解,特整理一份。提到GC,与托管代码和非托管代码密不可分。1.托管代码:无需也无法人为干预内存回收工作的代码,会自动调用GC进行垃圾回收,我们日常所写的研发程序代码大多数都是分托管代码,没有终结器(Finalize)...
分类:Web开发   时间:2014-11-19 20:16:34    收藏:0  评论:0  赞:0  阅读:244
JSON解析之Json-lib
1.Json-lib介绍 Json-lib是一个java类库,它用于把beans, maps, collections, java arrays and XML 传递给一个Json,或者返回来把Json来传递beans, maps, collections, java arrays and XML....
分类:Web开发   时间:2014-11-19 20:16:24    收藏:0  评论:0  赞:0  阅读:322
Same Tree 深度优先
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:其他   时间:2014-11-19 20:16:14    收藏:0  评论:0  赞:0  阅读:252
JavaMail学习笔记
适逢计算机网络课程设计,本着挑战自己的态度,选择了一个从未接触的东西:邮箱客户端代理软件的设计。由于对相关协议非常陌生,只能依靠查找资料完成,在学习过程中碰到了一个非常好的博客,故向大家推荐一下。 一 JavaMail学习笔记1——JavaMail基础知识 链接:http://blog.csdn.....
分类:编程语言   时间:2014-11-19 20:16:04    收藏:0  评论:0  赞:0  阅读:226
怎么将控制台的打印输出到文本文件中
Console.WriteLine("Hello World"); FileStream fs1 = new FileStream("Test.txt", FileMode.Create); // First, save the standard output. TextWriter tmp ...
分类:其他   时间:2014-11-19 20:15:54    收藏:0  评论:0  赞:0  阅读:322
Symmetric Tree 深度优先搜索
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:其他   时间:2014-11-19 20:15:44    收藏:0  评论:0  赞:0  阅读:263
字符串 练习
//将“?文艺?青年”改成“213?青年”。 NSString *str = @"文艺青年"; NSString *str1 = [str stringByReplacingOccurrencesOfString:@"文艺" withString:@"213"]; NSLog(@"%@",str1....
分类:其他   时间:2014-11-19 20:15:34    收藏:0  评论:0  赞:0  阅读:262
【视频教学】如何利用高德地图IOS SDK进行开发?
Step1:使用IOS SDK可以做什么高德地图 iOS SDK 是一套基于 iOS 5.1.1 及以上版本的地图应用程序开发接口。通过该接口,用户可使用高德地图数据和服务轻松构建功能丰富、交互性强的地图应用。地图 iOS SDK 不仅包含构建地图的基本接口,还提供了诸如本地搜索、路线规划、公交搜索...
分类:移动平台   时间:2014-11-19 20:15:24    收藏:0  评论:0  赞:0  阅读:300
Struts2页面开发中常用标签使用说明
1.Struts2页面开发中常用标签使用说明1.1.往action里传值的使用方式: a.userName属性需要在访问的action中提供相应的属性,并有SET/GET方法。b.可以不在访问的action中提供相应的属性,用request. getParameter_r(“userName”);....
分类:其他   时间:2014-11-19 20:15:14    收藏:0  评论:0  赞:0  阅读:255
数组查找
现在有数组 Array = [arr0 , arr1...], 传入参数 keyvalues = {key1: value1 , key2: value2 ...}, 在数组中查找 arri = { keyvalues , ...} ,找到 1/**2*verifyifobjhaspropertyo...
分类:编程语言   时间:2014-11-19 20:15:04    收藏:0  评论:0  赞:0  阅读:231
二叉堆
二叉堆我们知道堆栈是一种LIFO(后进先出)结构,队列是一种FIFO(先进先出)结构,而二叉堆是一种最小值先出的数据结构,因此二叉堆很适合用来做排序。二叉树的性质:二叉堆是一棵完全二叉树,且任意一个结点的键值总是小于或等于其子结点的键值,二叉堆采用数组来存储(按广度优先遍历的顺序),而没有像普通的树...
分类:其他   时间:2014-11-19 20:14:54    收藏:0  评论:0  赞:0  阅读:411
【Javascript】重新绑定默认事件
在有一种场景下,你想先屏蔽掉默认的系统事件,而在特定条件下又重新绑定回去。本文提供了原生和jQuery的解决方案,不得不承认,有jQuery的日子才是好日子。^_^
分类:编程语言   时间:2014-11-19 20:14:44    收藏:0  评论:0  赞:0  阅读:316
NSEnumerator用法小结
NSEnumerator用法小结 NSLog(@"Hello, World!"); NSDictionary *myDic=[[NSDictionary alloc]initWithObjectsAndKeys:@"张三",@"name",@"李四",@"name", nil]; ...
分类:编程语言   时间:2014-11-19 20:14:34    收藏:0  评论:0  赞:0  阅读:311
Ubuntu/CentOs 搭建SVN服务器
安装CentOS : yum install subversionUbuntu: sudo apt-get install subversion查看Subversion版本:使用“svn --version”查看程序的版本号和版本库访问模块,或者使用“svn --version --quiet”只查...
分类:系统服务   时间:2014-11-19 20:14:14    收藏:0  评论:0  赞:0  阅读:298
Path Sum 深度搜索
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:其他   时间:2014-11-19 20:14:04    收藏:0  评论:0  赞:0  阅读:254
自己手动绿色化MyEclipse
绿化过程因每个人的文件存放路径不同而不同首先打开你解压的MyEclipse文件,或者以前安装的MyEclipse重装系统后不能用,打开到这里:记住路径,比如我的是:D:\MyEclipse我们打开MyEclipse,会弹出对话框这就是没有绿化的缘故,现在我们开始绿化MyEclipseMyEclips...
分类:系统服务   时间:2014-11-19 20:13:44    收藏:0  评论:0  赞:0  阅读:246
ExecutorService线程池
ExecutorService 建立多线程的步骤:1。定义线程类class Handler implements Runnable{}2。建立ExecutorService线程池ExecutorService executorService = Executors.newCachedThreadPo...
分类:编程语言   时间:2014-11-19 20:13:34    收藏:0  评论:0  赞:0  阅读:318
操作数据表中的记录
插入记录 语法:INSERT [INTO] [(tbl_name,...)] {VALUE|VALUE} ({expr|DEFAULT},...),(...),... 例子: 给所有的列都插入数据 INSERT student VALUES('1','Tom','123') ...
分类:其他   时间:2014-11-19 20:13:24    收藏:0  评论:0  赞:0  阅读:167
2580条   上一页 1 ... 22 23 24 25 26 ... 129 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!