该项目旨在解决输入框多层嵌套的情况下软盘和输入框位置不适配的问题。 项目的github源码链接为:https://github.com/crazycodeboy/KeyboardObserver/blob/master/KeyboardObserver/KeyboardObserver.m 一、观察 ...
分类:
其他好文 时间:
2018-10-20 19:44:35
阅读次数:
232
前言 通过之前的两篇文章,可以简单的搭建一个路由网关了。而我们知道,现在都奉行 开发,前后端开发的沟通成本就增加了,所以一般上我们都是通过 进行api文档生成的。现在由于使用了统一路由网关了,都希望各微服务的 统一的聚合在网关服务中,也方便前端用户查阅,不需要每个服务单独查看。当然了,也是可以做一个 ...
分类:
编程语言 时间:
2018-10-20 13:39:08
阅读次数:
185
str.lower()或str.upper 返回字符串的副本,全部字符小写/大写 "ABcd".lower 结果为"abcd" str.split(sep=N0ne) 返回一个列表,"A,B,C".split(",")结果为['A','B','C'] str.count(sub) 返回子串sub在s ...
分类:
编程语言 时间:
2018-10-18 20:18:06
阅读次数:
205
#读取字符串str f = open('zz.txt','r',encoding='utf-8') strbig= f.read() f.close() sep ='''.,;:?!-_''' for ch in sep: strbig = strbig.replace(ch,' ') strbig... ...
分类:
其他好文 时间:
2018-10-18 13:17:04
阅读次数:
165
1.release:prepare 这条命令主要是做打包前的准备。 输入对应的release需要打包的版本等信息,如果不输入有默认的内容 将需要记录和准备的内容缓存到pom.xml目录下的release.properties文件中 在本地和远程库的GIT中打上对应版本的tag 在准备过程中还会run ...
分类:
其他好文 时间:
2018-10-17 14:52:19
阅读次数:
145
Graph Coloring POJ - 1419 You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the ...
分类:
其他好文 时间:
2018-10-16 01:50:24
阅读次数:
279
strHello='''...'''.lower() fo = open('C:\\Users\Administrator\Desktop\hello.txt', 'r', encoding='utf-8') hello = fo.read() fo.close() print(hello) sep... ...
分类:
其他好文 时间:
2018-10-15 14:20:50
阅读次数:
96
#安装scipy,numpy,sklearn包 import numpy as np # 从sklearn包自带的数据集中读出鸢尾花数据集data from sklearn.datasets import load_iris data = load_iris() # 查看data类型,包含哪些数据 ... ...
分类:
其他好文 时间:
2018-10-14 23:08:13
阅读次数:
200
using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AI; public class PlayerMove : MonoBehaviour { public Gam ...
分类:
移动开发 时间:
2018-10-14 19:20:17
阅读次数:
203