码迷,mamicode.com
首页 >  
搜索关键字:https ca    ( 136034个结果
[leetcode]Search a 2D Matrix @ Python
原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the...
分类:编程语言   时间:2014-06-29 07:56:13    阅读次数:321
android 调用前摄像头进行拍照的方法及完整例子
android调用camera时,可以自己写一个activity,赋上相关参数,打开前camera就可以了; 需要申请的permission,在AndroidManifest.xml中添加: 主要功能,打开前camera private Camera openFrontFacingCameraGingerbread() { int ca...
分类:移动开发   时间:2014-06-20 12:58:38    阅读次数:215
幾個步驟輕鬆在windows操作系統上搭建GO語言開發環境
1. 首先下载官方GO語言安装包:https://code.google.com/p/go/wiki/Downloads?tm=22. 设置 GOPATH在任意磁盘根目录新建一个文件夹,名字随意,这个将会是我们的工作目录,像我把它命名为 @Go@Go 目录下新建三个目录:binpkgsrc之后在“计...
分类:Windows程序   时间:2014-06-11 22:30:46    阅读次数:355
[leetcode]Merge k Sorted Lists @ Python
原题地址:https://oj.leetcode.com/problems/merge-k-sorted-lists/题意:Mergeksorted linked lists and return it as one sorted list. Analyze and describe its com...
分类:编程语言   时间:2014-06-11 21:57:07    阅读次数:399
PHP 获取当前页面的完整 url 函数
代码清单: <?php /** * 获取当前页面的完整 url * @author ruxing.li * @return string */ function getPageUrl(){ $url = (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443') ? 'https://' : 'http...
分类:Web程序   时间:2014-06-07 13:16:27    阅读次数:250
leetcode——String to Integer (atoi) 字符串转换为整型数(AC)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:其他好文   时间:2014-06-07 12:21:30    阅读次数:284
[leetcode]Valid Sudoku @ Python
原题地址:https://oj.leetcode.com/problems/valid-sudoku/题意:Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could b...
分类:编程语言   时间:2014-06-07 11:26:18    阅读次数:296
jquery.fileupload插件 ie9下不支持上传
根据https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-supportThe following browsers support at least one form ofAJAXstyle file uploads, either ...
分类:Web程序   时间:2014-06-07 09:39:54    阅读次数:1581
[leetcode]Sudoku Solver @ Python
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated b...
分类:编程语言   时间:2014-06-07 09:30:06    阅读次数:342
Android进度加载的Loading效果
网上看到的一个开源项目的loading效果,效果很赞,记录一下: 开源项目地址如下:https://github.com/RomainPiel/Titanic
分类:移动开发   时间:2014-06-07 06:14:47    阅读次数:671
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!