The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total numb...
                            
                            
                                分类:
编程语言   时间:
2015-05-20 01:56:53   
                                阅读次数:
188
                             
                         
                    
                        
                            
                            
                                指针与引用的区别:The difference between "pointer" and "reference"区别1: 给指针A赋值的时侯,要么赋一个地址B,要么赋一个同类型的指针C ( 使用地址B赋值时,B中存储的值的类型要和A指针指向的类型一致。如果B指向的值用const 修饰,那么指针.....
                            
                            
                                分类:
其他好文   时间:
2015-05-20 01:59:30   
                                阅读次数:
127
                             
                         
                    
                        
                            
                            
                                http://music.show160.com/633276http://music.show160.com/633148http://music.show160.com/633008http://music.show160.com/633192http://music.show160.com/6...
                            
                            
                                分类:
其他好文   时间:
2015-05-20 01:58:08   
                                阅读次数:
136
                             
                         
                    
                        
                            
                            
                                《推荐系统实践》是一本入门级书籍,全书不到200页,通熟易懂,非常适合初学者。记不起上次阅读该书是什么时候,可以确定的是很定不超过三个月,今天回想梳理全书结构,甚是模糊,而是打算重读一遍。并在这里留下些许痕迹,以帮助日后回忆之用。对本笔记内容感兴趣的读者还请购买正版书籍,尊重作者权益! 作者介...
                            
                            
                                分类:
其他好文   时间:
2015-05-20 01:58:18   
                                阅读次数:
182
                             
                         
                    
                        
                            
                            
                                http://www.cnblogs.com/yiluxiuxing/p/4267709.html1. 新建一个phpinfo,查看版本号2.http://museum.php.net/php5/ 下载对应的版本的zip3. 解压,找到php_memcache.dll,放到C:\AppServ\ph...
                            
                            
                                分类:
移动开发   时间:
2015-05-20 01:55:57   
                                阅读次数:
150
                             
                         
                    
                        
                            
                            
                                1使用javaScript中的window.location.href="要跳转的页面";2在超链接中href=‘’ location=“要跳转的页面”,例如首页;3from表单提交:action=‘’,要跳转的页面4使用jsp内置对象request和responce,执行请求的转发和重定向来实现页...
                            
                            
                                分类:
Web程序   时间:
2015-05-20 01:56:08   
                                阅读次数:
204
                             
                         
                    
                        
                            
                            
                                最近一段时间总是被一些杂事搞得自己整天很忙的样子,其实呢?真正从技术收获的角度来讲的话,这段时间自己并没有收获多少新的技术知识。
                            
                            
                                分类:
其他好文   时间:
2015-05-20 01:57:57   
                                阅读次数:
130
                             
                         
                    
                        
                            
                            
                                echo $a = 2|4|8,"\n";echo $a&8,"\n";//8echo $a&4,"\n";//4echo $a&2,"\n";//2echo $a&16,"\n";//0echo $a&32;//0由结果看参与按位或运算的数(2的整数次幂)再与结果进行按位与运算结果为其本身,这是由...
                            
                            
                                分类:
其他好文   时间:
2015-05-20 01:55:25   
                                阅读次数:
185
                             
                         
                    
                        
                            
                            
                                【记录错误(生产环境)】php.ini:① 开启 / 关闭 错误日志功能log_errors = On② 设置 log_errors 的最大字节数log_errors_max_len = 1024其他:选项描述log_errors设置是否将错误信息记录到日志或者 error_log 中error_l...
                            
                            
                                分类:
Web程序   时间:
2015-05-20 01:57:47   
                                阅读次数:
164
                             
                         
                    
                        
                            
                            
                                Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representatio...
                            
                            
                                分类:
编程语言   时间:
2015-05-20 01:57:32   
                                阅读次数:
192
                             
                         
                    
                        
                            
                            
                                http://music.show160.com/633276http://music.show160.com/633148http://music.show160.com/633008http://music.show160.com/633192http://music.show160.com/6...
                            
                            
                                分类:
其他好文   时间:
2015-05-20 01:57:32   
                                阅读次数:
131
                             
                         
                    
                        
                            
                            
                                javascript数组对象实例方法有:pop(),push(),reverse(),shift(),sort(),splice(),unshift(),concat(),join(),slice()pop() : 移除数组中最后一个元素,并返回该元素。 如下:var a=[1,2,3] ;cons...
                            
                            
                                分类:
编程语言   时间:
2015-05-20 01:56:22   
                                阅读次数:
152
                             
                         
                    
                        
                            
                            
                                1 package com.example.sqlitedemo; 2 3 import android.app.Activity; 4 import android.database.Cursor; 5 import android.database.sqlite.SQLiteDatabase.....
                            
                            
                                分类:
数据库   时间:
2015-05-20 01:55:28   
                                阅读次数:
187
                             
                         
                    
                        
                            
                            
                                #先上一个整体的Python代码,它可以作为Python建立RPC服务器或客户端的通用库 #test_rpc.py
#coding=utf-8
from?SimpleXMLRPCServer?import?SimpleXMLRPCServer
from?SocketServer?import?ThreadingMixIn?...
                            
                            
                                分类:
编程语言   时间:
2015-05-20 00:39:06   
                                阅读次数:
327
                             
                         
                    
                        
                            
                            
                                下载安装 Rust http://www.rust-lang.org/index.html 下载安装 Racer https://github.com/phildawes/racer/ https://github.com/phildawes/racer/archive/master.zip 1. 将 Rust 的 Bin 加入系统变量 Path 中 2....
                            
                            
                                分类:
Windows程序   时间:
2015-05-20 00:40:45   
                                阅读次数:
2075
                             
                         
                    
                        
                            
                            
                                go里面的类型断言写法: x.(T) 其中x为interface{}类型 T是要断言的类型。 类型断言有个非常好的使用场景:当某个类型为interface{}的变量,真实类型为A时,才做某件事时,这时可以使用类型断言 下面有个例子。只...
                            
                            
                                分类:
其他好文   时间:
2015-05-20 00:38:06   
                                阅读次数:
139
                             
                         
                    
                        
                            
                            
                                前面的文章介绍过注解@PathVariable,它能够为Rest风格的URL用占位符的方式传递一个参数,但是这个参数并不是真正意义上的请求参数。请求参数怎么处理是本文的主要内容。 Spring MVC 通过分析处理方法的签名,将 ...
                            
                            
                                分类:
编程语言   时间:
2015-05-20 00:40:13   
                                阅读次数:
145