swift中实现单选按钮 想要实现单选按钮Radio button: swift radio button swift radio button lib shamasshahid/SSRadioButtonsController: A Radio Button Controller class fo ...
分类:
编程语言 时间:
2019-01-29 18:27:37
阅读次数:
307
Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single element ...
分类:
其他好文 时间:
2019-01-29 13:52:49
阅读次数:
159
Let's consider m apples divided into n groups. Each group contains no more than 100 apples, arranged in a line. You can take any number of consecutive ...
什么是单点登录? SSO(Single Sign On)单点登录是实现多个系统之间统一登录的验证系统,简单来说就是:有A,B,C三个系统,在A处登录过后,再访问B系统,B系统就已经处于了登录状态,C系统也是一样。举个生活中栗子:你同时打开天猫和淘宝,都进入login界面,都要求你登录的,现在你在淘宝 ...
分类:
编程语言 时间:
2019-01-28 16:07:50
阅读次数:
289
After an uphill battle, General Li won a great victory. Now the head of state decide to reward him with honor and treasures for his great exploit. One ...
分类:
其他好文 时间:
2019-01-28 14:07:02
阅读次数:
128
给定一个非空整数数组,除了某个元素只出现一次以外,其余每个元素均出现两次。找出那个只出现了一次的元素。 说明: 你的算法应该具有线性时间复杂度。 你可以不使用额外空间来实现吗? ...
分类:
其他好文 时间:
2019-01-26 11:47:51
阅读次数:
169
以下英文内容摘自:http://www.kandroid.org/ndk/docs/OVERVIEW.htmlThe Android NDK is a set of tools that allows Android application developers to embed native ma ...
分类:
移动开发 时间:
2019-01-25 13:01:48
阅读次数:
167
std::tuple是类似pair的模板。每个pair的成员类型都不相同,但每个pair都恰好有两个成员。不同std::tuple类型的成员类型也不相同,但一个std::tuple可以有任意数量的成员。每个确定的std::tuple类型的成员数目是固定的,但一个std::tuple类型的成员数目可以 ...
分类:
编程语言 时间:
2019-01-24 21:50:18
阅读次数:
254
首先先用docker搭建es搜索es+springboot大都又是在本地搭建的es。。于是觉得自己边搜边写一篇博客作为记录使用docker:首先安装dockerpullelasticsearchdockerrun-d--namees-p9200:9200-e"discovery.type=single-node"id打开服务器ip:9200可以正常打开dockerexec-it
分类:
编程语言 时间:
2019-01-24 17:23:57
阅读次数:
317
对Discrete Mathematics Using a Computer的第一章Introduction to Haskell进行总结。环境Windows 函数毫无疑问是函数式语言的核心。 在Haskell中(无特殊指明,以下皆是指在Haskell下),一个表达式用函数完成计算被称为a func ...
分类:
其他好文 时间:
2019-01-24 13:23:41
阅读次数:
124