#!/bin/bashecho "Bash version ${BASH_VERSION}"for i in {0..10..2}doecho "Wellcom $i times"doneecho "echo 'netstat -anf | grep 8080'"for ((c=1;c<=5;c++...
分类:
其他 时间:
2015-02-12 15:55:31
收藏:
0 评论:
0 赞:
0 阅读:
236
这是我在别处看到的一篇文章,希望有关专业人士能够解答我心中的疑问。 ---------------- 电子控制系统作为系统控制的核心,控制小到家用电器,大到汽车,飞机的运行,是一切工业制品的核心。 虽然看似中国出了很多大型高科技企业,如海尔,华为之类的,每年也出口很多的电子产品。但是作为电子控...
分类:
其他 时间:
2015-02-12 15:54:49
收藏:
0 评论:
0 赞:
0 阅读:
281
题意:给出一个三维坐标的牢,给出起点st,给出终点en,问能够在多少秒内逃出。学习的第一题三维的广搜@_@过程和二维的一样,只是搜索方向可以有6个方向(x,y,z的正半轴,负半轴)另外这一题的输入的方式还要再多看看--@_@--#include #include #include #inclu...
分类:
其他 时间:
2015-02-12 15:54:19
收藏:
0 评论:
0 赞:
0 阅读:
283
Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointe...
分类:
其他 时间:
2015-02-12 15:54:09
收藏:
0 评论:
0 赞:
0 阅读:
217
记录了一次利用Wireshark解决网络通信问题的过程
分类:
其他 时间:
2015-02-12 15:53:59
收藏:
0 评论:
0 赞:
0 阅读:
393
iScroll是我们在做手机网页中常用的滑动控件之一。单说其功能已相当丰富。单个别时候存在一定的缺陷。正好这次就遇上了。在android的app中嵌入网页时不少手机会出现一次点击两次触发的现象。经过一段时间的折腾,总算想到了一个还算合理的解决放案。 之前也看了很多朋友的文章里有讲这个。比如使用...
分类:
其他 时间:
2015-02-12 15:52:59
收藏:
0 评论:
0 赞:
0 阅读:
305
执行stop-dfs.sh脚本,出现以下提示:1 Stopping namenodes on [Master]2 Master: no namenode to stop3 SlaveA: no datanode to stop4 SlaveB: no datanode to stop5 SlaveC...
分类:
其他 时间:
2015-02-12 15:52:29
收藏:
0 评论:
0 赞:
0 阅读:
266
最近做web app项目做到心血来潮,有太多经验想记录,太多细节想分享。今日把使用iscroll4 一直困扰了很久的问题研究解决了,很高兴决定把使用的心得写出来,方便大家参考,不要再走太多的弯路。iscroll4 是一款针对web app使用的滚动控件,它可以模拟原生IOS应用里的滚动列表操作,虽然...
分类:
其他 时间:
2015-02-12 15:47:09
收藏:
0 评论:
0 赞:
0 阅读:
325
建立一个gulpfile.js文件,内容直接抄gulp-htmlmin的readme:vargulp = require('gulp');varhtmlmin = require('gulp-htmlmin');gulp.task('minify', function() {gulp.src('sr...
分类:
其他 时间:
2015-02-12 15:45:52
收藏:
0 评论:
0 赞:
0 阅读:
446
Time Limit:1000MS Memory Limit:102400KB 64bit IO Format:%I64d & %I64Description Mr Wang wants some boys to help him with a project. Because the proje....
分类:
其他 时间:
2015-02-12 15:45:42
收藏:
0 评论:
0 赞:
0 阅读:
238
真机调试过程中弹出这个问题,网上找到的解决的方法,记录一下。。。。。弄完这些步骤之后,上面多出一个 IOS disturbution。所以出现这个问题的解决办法应该是设置的证书没有刷新到本地所致。
分类:
其他 时间:
2015-02-12 15:45:09
收藏:
0 评论:
0 赞:
0 阅读:
164
query = new query('Query name'); queryBuildDataSource = query.dataSourceTable(tableNum('table name')); queryBuildDataSource.clearRange(fieldNum('Table...
分类:
其他 时间:
2015-02-12 15:43:30
收藏:
0 评论:
0 赞:
0 阅读:
303
定义:Defined an interface for creating an object,but let subclasses decide which class to instantiate.Factory Method let a class defer instantiation to ...
分类:
其他 时间:
2015-02-12 15:43:09
收藏:
0 评论:
0 赞:
0 阅读:
292
遍历string:1for(string::iterator it=str.begin(); it!=str.end(); it++2 cout<<*it;或者1for(inti=0; i<str.length(); i++)2 cout<<str.at(i);substr:s=s.subs...
分类:
其他 时间:
2015-02-12 15:42:59
收藏:
0 评论:
0 赞:
0 阅读:
254
1Hadoop中各工程包依赖简述 Google的核心竞争技术是它的计算平台。Google的大牛们用了下面5篇文章,介绍了它们的计算设施。 GoogleCluster: http://research.google.com/archive/googlecluster.html Chubby:ht...
分类:
其他 时间:
2015-02-12 15:42:49
收藏:
0 评论:
0 赞:
0 阅读:
304
还是直接贴代码了。第一步:@interface TodoViewController (){ //声明一个数组 存放cell的信息 NSMutableArray *grouparr;}@end第二步://将cell的状态存入数组中-(void)initDataSource{ N...
分类:
其他 时间:
2015-02-12 15:42:39
收藏:
0 评论:
0 赞:
0 阅读:
329
刷完了数学专题,感觉思维量有些大,同时也对浮点数的运算有些接触。最重要的还是感觉有时候题目读起来有些吃力,需要借助中文翻译。UVaOJ 113这道题目是集训的时候第一天晚上的题目,据说可以double解决,当时没有AC。现在重新做了一遍,需要注意的是最后输出的结果一定要转换成int,否则会WA。同时...
分类:
其他 时间:
2015-02-12 15:42:09
收藏:
0 评论:
0 赞:
0 阅读:
294
1 # sys 2 import os 3 from datetime import datetime 4 from string import maketrans, lowercase 5 from hashlib import md5 6 # thirdparty 7 #self progra....
分类:
其他 时间:
2015-02-12 15:41:29
收藏:
0 评论:
0 赞:
0 阅读:
293
-- We should create a date dimension table in the databaseCREATE TABLE dbo.DimDates ( [DateKey] int NOT NULL PRIMARY KEY IDENTITY, [Date] datetime NO....
分类:
其他 时间:
2015-02-12 15:40:59
收藏:
0 评论:
0 赞:
0 阅读:
320
前段时间在项目里遇到了一个比较头疼的问题,就是高版本的Safari中默认会阻止第三方cookie,这使得使用Safari浏览器的用户无法按照正常的业务逻辑进行操作。问题展现知识点什么是第三方cookie呢?在访问一个网站A时,网站A算作第一方,如果网站A中引用了另一个网站B(网站B的域名与网站A的域...
分类:
其他 时间:
2015-02-12 15:39:19
收藏:
0 评论:
0 赞:
0 阅读:
266