Flexbox 布局模块目前是 W3C 
候选标准,旨在提供一个更有效的方式进行布局,对齐和为容器里的项目分配空间,即使它们的大小是未知的或者动态的。这里分享一个基于 Knockout.js 
构建的互动教程,让你5分钟就掌握 Flexbox 布局模式。
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:34:46   
                                阅读次数:
324
                             
                         
                    
                        
                            
                            
                                利用挖坑填数+分治实现的快排代码如下:import 
java.io.BufferedReader;import java.io.IOException;import 
java.io.InputStreamReader;import java.util.Formatter;import java.ut...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:33:46   
                                阅读次数:
404
                             
                         
                    
                        
                            
                            
                                1、使用FileStream读写文件文件头:[csharp]view 
plaincopyprint?usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.IO;读文件核心代码:[csharp]view 
pla...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:33:46   
                                阅读次数:
434
                             
                         
                    
                        
                            
                            
                                unit MainUnit;interfaceuses Windows, Messages, 
SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, 
Registry;type TfrmMain = ...
                            
                            
                                分类:
编程语言   时间:
2014-04-29 10:32:46   
                                阅读次数:
436
                             
                         
                    
                        
                            
                            
                                组合数学、-排列组合数----sum求sum=sum*(m--)/i;----二维数组递推(打表)---原始公式(单个)数字太大,用分子分母约分-全排列模板-----生成全排列函数prev_permutation和next_permutation区别http://www.cnblogs.com/zh...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:31:46   
                                阅读次数:
408
                             
                         
                    
                        
                            
                            
                                第一次打表一言难尽 注意表的范围 因为打表 数组长度不好计算算 
要有个结尾标志#includeusing namespace std;int 
prime[1000]={5,7,11,101,131,151,181,191,313,353,373,383,727,757,787,797,919,9.....
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:27:47   
                                阅读次数:
471
                             
                         
                    
                        
                            
                            
                                HTML DOM event 事件, 用用就知道了function 
isKeyPressed(eventssdasd) // 这个地方其实无关紧要,就是定义一个名称而已, 不过为了好看, 最好还是写成 event{ if 
(event.altKey==1)//event代表事件的状态,例如触发eve...
                            
                            
                                分类:
Web程序   时间:
2014-04-29 10:26:46   
                                阅读次数:
474
                             
                         
                    
                        
                            
                            
                                crontab运行脚本存在两大问题:环境变量和路径,从而导致单独运行脚本没问题,但用crontab运行就报错。1、环境变量 
描述问题:crontab: usage error: no arguments permitted after this option 
因为crontab不提供环境,所...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:23:47   
                                阅读次数:
370