码迷,mamicode.com
首页 > 其他好文
$stateProvider
在你的应用中大多数状态都有与其相关联的 url,路由控制不是设计完成 state 之后的事后想法,而是开始开发时就应该考虑的问题。 这里是如何设置一个基本url。 当我们访问index.html/contacts时, 'contacts'状态将被激活,同时index.html中的ui-view将被' ...
分类:其他好文   时间:2016-08-18 07:34:31    阅读次数:229
2016-8-18晨型养成第三天
昨天感觉良好,一天都比较清醒,也不知道是感冒还是休息问题感觉头沉甸甸的,哈哈。 21天养成习惯,今天完成3天小目标,很开心。继续加油。 昨天完成阅读半小时的任务,今天继续,编程学习没有完成,工作内容没有在上班期间完成,导致生活受到影响,值得反思。 为自己加油,gogogo~! ...
分类:其他好文   时间:2016-08-18 07:35:12    阅读次数:131
RHEL 6.5安装vsftpd(虚拟用户)
1、配置本地yum源#vi/etc/yum.repos.d/rhel-source.repo[Server]name=rhel6baseurl=file:///misc/cd/enable=1gpgcheck=1gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release2、安装vsftpd#yuminstallvsftpd3、配置vsftpd编辑配置文件#vi/etc/vsftpd/vsftpd.confanonymous_ena..
分类:其他好文   时间:2016-08-18 06:32:43    阅读次数:150
商超大战解读:1号店与天猫超市,谁更有戏?
在中国互联网产业发展的过程中,电子商务所占之比重、影响之深远几乎堪称互联网所有产业之首。特别在近年的产业竞争格局面前,京东和阿里分别通过较早的成立时间优势、平台化规模经营和自建物流体系、以价格狙击竞争的方式完成了中国电商产业的壁垒局面,成为统领中国电商发展..
分类:其他好文   时间:2016-08-18 06:31:00    阅读次数:145
Convert Binary Search Tree to Doubly Linked List
Convert a binary search tree to doubly linked list with in-order traversal. Have you met this question in a real interview? Yes Convert a binary searc ...
分类:其他好文   时间:2016-08-18 06:30:54    阅读次数:187
MyBatis Generator
...
分类:其他好文   时间:2016-08-18 06:31:34    阅读次数:193
Print Numbers by Recursion
Print numbers from 1 to the largest number with N digits by recursion. Notice It's pretty easy to do recursion like: recursion(i) { if i > largest num ...
分类:其他好文   时间:2016-08-18 06:29:46    阅读次数:134
Fast Power
Calculate the an % b where a, b and n are all 32bit integers. Analyse: divide and conquer. Be aware of overflow. Runtime: 12ms ...
分类:其他好文   时间:2016-08-18 06:30:10    阅读次数:138
rails中使用rucaptcha如何跳过验证
rucaptcha是一个生成验证码的gem。 在readme当中关于如何跳过验证码验证的两个方法我在rails的测试中都无法通过。 后来翻了翻源码verify_rucaptcha?这个方法是定义在控制器的helper中,helper本身是个模块,rucaptcha让ActionController: ...
分类:其他好文   时间:2016-08-18 06:28:11    阅读次数:384
[React Fundamentals] Composable Components
To make more composable React components, you can define common APIs for similar component types. ...
分类:其他好文   时间:2016-08-18 06:30:12    阅读次数:137
struts2 动态Action
1、java 2、struts.xml struts2.5,默认关闭动态Action,着色的是开启和使用动态action 3、JSP 小结:访问时,用!后跟方法名的方法,方法返回值 》result name,之后跳转响应视图。 ...
分类:其他好文   时间:2016-08-18 06:28:20    阅读次数:97
struts2 入门程序
1、struts 2.5.2 基本jar包 2、web.xml <!-- Filters --> <!-- START SNIPPET: filter --> <filter> <filter-name>struts252</filter-name> <filter-class>org.apache ...
分类:其他好文   时间:2016-08-18 06:28:21    阅读次数:174
Leetcode 15 3Sum
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of ...
分类:其他好文   时间:2016-08-18 06:29:35    阅读次数:133
H5常用代码:适配方案4
前面有分享了4种适配方案,但始终是通过手动缩放或者视口缩放来实现,用来做一些专题页,或者功能相对简单的项目来说也是完全能应付的,但整体来说感觉还是一种缩放,说不上是真正的适配,言外之意就是即将分享真正的适配喽,呵呵,开个玩笑,其实适配方式千差万种,怎么用全靠自己把握,遇到问题总有解决方法,兵来将挡水 ...
分类:其他好文   时间:2016-08-18 06:29:22    阅读次数:163
2016/8/18 工具和注意事项、服务器管理
1.SecureCRT、WinSCP工具的使用; 2.Linux区分大小写,其所有命令都是小写 3.Linux中所有内容以文件保存,包括硬件 硬盘文件是/dev/sd[a-p] 光盘文件是/dev/sr0等 4.Linux不靠扩展名区分文件类型,通过命名来区分 压缩包:“*.gz”、“*.bz2”、 ...
分类:其他好文   时间:2016-08-18 06:28:25    阅读次数:177
centos安装tmux过程
原文:https://gist.github.com/rothgar/cecfbd74597cc35a6018 # Install tmux on Centos release 6.5 # install depsyum install gcc kernel-devel make ncurses-d ...
分类:其他好文   时间:2016-08-18 06:25:47    阅读次数:159
Leetcode 1 Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:其他好文   时间:2016-08-18 06:28:22    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!