上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 91 下一页
  2013年10月17日
摘要: 这里先给一个处理时间格式的代码:/*** 时间的处理** @param time* @return*/public static String getTimeFromInt(int time) { if (time = 10 ? String.valueOf(million) : "0" + String.valueOf(million); return f + ":" + m; } 下面是:滑动条控制代码: bar = (SeekBar) findViewById(R.id.seekBar); bar.setOnSeekBarChangeListene 阅读全文
posted @ 2013-10-17 10:25 我的小人生 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 打开ADUC,将用户添加到 csadministrator 组中:打开前端服务器,点开控制面板:输入用户名密码:我们Review 当前拓扑状况:接下来我们启用用户账户,点击启用账户:点击添加账户:点击搜索,为搜索出来的账户启用·Lync:选择需要启用的用户后点击确定:选择生成机制后点击启用:用户生成完成,说明前端工作比较正常,接下来安装其他角色: 阅读全文
posted @ 2013-10-17 10:20 我的小人生 阅读(394) 评论(0) 推荐(0) 编辑
摘要: springMVC处理流程如下:通过配置DispacherServlet拦截指定的url,让后经HanddlerMapping来决定调用我自定义的Controller,在Controller中经过业务处理后,返回ModelAndView,包含数据模型和视图,经过ViewResovler视图解析器解析后,返回相应的结果。实例如下:①创建一个web工程,配置服务器,导入相关的jar包。②配置web.xml文件。如下: dispatcherServlet org.springframework.web.servlet.DispatcherServlet 指定... 阅读全文
posted @ 2013-10-17 10:19 我的小人生 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1、list can hold arbitrary objects and can expand dynamically as new items areadded.A listis an ordered set of items. 2、A tuple is an immutablelist. A tuple can not be changed in any way once it is created. 3、A set is an unordered“bag” of uniquevalues. A single set can contain valu... 阅读全文
posted @ 2013-10-17 10:15 我的小人生 阅读(327) 评论(0) 推荐(0) 编辑
  2013年10月16日
摘要: DescriptionYou haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is to ask for the sum of numbers in a given interval.InputThe first line contains two numbersNandQ. 1 ≤N,Q≤ 1000 阅读全文
posted @ 2013-10-16 13:41 我的小人生 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Service简介Service是Android系统中的四大组件之一,它是一种长生命周期的,没有可视化界面,运行于后台的一种服务程序。Service必须在AndroidManifest.xml中声明。Service有自己的生命周期,可以使用startService()启动一个Service或使用bindService()方法绑定一个已经存在的Service。 Service作用比如我们播放音乐的时候,有可能想边听音乐边干些其他事情,当退出播放音乐的应用,如果不用Service,我们就听不到歌了,所以这时候就得用到Service了。 Service的生命周期 Service的生命周期没有Acti 阅读全文
posted @ 2013-10-16 13:38 我的小人生 阅读(226) 评论(0) 推荐(0) 编辑
摘要: DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.InputInput consists of up to 100,000 dictionary entries, followed by a blank line, followed by a message 阅读全文
posted @ 2013-10-16 13:34 我的小人生 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 一、整体代码 Singleton.javapublic class Singleton { private static Singleton uniqueInstance; // other useful instance variables here private Singleton() {} public static synchronized Singleton getInstance() { if (uniqueInstance == null) { uniqueInstance = new Singleton(); } return uniqueInstanc... 阅读全文
posted @ 2013-10-16 13:27 我的小人生 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Mahout版本:0.7,hadoop版本:1.0.4,jdk:1.7.0_25 64bit。 经过了SimilarityJob的计算共生矩阵后,就可以开始下面一个过程了,这个过程主要是共生矩阵的乘法,要说这个共生矩阵的乘法是啥意思?我也不是很清楚,不清楚就看代码呗。首先明确共生矩阵,即共生矩阵的输入文件(也是上面个SimilarityJob的输出文件):similarityMatrix================= {102={101:0.14201473202245876,106:0.14972506706560876,105:0.14328432723886902,104:0.12. 阅读全文
posted @ 2013-10-16 13:23 我的小人生 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 制作“非常PHP学习网”花了国庆整个假期,其实是从电脑学习网(http://www.why100000.com,域名刚续费)改写盗版而来的。 起初主要修改界面布局和颜色花费了大量时间(好像制作网站80%的时间都是在整界面?),但是在域名备案的等待时间里,优化和除虫、完善花费的时间更多。可见网站绝对不要贸然上线,特别是SEO工作,稳定不了绝对不要上线,要是因为频繁修改被搜索引擎误认为作弊,就十分不划算了。 “非常PHP学习网”域名是 http://www.veryphp.cn,中国的PHP中文学习门户。首页 title 是:非常PHP学习网 - 专注PHP技术的学习分享平台。 本站的PHP资讯. 阅读全文
posted @ 2013-10-16 13:20 我的小人生 阅读(297) 评论(0) 推荐(0) 编辑
上一页 1 ··· 78 79 80 81 82 83 84 85 86 ··· 91 下一页