会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
2017年8月26日
2017年阿里校招一道题
摘要: 菜鸟仓库是一个很大很神奇的地方,各种琳琅满目的商品整整齐齐地摆放在一排排货架上,通常一种品类(sku)的商品会放置在货架的某一个格子中,格子设有统一的编号,方便工人们拣选。 有一天沐哲去菜鸟仓库参观,无意中发现第1个货架格子编码为1,第2-3个分别为1,2,第4-6个格子分别是1,2,3,第7-10
阅读全文
posted @ 2017-08-26 12:55 13m0n
阅读(371)
评论(0)
推荐(0)
编辑
2016年11月22日
angularjs ng-class 两种用法
摘要: ng-class="{'active':current.actived_tree==item}" ng-class="{true:'label-danger white-font'}[item.ratio<=0.9]"
阅读全文
posted @ 2016-11-22 14:43 13m0n
阅读(239)
评论(0)
推荐(0)
编辑
2015年7月11日
unix 时间
摘要: from_unixtime()是MySQL里的时间函数mysql>SELECT FROM_UNIXTIME( 1249488000, '%Y%m%d' ) ->20071120mysql>SELECT FROM_UNIXTIME( 1249488000, '%Y年%m月%d' )->2007年11...
阅读全文
posted @ 2015-07-11 14:21 13m0n
阅读(153)
评论(0)
推荐(0)
编辑
2015年7月10日
Delimiter must not be alphanumeric or backslash 问题及解决
摘要: Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in 正则表达式没有加左右侧的斜线
阅读全文
posted @ 2015-07-10 12:36 13m0n
阅读(7802)
评论(0)
推荐(0)
编辑
2015年7月7日
[转]解决百度统计 gzdecode(): insufficient memory
摘要: 百度统计APIgzdecode($preLogin->retData, strlen($preLogin->retData)) 这段代码会造成一个PHP警告内存不足,解决办法只要换个解压缩函数即可。gzdecode($preLogin->retData, strlen($preLogin->retD...
阅读全文
posted @ 2015-07-07 17:17 13m0n
阅读(413)
评论(0)
推荐(0)
编辑
2015年1月20日
排序二叉树生成
摘要: 1 function insert(data) 2 { 3 var newNode = new Node(data,null,null); 4 var parent; 5 var current; 6 if(this....
阅读全文
posted @ 2015-01-20 08:59 13m0n
阅读(194)
评论(0)
推荐(0)
编辑
非递归后序遍历二叉树(1)
摘要: 1 void postOrder3(BinTree *root) //非递归后序遍历 2 { 3 stack s; 4 BinTree *cur; //当前结点 5 BinTree *pre=NULL; ...
阅读全文
posted @ 2015-01-20 08:10 13m0n
阅读(183)
评论(0)
推荐(0)
编辑
排序方法总结(一)
摘要: 1 2 3 4 5 6 7 8 9 10 11 168 169
阅读全文
posted @ 2015-01-20 05:21 13m0n
阅读(147)
评论(0)
推荐(0)
编辑
2014年9月10日
匿名自执行函数
摘要: Insert title here 由于函数是一个封闭的作用域范围,并且可以嵌套函数,所以可以使用这种匿名自执行函数来实现封装自己的所有函数和变量。从而避免来自多个开发者的多个函数相互冲突,并且,他们位于同一个函数中所以可以相互应引用。 由于外部无法引用函数内部的变量,因此在执行完后很快就会被...
阅读全文
posted @ 2014-09-10 16:51 13m0n
阅读(256)
评论(0)
推荐(0)
编辑
2014年8月12日
php 判断图片类型
摘要: 脚本之家 '; //方法2 echo $ext1 = substr($imgurl,strrpos($imgurl, '.')); echo ''; //方法3 echo(@end(explode(".",$imgurl))); echo ''; //方法4 echo pathinfo($imgur...
阅读全文
posted @ 2014-08-12 12:38 13m0n
阅读(2174)
评论(0)
推荐(0)
编辑
下一页
13m0n
公告
导航
博客园
首页
新随笔
联系
订阅
管理