码迷,mamicode.com
首页 > 其他好文
华为oj 之 蜂窝小区最短距离
/* 学习了一种新的解题方法,很巧妙,利用坐标系来解题。 参考:http://blog.csdn.net/nys001/article/details/12637201*/ 1 #include 2 #include 3 #include 4 #include 5 #inclu...
分类:其他好文   时间:2016-01-13 07:04:07    阅读次数:450
Jan 12 - Implement Queue using Stacks; Stack; Queue Implementation;
代码:class MyQueue { // Push element x to the back of queue. Stack stack = new Stack(); Stack aux = new Stack(); public void push(int x) { ...
分类:其他好文   时间:2016-01-13 07:06:32    阅读次数:227
谷歌CEO 宣布Google I/O 2016大会将于2016年5月18日Mountain View举办
谷歌CEO Sundar Pichai今日在他的官方Twitter上宣布,Google I/O 2016大会将于2016年5月18日在加州Mountain View拉开帷幕。这是谷歌一年一度最大的开发者大会。在刚刚过去的2015年,Google I/O大会被评为2015年最受欢迎的开发者大会,位列苹...
分类:其他好文   时间:2016-01-13 07:05:43    阅读次数:207
2016/01/13开始学习git:远程仓库
要关联一个远程库,使用命令git remote add origin git@server-name:path/repo-name.git; 关联后,使用命令git push -u origin master第一次推送master分支的所有内容; 此后,每次本地提交后,可以使用命令git push ...
分类:其他好文   时间:2016-01-13 07:05:49    阅读次数:133
反汇编objc分析__block
"You can specify that an imported variable be mutable—that is, read-write— by applying the__blockstorage type modifier."文档已经清楚说明了它的作用。反汇编就是要看个究竟。__blo...
分类:其他好文   时间:2016-01-13 07:06:00    阅读次数:246
Jan 12 - Summary Ranges;Array;String
Functions of StringBuilder:代码:public class Solution { public List summaryRanges(int[] nums) { List list = new ArrayList(); if(nums.le...
分类:其他好文   时间:2016-01-13 07:03:49    阅读次数:202
[Beta]M2事后分析
计划你原计划的工作是否最后都做完了? 如果有没做完的,为什么?答:没有,全部的功能没有实现。其中,界面还差两个,逻辑还差闹钟逻辑和群组逻辑,可以说这些东西是我们的核心功能之一,缺失了他们对我们整个团队的影响非常大。原因错综复杂,然而最主要的原因还是因为繁重的课业压力和“不作为”的心态。有没有发现你做...
分类:其他好文   时间:2016-01-13 07:03:38    阅读次数:170
[ES6] Objects vs Maps
Map is really useful when you want to use object as a key to set vaule, in ES5, you cannot really use object as a key:var user1 = { name: "Wan", age.....
分类:其他好文   时间:2016-01-13 07:02:39    阅读次数:245
Adaptive Streaming 学习笔记之一
有了时间就打算做点事情。打算在这里记录自己在学习多媒体信息系统方面的一些点滴,希望能够在将来能够对自己的这也生涯有所裨益。从今天开始,我准备介绍如何从零开始掌握主流的Adaptive Streaming技术的系列学习笔记。首先给出几个有用的链接:http://www.zhihu.com/questi...
分类:其他好文   时间:2016-01-13 07:03:18    阅读次数:475
如何用好onenote
要想知道如何用好onenote,就应该知道 博客园/onenote/github 的长处和短处。依据此便可更好的从根本上更好的使用。 onenote和博客园:部分保持垂直相同,存放除了代码之外的知识。 onenote:本地化+个人性质。 博客园:网络化+社交性质。 github:专长于存代码。可以....
分类:其他好文   时间:2016-01-13 07:02:46    阅读次数:241
Conscientiously Objecting the Living Room War
Time was, you’d buy a TV, bring it home and plant it in your living room. And you’d watch it. For like a decade. And then, when the picture started fa...
分类:其他好文   时间:2016-01-13 02:03:50    阅读次数:209
2016/01/13开始学习git:管理修改、撤销修改
git diff HEAD -- readme.txt 命令可以查看工作区和版本库里面最新版本的区别 git checkout -- file 取消修改 git reset HEAD file 撤销暂存区
分类:其他好文   时间:2016-01-13 02:03:54    阅读次数:300
Solr使用
import static org.junit.Assert.*;import java.util.Date;import java.util.Iterator;import java.util.List;import java.util.Set;import org.apache.solr.cli...
分类:其他好文   时间:2016-01-13 02:03:19    阅读次数:211
*Paint House II
There are a row ofnhouses, each house can be painted with one of thekcolors. The cost of painting each house with a certain color is different. You ha...
分类:其他好文   时间:2016-01-13 02:03:22    阅读次数:197
UITableView的全面解析(一) 待续中...
UITableView 解析
分类:其他好文   时间:2016-01-13 02:05:04    阅读次数:1475
2016/01/13开始学习git:删除文件
正常删除:工作区 rm file;然后git rm file;然后git commit -m ""; 误删除工作区文件:git checkout -- file
分类:其他好文   时间:2016-01-13 02:03:29    阅读次数:172
点击页面div弹窗以外隐藏的两种思路
在本文为大家介绍两种思路实现点击页面其它地方隐藏该div,第一种是对document的click事件绑定事件处理程序..第一种思路分两步第一步:对document的click事件绑定事件处理程序,使其隐藏该div第二步:对div的click事件绑定事件处理程序,阻止事件冒泡,防止其冒泡到docume...
分类:其他好文   时间:2016-01-13 02:01:22    阅读次数:117
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!