摘要: 虽然不是很有技术含量的事情,主要依靠的是阅读能力,然而知识的东西还是记录一下,以备后继待查。 环境相关 1. Server:h1,h2,h3 2. OS RHEL 6.2 3. Zookeeper 3.4.6 4. Solr 5.2.1 下载相关 1. Solr 5.2.1 2. Zookeeper 阅读全文
posted @ 2016-07-01 16:53 哲人善思 阅读(195) 评论(0) 推荐(0) 编辑
摘要: The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou 阅读全文
posted @ 2016-03-15 23:08 哲人善思 阅读(402) 评论(0) 推荐(0) 编辑
摘要: LeetCode传送门 https://leetcode.com/problems/trapping-rain-water/ 目标:找出积木能容纳的水的“面积”,如图中黑色部分是积木,蓝色为可容纳水的部分 假设:积木宽度均为1 输入:各个积木的高度 输出:所有积木能容纳水的“面积” 思考过程 1. 阅读全文
posted @ 2016-02-08 17:10 哲人善思 阅读(999) 评论(3) 推荐(0) 编辑
摘要: Open api authentication Amazon DigitalOcean Webchat Weibo QQ Amazon Web Services HMAC Hash Message Authentication Code 核心思路 【Client】以某种次... 阅读全文
posted @ 2015-09-18 14:29 哲人善思 阅读(1891) 评论(0) 推荐(0) 编辑
摘要: 布局特点1. 单列布局 vs 水平布局 手机屏幕宽度较小,因此多采用单列布局。 反观桌面网页设计,为了利用宽度,往往使用各种水平布局的组件,诸如水平导航栏,水平按钮组,水平分页等。然而水平布局的组件,在移动端中,如果设备宽度不够,会导致组件割裂换行,影响视觉效果。 因此RWD的基本思路之一,桌... 阅读全文
posted @ 2015-05-29 16:14 哲人善思 阅读(567) 评论(0) 推荐(0) 编辑
摘要: Sass简介Sass是CSS的预处理语言;提供了变量定义、函数定义、函数调用、类继承、嵌套(CSS层级关系)及代码引入功能。Sass安装指南MACOS X 10.10.3终端1 -> gem -v2 2.0.143 4 -> sudo gem install sass5 6 -> sass ... 阅读全文
posted @ 2015-05-09 13:28 哲人善思 阅读(1164) 评论(0) 推荐(1) 编辑
摘要: 所谓假期二三四事 一事看论坛,仿了个http//xiumi.us,重点是如何固定图片显示区域,还想仿微博来着,回家了动力不足,做了个一半(差之毫米,谬之千里)。 ​ 1. like xiumi.us ​ 2. like weibo​ ​二事炼脑力,刷了几道题(C++大法好... 阅读全文
posted @ 2015-02-27 11:23 哲人善思 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 题目All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful t... 阅读全文
posted @ 2015-02-11 12:01 哲人善思 阅读(7827) 评论(5) 推荐(0) 编辑
摘要: 题目Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], the largest formed n... 阅读全文
posted @ 2015-02-09 12:23 哲人善思 阅读(881) 评论(0) 推荐(0) 编辑
摘要: CSS固定图片显示大小分析假设图片区域的大小固定为250×300px,那么我们可以写出如下的样式.picture-area { width: 250px; height: 300px; margin: 1em;}当然简单如下的html是不能限制图片大小的 换个思路,将图片作为... 阅读全文
posted @ 2015-02-04 20:18 哲人善思 阅读(1554) 评论(6) 推荐(0) 编辑