码迷,mamicode.com
首页 > 2015年03月16日 > 全部分享
mybatis配置方法
首先导入mybatis-3.1.1.jar包以及Mysql-connector-java-5.1.6-bin.jar包新建一个数据库create database mybatis;use mybatis;CREATE TABLE users(id INT PRIMARY KEY AUTO_INCRE...
分类:其他好文   时间:2015-03-16 22:48:38    阅读次数:231
Winform 界面实时刷新策略
/* * The GUI update goals of this application are as follows: * * 1. We would like most, if not all, GUI updates to occur in the contex...
分类:Windows程序   时间:2015-03-16 22:48:34    阅读次数:600
Leetcode题1
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-03-16 22:49:35    阅读次数:133
python的datetime模块
导入datetime模块后用dir(datetime)命令查看在datetime模块下有几个小模块,或叫类(一)date小模块。处理年月日也是先用dir(datetime.date)查看一下其中有那么几个方法1:today()显示今天的日期 如果嫌这样太麻烦,可以单独导入date这个小模块 2:d....
分类:编程语言   时间:2015-03-16 22:47:24    阅读次数:158
HDU 4505
哈哈哈哈哈哈哈哈哈,省赛,一等奖,一定的一定的一定的一定的。。。#include #include #include #include using namespace std;const int N=110;bool flag[N];int main(){ int T,n,cnt,maxh,t...
分类:其他好文   时间:2015-03-16 22:49:24    阅读次数:167
Kafka系列(二)特性和常用命令
Kafka中Replicas复制备份机制 kafka将每个partition数据复制到多个server上,任何一个partition有一个leader和多个follower(可以没有),备份的个数可以通过broker配置文件来设定(replication-factor的参数配置指定).leader处...
分类:其他好文   时间:2015-03-16 22:45:56    阅读次数:302
Remove Element
/*题意:删掉A数组中与elem相同的元素,并返回新数组的长度*/class Solution {public: int removeElement(int A[], int n, int elem) { int j = 0; for(int i = 0 ; i <...
分类:其他好文   时间:2015-03-16 22:46:24    阅读次数:122
Cent OS 6.6 下安装mysql(5.5.20)和 PHP(5.3.10)
0.准备步骤(没有连接网络的 linux):挂载光盘、让网络 yum 源失效、修改光盘 yum 文件、安装 c 语言编译器 gcc。1.MySQL(5.5.20)下载 mysql 5.5.20 源码包(由于mysql 官网使用 google cdn 的 jquery 来切换mysql 版本下载的下拉...
分类:数据库   时间:2015-03-16 22:46:52    阅读次数:355
Oracle中rownum和rowid的区别
Oracle rownum rowid
分类:数据库   时间:2015-03-16 22:48:31    阅读次数:148
IOC容器注册
UserModule类:using System;using System.Collections.Generic;using System.Linq;using System.Text;using Autofac;using You.Niao.User.IDAL;namespace You.Nia...
分类:其他好文   时间:2015-03-16 22:46:59    阅读次数:137
使用getopt解析命令行一例
高效工作的一个诀窍就是尽可能自动化, 简便化。
分类:其他好文   时间:2015-03-16 22:47:10    阅读次数:194
在Idea中调试ant应用
Ant调试MicrosoftInternetExplorer402DocumentNotSpecified7.8Web0Ant调试ant是一种非常方便的打包,部署的工具,通过ant,可以一键构建整个项目,虽然MVN也支持这种功能,但是MVN混杂了package管理的功能,并且不是很自由,学习成本比较...
分类:其他好文   时间:2015-03-16 22:46:20    阅读次数:182
C++字符串指针与字符数组的区别
今天发现这样一个问题 #include using namespace std; int main() { char ch1[10]; strcpy_s(ch1,"123456");//编译通过 char* p = new char[10]; strcpy_s(p,"123456");//报错:不接...
分类:编程语言   时间:2015-03-16 22:47:45    阅读次数:164
Eclipse保存验证JS缓慢
EclipseSave保存js文件的时候验证JS的时间很长( 使用extjs).Eclipse– Validation – JavaScript Validator 的 Manual和Build都没用最后找到在项目路径下面的.project文件中配置了一些验证信息.org.eclipse.wst.j...
分类:Web程序   时间:2015-03-16 22:44:20    阅读次数:164
Uni2D入门
转载http://blog.csdn.net/kakashi8841/article/details/17558059开始Uni2D增加了一些新的便利的特性给Unity,它们用于推动你2D工作流程和生产力。最有用的一个特性是sprite的创建:使用Uni2D,你能通过从项目窗口拖动texture来闪...
分类:其他好文   时间:2015-03-16 22:44:44    阅读次数:182
vs的【warning C4996:'fopen': This function or variable may be unsafe】解决方案
转载自:http://my.oschina.net/liujinofhome/blog/36287以及http://blog.sina.com.cn/s/blog_562f523f0100rezj.html二、编译警告:warning C4996 与 Security Enhancements in...
分类:其他好文   时间:2015-03-16 22:47:02    阅读次数:294
HDU 4520
看不起我?哼,迟早让你后悔,让你妒忌。操操操操。。。。。T_T#include #include #include #include #include #define LL __int64using namespace std;const int N=25;struct Judger{ dou...
分类:其他好文   时间:2015-03-16 22:45:23    阅读次数:120
1815条   上一页 1 ... 8 9 10 11 12 13 14 ... 107 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!