分类:
Web开发 时间:
2015-12-01 07:10:00
收藏:
0 评论:
0 赞:
0 阅读:
202
AngularJS routing helps you in dividing your application in logical views and bind different views to controllers. The magic of routing is taken care ...
分类:
Web开发 时间:
2015-12-01 07:09:50
收藏:
0 评论:
0 赞:
0 阅读:
314
改方法是调试drush所执行的php代码的方法,同样适用于普通的cli方式运行的php程序的调试。1、首先需要调整cli方式的xdebug.ini配置:sudo vi /etc/php5/cli/conf.d/xdebug.ini[XDebug]zend_extension="/usr/lib/ph...
分类:
其他 时间:
2015-12-01 07:09:40
收藏:
0 评论:
0 赞:
0 阅读:
416
本文章是电商网站架构案例的第三篇,主要介绍数据库集群,读写分离,分库分表,服务化,消息队列的使用,以及本电商案例的架构总结。
分类:
Web开发 时间:
2015-12-01 07:09:20
收藏:
0 评论:
0 赞:
0 阅读:
445
每个做过或者正在做研究工作的人都会关注一些自己认为有价值的、活跃的研究组和个人的主页,关注他们的主页有时候比盲目的去搜索一些论文有用多了,大牛的或者活跃的研究者主页往往提供了他们的最新研究线索,顺便还可八一下各位大牛的经历,对于我这样的小菜鸟来说最最实惠的是有时可以找到源码,很多时候光看论文是理不清...
分类:
其他 时间:
2015-12-01 07:09:10
收藏:
0 评论:
0 赞:
0 阅读:
433
题目:A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).Write a function to count the total strob...
分类:
其他 时间:
2015-12-01 07:09:01
收藏:
0 评论:
0 赞:
0 阅读:
318
Given a sorted (increasing order) array, Convert it to create a binary tree with minimal height.ExampleGiven [1,2,3,4,5,6,7], return 4 / \ 2 ...
分类:
其他 时间:
2015-12-01 07:08:40
收藏:
0 评论:
0 赞:
0 阅读:
288
Longest Increasing Continuous subsequenceGive you an integer array (index from 0 to n-1, where n is the size of this array),find the longest increasin...
分类:
其他 时间:
2015-12-01 07:08:30
收藏:
0 评论:
0 赞:
0 阅读:
231
在kubernetes/flannel环境中部署HBase。HDFS集群、ZooKeeper集群、HBase Master集群、HBase regionserver 集群拥有独立的k8s server,且不在同一个pod中。缺点:当需要添加master或regionserver节点时,需要对所有的m...
分类:
Web开发 时间:
2015-12-01 07:08:20
收藏:
0 评论:
0 赞:
0 阅读:
1337
public class Solution { public ListNode removeElements(ListNode head, int val) { ListNode dummy = new ListNode(0); dummy.next = head;...
分类:
其他 时间:
2015-12-01 07:08:10
收藏:
0 评论:
0 赞:
0 阅读:
239
public class Solution { public void connect(TreeLinkNode root) { if (root == null) { return; } Queue queue = new Li...
分类:
其他 时间:
2015-12-01 07:08:00
收藏:
0 评论:
0 赞:
0 阅读:
250
1 package regex; 2 3 import java.util.regex.Matcher; 4 import java.util.regex.Pattern; 5 6 public class regexDemo { 7 public static void main(S...
分类:
其他 时间:
2015-12-01 07:07:50
收藏:
0 评论:
0 赞:
0 阅读:
399
题目:A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).Find all strobogrammatic numbers that are...
分类:
其他 时间:
2015-12-01 07:07:40
收藏:
0 评论:
0 赞:
0 阅读:
382
//DFS,没有剪枝public class Solution { List> result = new ArrayList>(); public List> combinationSum3(int k, int n) { helper(k, n, 0, new Array...
分类:
其他 时间:
2015-12-01 07:07:30
收藏:
0 评论:
0 赞:
0 阅读:
286
伪类选择器,和一般的DOM中的元素样式不一样,它并不改变任何DOM内容。只是插入了一些修饰类的元素,这些元素对于用户来说是可见的,但是对于DOM来说不可见。伪类的效果可以通过添加一个实际的类来达到。a:link|a:visited|a:hover|a:active在 CSS 定义中,a:hover必...
分类:
Web开发 时间:
2015-12-01 07:07:20
收藏:
0 评论:
0 赞:
0 阅读:
260
重新撸一遍CSS的基础,因为以前面试的时候被问到,突然发现某些概念搞不清楚,瞬间懵逼了,其实我都知道的,就是因为不会炒概念,导致面试官觉得我很low,你特么连这个都不知道还敢来面试,回家种田去好嘛!样式分类1.行内样式/行间样式虽然这种方法比较直接,在制作页面的时候需要为很多的标签设置style属性...
分类:
Web开发 时间:
2015-12-01 07:07:10
收藏:
0 评论:
0 赞:
0 阅读:
276
SubtreeYou have two every large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a sub...
分类:
其他 时间:
2015-12-01 07:06:50
收藏:
0 评论:
0 赞:
0 阅读:
212
Binary Tree PathsGiven a binary tree, return all root-to-leaf paths.ExampleGiven the following binary tree: 1 / \2 3 \ 5All root-to-leaf path...
分类:
其他 时间:
2015-12-01 07:06:40
收藏:
0 评论:
0 赞:
0 阅读:
306
Reverse digits of an integer. Returns 0 when the reversed integer overflows (signed 32-bit integer).ExampleGiven x = 123, return 321Given x = -123, re...
分类:
其他 时间:
2015-12-01 07:06:00
收藏:
0 评论:
0 赞:
0 阅读:
326
最近在做一个根据配置表自动生成动画剪辑clip以及controller的功能.做法是根据配置表配置的动作以及每个动作的关键帧,自动为每个clip添加事件.这样做可以把动画的事件处理在游戏运行之前就计算好然后存到动画文件.anim中,可以提高游戏的运行效率,如果做的再细点,还可以自定义动画事件的传入的...
分类:
编程语言 时间:
2015-12-01 07:05:50
收藏:
0 评论:
0 赞:
0 阅读:
424