码迷,mamicode.com
首页 > 其他好文
Linux系统备份策略详解
linux程序
分类:其他好文   时间:2016-08-24 11:02:24    阅读次数:332
HDU - 5455 Fang Fang
Problem Description Fang Fang says she wants to be remembered.I promise her. We define the sequence F of strings.F0 = ‘‘f",F1 = ‘‘ff",F2 = ‘‘cff",Fn = ...
分类:其他好文   时间:2016-08-24 11:05:17    阅读次数:139
NSCalendar--日历、日程、时间(二)
1 获取一个月的天数 2 获取指定日期的年、月、日、时、分、秒、周几信息 3 计算两个时间之间的天数 ...
分类:其他好文   时间:2016-08-24 11:05:19    阅读次数:153
YUM及源码编译安装
yum的基本概述:yum是rpm的前端工具,可以利用元数据文件了解到一个仓库中有哪些包,每个包之间的依赖关系,并自动解决,yum会缓存这个文件,并且通过分析校验码(repomd.xml)文件来检查yum仓库是否更新了,来同步自身缓存的元数据文件。当然每个rpm包制作的时候就已经在文件列..
分类:其他好文   时间:2016-08-24 09:58:05    阅读次数:295
Elasticsearch索引管理
1.判断索引是否存在IndicesExistsResponse indexResponse = ia.client.admin().indices().prepareExists("blog") .execute().actionGet();System.out.println(indexResponse.isExists());也可以同时判断多个索引是否存在:IndicesExistsRespon...
分类:其他好文   时间:2016-08-24 09:58:06    阅读次数:155
leetcode No108. Convert Sorted Array to Binary Search Tree
Question: Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 把有序数组转化成平衡的BST Algorithm: 找到数组中间的元素,作为根节点,则根节点左边是左子树,根节点右边是右子树,接着递归 Accepted Co...
分类:其他好文   时间:2016-08-24 09:58:55    阅读次数:161
leetcode No109. Convert Sorted List to Binary Search Tree
Question: Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 把有序链表转化成平衡的BST Algorithm: 把链表转化成数组,再根据leetcode No108. Convert Sort...
分类:其他好文   时间:2016-08-24 09:57:42    阅读次数:164
cookie机制与session机制的区别
一、cookie机制和session机制的区别 具体来说cookie机制采用的是在客户端保持状态的方案,而session机制采用的是在服务器端保持状态的方案。同时我们也看到,由于采用服务器端保持状态的方案在客户端也需要保存一个标识,所以session机制可能需要借助于cookie机制来达到保存标识的 ...
分类:其他好文   时间:2016-08-24 09:58:17    阅读次数:118
第十二篇、高度自适应的textView
.h .m 使用示例: 注意: 光标的位置还需要调整一下,不然不居中,要回到原位。 ...
分类:其他好文   时间:2016-08-24 09:58:08    阅读次数:155
【测试人员应该知道的一些知识】
1.针对开发语言和脚本语言的深度掌握和熟练使用 2.对产品的相关开发技术和设计架构,甚至深入到代码实现角度的深层次掌握和理解 3.锻炼和提升自己的测试分析设计和评估能力,并不断完善自己的测试体系和思想 4.坚实的自动化测试以及实践积累 5.对操作系统,网络等知识更深入的掌握和实践 6.保持对测试行业 ...
分类:其他好文   时间:2016-08-24 09:56:22    阅读次数:119
由于没有公钥,下列签名无法进行验证
W: GPG 错误:http://archive.ubuntukylin.com:10006 xenial InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 8D5A09DC9B929006的解决办法 出现以上错误提示时,只要把后八位拷贝一下来,并在[终端]里输入以下命令并 ...
分类:其他好文   时间:2016-08-24 09:56:11    阅读次数:139
hexo部署Github博客
(前提是已经安装Xcode和git) ...
分类:其他好文   时间:2016-08-24 09:54:08    阅读次数:114
Binary Tree Vertical Order Traversal -- LeetCode
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column). If two nodes are in the sam ...
分类:其他好文   时间:2016-08-24 09:54:10    阅读次数:142
166. Fraction to Recurring Decimal -- 将除法的商表示成字符串(循环节用括号表示)
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating ...
分类:其他好文   时间:2016-08-24 09:53:02    阅读次数:168
cocoapods的安装 遇到 Error installing pods:activesupport requires Ruby version >=2.2.2
1.打开终端 2 移除现有 Ruby 默认源 输入以下指令 $gem sources --remove https://rubygems.org/ 3.使用新的源 输入以下指令 $gem sources -a https://ruby.taobao.org/ 4.验证新源是否替换成功 输入以下指令 ...
分类:其他好文   时间:2016-08-24 09:55:02    阅读次数:259
移植mavlink协议到STM32详细教程
1准备材料,首先准备一个带串口的stm32程序(这里选用整点原子的官方串口例程这里自己去找不讲),然后去mavlink官网下载mavlink源码,这里重点讲解这里a.进入mavlink官网(http://qgroundcontrol.org/mavlink/start),下拉到MAVLink Cod... ...
分类:其他好文   时间:2016-08-24 09:55:22    阅读次数:3559
模块加载(require)及定义(define)时的路径
最近新公司在用requireJS进行JS的整合,刚开始接触有点蒙,于是深入了解了一下。requireJS主要是为了解决一下两个问题: (1)实现js文件的异步加载,避免网页失去响应; (2)管理模块之间的依赖性,便于代码的编写和维护。 但是在使用的时候有个最大的困惑就是加载模块时候的路径问题,在re ...
分类:其他好文   时间:2016-08-24 09:54:32    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!