首页 > 其他
XML 序列化与反序列化
我们需要在XML与实体类,DataTable,List之间进行转换,下面是XmlUtil类. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; ...
分类:其他   时间:2015-11-01 06:52:04    收藏:0  评论:0  赞:0  阅读:234
[Angular 2] Exposing component properties to the template
Showing you how you can expose properties on your Controller to access them using #refs inside of your template.// letterSelect.tsimport {Component, V...
分类:其他   时间:2015-11-01 06:51:54    收藏:0  评论:0  赞:0  阅读:253
[Angular 2] ng-model and ng-for with Select and Option elements
You can use Select and Option elements in combination with ng-for and ng-model to create mini-forms that change your data as you make a selection./** ...
分类:其他   时间:2015-11-01 06:51:44    收藏:0  评论:0  赞:0  阅读:230
[Angular 2] Pipe Purity
Explaining how Pipes only change by default when your Pipe input parameters change and not when your data changes. It also shows you how to make an “u...
分类:其他   时间:2015-11-01 06:51:34    收藏:0  评论:0  赞:0  阅读:267
老李分享:性能优化的境界
这篇文章是关于网站性能优化体验的,性能优化是一个复杂的话题,牵涉的东西非常多,我只是按照我的理解列出了性能优化整个过程中需要考虑的种种因素。点到为止,包含的内容以浅显的介绍为主,如果你有见解能告知我那再好不过了。无论如何,希望阅读它的你有所收获。我眼中的网站性能问题都反映了一个网站的“Availa....
分类:其他   时间:2015-11-01 06:51:15    收藏:0  评论:0  赞:0  阅读:223
centos6.5下安装svn并且实现多项目管理配置方案
#安装SVN服务器yum install subversion#在home下创建svn根目录mkdir /home/svn#在 /home/svn下创建pro1 , pro2, pro3 三个项目文件夹,这三个文件夹要存放不同项目的SVN版本库。#在 /home/svn中创建 CodeAuth .....
分类:其他   时间:2015-11-01 06:51:07    收藏:0  评论:0  赞:0  阅读:232
C编程风格.
C语言编程风格.关于编程风格,不同书上有不同规范,不同公司都有自己的一套定义.根据自己的编程习惯做个简要说明.1.变量定义在定义变量时,前缀使用变量的类型,之后使用表现变量用途的英文单词或单词缩写,且每个单词或缩写的首字母大写.无符号变量使用u...
分类:其他   时间:2015-11-01 06:50:54    收藏:0  评论:0  赞:0  阅读:245
Struts2安装
所用软件1.下载并安装myeclipsehttp://pan.baidu.com/s/1c0xkGy0MyEclipse2014创建web项目时,默认是不创建web.xml文件的,所以我们创建web项目命名完项目名后要按Next,然后勾选Generate web.xm2.下载strutshttp:/...
分类:其他   时间:2015-11-01 06:50:24    收藏:0  评论:0  赞:0  阅读:238
Docker无法启动 Could not find a free IP address range for interface 'docker0' 最方便的解决办法
阿里云的CentOS 6.5上安装Docker会无法启动,如果直接运行docker -d会看到错误提示:Could not find a free IP address range for interface ‘docker0‘.原因就是docker自动尝试的建立bridge的ip段正好被阿里云的路...
分类:其他   时间:2015-11-01 06:50:04    收藏:0  评论:0  赞:0  阅读:518
HDU 4791 Alice's Print Service (2013长沙现场赛,二分)
Alice's Print ServiceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1855Accepted Submission(s): 4...
分类:其他   时间:2015-11-01 06:49:54    收藏:0  评论:0  赞:0  阅读:272
QP之QF原理
1.QP简介:量子平台(Quantum Platform, 简称QP)是一个用于实时嵌入式系统的软件框架,QP是轻量级的、开源的、基于层次式状态机的、事件驱动的平台。QP包括事件处理器(QEP)、轻量级的事件驱动框架(QF)、任务调度微内核(QK)和实时跟踪调试器(QS)四个部分。利用QP可以开发出...
分类:其他   时间:2015-11-01 06:49:14    收藏:0  评论:0  赞:0  阅读:864
导航(NavanavigationController)push和pop
//跳转到指定的控制器for (UIViewController *Vc in self.navigationController.viewControllers) { if ([Vc isKindOfClass:[WJPersonCenterViewController clas...
分类:其他   时间:2015-11-01 06:48:34    收藏:0  评论:0  赞:0  阅读:159
Docker 启动失败Starting docker (via systemctl): Job for docker.service failed
Starting docker (via systemctl): Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.[FAILED]解决办法:yu...
分类:其他   时间:2015-11-01 06:48:14    收藏:0  评论:0  赞:0  阅读:1318
期中总结
如白驹过隙,学期已经过半。 《深入理解计算机系统》的课程的基础部分已经学完,虽然仅仅短短的半个学期,但也让我受益匪浅。 在第一章计算机系统漫游中,我们知道了计算机系统是由硬件和软件组成的,它们是共同工作来运行应用程序的。而信息就是位+上下文,程序也能被不同的程序翻译成不同的格式,也让...
分类:其他   时间:2015-11-01 06:48:04    收藏:0  评论:0  赞:0  阅读:239
如何查询到电脑的物理地址
打开电脑开始运行,在出现的提示框内输入命令cmd? 在命令提示符里输入命令ipconfig -all在命令提示符里找到物理地址一栏 ;这就是你电脑的物理地址
分类:其他   时间:2015-11-01 02:10:29    收藏:0  评论:0  赞:0  阅读:235
Centos去掉转发规则 iptable -D用法
公司刚搭建的生产环境 Centos6.5 阿里云服务器,需要在上面发布tomcat应用 端口为80(浏览器默认端口), 但是linux 系统 非root用户不能启动小宇1024的端口,想到的解决方案是 在iptables上做文章,使用iptable的转发规则将访问到80的tcp服务转发到8080 端口;操作如下: ? 登录root用户执行如下命令: ...
分类:其他   时间:2015-11-01 02:08:49    收藏:0  评论:0  赞:0  阅读:399
Majority Element II
Given an integer array of size?n, find all elements that appear more than?? n/3 ??times. The algorithm should run in linear time and in O(1) space. ? public class Solution { public List<Inte ...
分类:其他   时间:2015-11-01 02:07:34    收藏:0  评论:0  赞:0  阅读:392
Number of Digit One
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example:Given n = 13,Return 6, because digit 1 occurred in the following numb ...
分类:其他   时间:2015-11-01 02:06:44    收藏:0  评论:0  赞:0  阅读:209
C Primer Plus 第3章 数据和C 复习题与编程练习
分类:其他   时间:2015-11-01 02:02:09    收藏:0  评论:0  赞:0  阅读:883
统计字符串中:各个数字、空白字符、以及其他所有字符出现的次数
题目:编写一个程序统计输入字符串中:各个数字、空白字符、以及其他所有字符出现的次数。题目分析:这个题目还是挺简单的,对于输入字符串可以利用get进行获取,scanf获取字符串只能获取一行,同时不能获取空格字符,其中需要利用isspace函数计算空白字符的个数,对于获取的字..
分类:其他   时间:2015-11-01 01:45:45    收藏:0  评论:0  赞:0  阅读:243
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!