码迷,mamicode.com
首页 > 2015年07月15日 > 全部分享
【SQL Server】学习笔记1
数据库设计范式1范式:列的原子性,列不可再拆分2范式:表中不能描述多个信息,不能有数据沉余3范式:引用其它表的主键信息约束非空约束not null。不能出现空值主键约束(PK)primary key constraint。唯一并且不为空唯一约束(UQ)unique constraint。允许为空,但...
分类:数据库   时间:2015-07-15 20:57:19    阅读次数:142
ARC-环境下如何查看引用计数的变化
一,新建立一个工程,用于测试引用计数的变化。二,找到如下路径Build Phases---->Compile Sources---->AppDelegate.m三,选中AppDelegate.m文件,如图所示。四,将AppDelegate.m的Compiler Flags设置为"-fno-objc-...
分类:其他好文   时间:2015-07-15 20:57:30    阅读次数:115
C#发送QQ邮件
1、先开启QQ邮箱中的POP3/SMTP服务2、代码MailMessage myMail = new MailMessage(); //创建邮件实例对象myMail.From = new MailAddress(""); //发送者,要和邮件服务器的验证信息对应,不能随便更改myMail.To.Ad...
分类:其他好文   时间:2015-07-15 20:58:37    阅读次数:134
安装percona-xtrabackup一直提示依赖冲突的一个解决办法
我的Mysql是5.6版本,通过自己下载的rpm包执行安装:yum instal percona-xtrabackup-2.1.7-721.rhel6.x86_64.rpm会出现如下的安装错误提示:[root@host2 MySQL]# yum install percona-xtrabackup-...
分类:其他好文   时间:2015-07-15 20:56:58    阅读次数:403
混合报文
流报文+xml报文6为前置长度--------------------xml报文
分类:其他好文   时间:2015-07-15 20:58:44    阅读次数:124
当服务器中的某个属性是description和id,会覆盖对象中的description,怎么办
MJExtention:- (NSDictionary*)replacedKeyFromPropertyName{ return @{@"desc" : @"description", @"ID" : @"id"};}太爽了。。。。。。。
分类:其他好文   时间:2015-07-15 20:57:44    阅读次数:128
OC -- NSDictionary NSMutableDictionary
NSDictionary NSMutableDictionary 只能存放OC对象,不能存放int, float, double, struct, enum类型数据NSDictionary *dict1 = @{@"name" : @"As god name", @"address" : @"sha...
分类:其他好文   时间:2015-07-15 20:58:33    阅读次数:132
Linux文件压缩命令
1、gzip/gunzip 功能:压缩/解压文件 注意:(1)只能压缩文件,不能压缩目录;(2)压缩文件后,源文件就没有了。 语法: gzip 文件名 gunzip 压缩文件名2、tar 功能:压缩目录/解压缩包 语法:tar -zcvf 目的文件名 原始目录名 //压缩...
分类:系统相关   时间:2015-07-15 20:58:01    阅读次数:167
[LeetCode] Jump Game
This problem has a very concise solution in this link, just 4-lines. The code is rewritten below.1 class Solution {2 public:3 bool canJump(vector&...
分类:其他好文   时间:2015-07-15 20:57:01    阅读次数:121
C#之网络精灵全面解析
项目框架的搭建创建对应所需类TvProgram:节目类ChannelBase:频道基类TypeAChannel:A类频道TypeBChannel:B类频道ChannelFactory:工厂类本地硬盘上的xml文件中的数据读取到了内容中的一个字典集合中。将集合中的数据绑定到TreeView中添加电台通...
分类:Windows程序   时间:2015-07-15 20:56:33    阅读次数:157
hdu 3496 二维费用的01背包
算是比较简单的二维费用背包了吧,注意在某一维上要求“装满”。另外:对于多维费用的背包,最内层的循环可以逆着写,想一想,为什么。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int ...
分类:其他好文   时间:2015-07-15 20:57:12    阅读次数:154
Searching for Approximate Nearest Neighbours
Searching for Approximate Nearest NeighboursNearest neighbour search is a common task: given a query object represented as a point in some (often high...
分类:移动开发   时间:2015-07-15 20:55:51    阅读次数:194
DataList和Repeater
DataList和Repeater是两个十分有用的控件,在新闻列表和图片展示的地方经常用到。在这里简单的把他们介绍一下。1.DataList:前端页面: ' width="174" height="130" alt="" style="cursor: hand;" /> ...
分类:其他好文   时间:2015-07-15 20:56:51    阅读次数:124
UVA - 11637 Garbage Remembering Exam (组合+可能性)
Little Tim is now a graduate,and is thinking about higher studies. However, he first needs to appear in anexam whose preparation alone includes memori...
分类:其他好文   时间:2015-07-15 20:57:08    阅读次数:137
为什么要现在学习Java?
大学的时候,有学过Java这门课程,但是为了应付期末考试简单的学习了,后来毕业后也没有从事开发也就忘记的差不多了。这个星期才有了重新学习的念头。 最初的最初是我一个偶然的想法,我想培养自己读书的习惯,然后有收集好多别人推荐的书目,但是信息比较分散很不灵活。我就想要一个读书APP,可以有简单的书...
分类:编程语言   时间:2015-07-15 20:54:18    阅读次数:147
纯CSS,table的thead固定,tbody显示滚动条
首先是html的table的代码: 1 2 3 4 111asdasdassd 5 222asdsa 6 7 8 9 10 ...
分类:Web程序   时间:2015-07-15 20:55:40    阅读次数:163
Delete Node in a Linked List
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is1 -> 2 -> 3 -> ...
分类:其他好文   时间:2015-07-15 20:55:47    阅读次数:119
2062条   上一页 1 ... 19 20 21 22 23 24 25 ... 122 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!