码迷,mamicode.com
首页 > 2014年08月27日 > 全部分享
LeetCode: Binary Tree Level Order Traversal
LeetCode: Binary Tree Level Order TraversalGiven a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level ...
分类:其他好文   时间:2014-08-27 21:55:48    阅读次数:326
Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique per...
分类:其他好文   时间:2014-08-27 21:55:38    阅读次数:242
ios 给一个控制器的view设置背景图片
- (void)imageBg{ UIImage *oldImage = [UIImage imageNamed:@"me"]; UIGraphicsBeginImageContextWithOptions(self.view.frame.size, NO, 0.0); [oldImage dra....
分类:移动开发   时间:2014-08-27 21:55:28    阅读次数:228
把lighttpd配置为系统服务
每次启动切换到 /usr/local/lighttpd/sbin 执行 ./lighttpd -f /usr/local/lighttpd/lighttpd.conf 比较麻烦, 而且不方便重新启动!1 切换到源码包的根目录下: # cd doc # cp sysconfig.lighttpd /e...
分类:其他好文   时间:2014-08-27 21:55:18    阅读次数:218
LeetCode: Maximum Depth of Binary Tree
LeetCode: Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from...
分类:其他好文   时间:2014-08-27 21:54:58    阅读次数:234
poj 3335(半平面交)
链接:http://poj.org/problem?id=3335 //大牛们常说的测模板题----------------------------------------------------------------Rotating ScoreboardTime Limit:2000MSMe.....
分类:其他好文   时间:2014-08-27 21:54:48    阅读次数:398
Mina入门教程(二)----Spring4 集成Mina
在spring和mina集成的时候,要十分注意一个问题:版本。这是一个非常严重的问题,mina官网的demo没错,网上很多网友总结的代码也是对的,但是很多人将mina集成到spring中的时候,总是会发现有个问题:java.lang.IllegalArgumentException: Cannot ...
分类:编程语言   时间:2014-08-27 21:54:38    阅读次数:518
ios 添加条纹背景
- (void)addStripe{ [super viewDidLoad]; // self.view.backgroundColor = [UIColor redColor]; // 1.创建一行背景图片 CGFloat rowW = self.view.frame.size.width;//....
分类:移动开发   时间:2014-08-27 21:54:28    阅读次数:364
[转]跟我一起写Makefile系列
原作者:陈皓专栏 【空谷幽兰,心如皓月】 跟我一起写 Makefile(一) 跟我一起写 Makefile(二) 跟我一起写 Makefile(三) 跟我一起写 Makefile(四) 跟我一起写 Makefile(五) 跟我一起写 Makefile(六) 跟我一起写 Makefile(七) 跟我一...
分类:其他好文   时间:2014-08-27 21:54:18    阅读次数:216
【转载】ASP.NET MVC Web API 的路由选择
此文章描述了ASP.NET Web API如何将Http请求路由到controller。路由表在ASP.NET Web API中,controller是用来处理HTTP请求的一个类。这个类中用于处理HTTP请求的的公共方法被称之为action method或者简称action。当Web API框架接...
分类:Windows程序   时间:2014-08-27 21:54:09    阅读次数:245
练习2014082701
/********************************************************************* @file Main_practise.cpp* @date 2014-8-27* @author Tiger* @brief 练习...
分类:其他好文   时间:2014-08-27 21:53:58    阅读次数:204
GET JSON IN JQUERY
1 大神绕道,装逼的绕道。希望那些初学者和我这样的代码基础薄弱的人有用。 2 根据今天群里各位说的 一一测试 全部通过。 3 4 html 代码 5 6 7 8 9 10 11 document12 13 14 15 46 47 操他妈装B的人48 49...
分类:Web程序   时间:2014-08-27 21:53:48    阅读次数:248
FZU2105 线段树 (按位操作)
题目:Given N integers A={A[0],A[1],...,A[N-1]}. Here we have some operations:(元素和操作元素 2 #include 3 #include 4 #include 5 #include 6 #define mem...
分类:其他好文   时间:2014-08-27 21:53:28    阅读次数:355
解决 Ubuntu 12.04 无法调节屏幕亮度的问题
新装的Ubuntu 12.04,发现很费电,一个很直观且很不爽又很不健康到原因就是屏幕很亮!而且无论是按fn调节还是系统设置调节都只能看到亮度条在变小,但是亮度依然 很强。为了防止被亮瞎而苦苦搜索,找到各种答案,各种复杂,大多数都没能解决。最后还是找到一个成功的方法。终端输入代码:sudo vim ...
分类:其他好文   时间:2014-08-27 21:53:18    阅读次数:164
Hackerrank--XOR love (Math系列)
题目链接Devendra loves the XOR operation very much which is denoted by∧sign in most of the programming languages. He has a listAofNnumbers and he wants to...
分类:其他好文   时间:2014-08-27 21:53:08    阅读次数:316
SQL Server 2008 R2 几个自定义函数
1 --字符串转成时间 2 GO 3 CREATE FUNCTION [dbo].[JBFS_MS_VARCHAR_TO_DATETIME] (@strDate varchar(50) 4 ) 5 RETURNS datetime 6 AS 7 BEGIN 8 declare @tmpTm ...
分类:数据库   时间:2014-08-27 21:52:58    阅读次数:353
移动端怎么运营电商
1、先分析为什么要将 PC 上的用户吸引到移动客户端。原因不外乎有两点,第一,你负责的是公司的移动客户端渠道;第二,为了抢占市场。2、如果是原因一,也有两种办法。一是促销,见效快。但这是一个零和游戏,富了你一人,吭了全公司。二是在便捷方面做文章,将老客户吸引到移动端,这方面有点类似团购,要用户对.....
分类:移动开发   时间:2014-08-27 21:52:48    阅读次数:214
1988条   上一页 1 ... 8 9 10 11 12 13 14 ... 117 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!