1 name = "my name is {name} and my age is {age}" 2 3 # 首字母大写 4 name.capitalize() 5 # 统计某个字符的个数 6 name.count("a") 7 # name 放到中间一共打印50个字符,不够用 - 补上 8 nam... ...
分类:
编程语言 时间:
2017-07-30 20:30:16
阅读次数:
147
yum install gcc glibc-devel make ncurses-devel openssl-devel xmlto 1.Erlang安装配置 下载安装包,地址http://www.erlang.org/downloads,我选择的是otp_src_18.3.tar.gz。 然后解压 ...
分类:
系统相关 时间:
2017-07-30 20:07:49
阅读次数:
292
报错一: Unknown custom element: <custom-select> - did you register the component correctly? For recursive components, make sure to provide the "name" opt ...
分类:
其他好文 时间:
2017-07-30 20:00:13
阅读次数:
6957
在平时运维工作中,经常需要用到LNMP应用框架。以下对LNMP环境部署记录下: 1)前期准备:为了安装顺利,建议先使用yum安装依赖库[root@opd ~]#yum install -y make cmake gcc gcc-c++ autoconf automake libpng-devel l ...
分类:
其他好文 时间:
2017-07-30 17:09:28
阅读次数:
178
Going from u to v or from v to u? Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 17383 Accepted: 4660 Description In order to make their s ...
分类:
其他好文 时间:
2017-07-30 16:59:49
阅读次数:
259
前提要求(optional) 安装Zabbix监控工具前,先安装必要的执行工具包 yum install gcc gcc-c++ make openssl-devel curl wget net-snmp net-snmp-utils net-snmp-libs net-snmp-devel gnu ...
分类:
其他好文 时间:
2017-07-30 16:57:59
阅读次数:
158
我所使用的开发板是:友善之臂smart210,cpu为s5pv210.u-boot版本是:u-boot-2012-10 1,首先在u-boot中配置相对应的开发板的配置文件 #make s5p_goni_config 2,设事先编译好的交叉编译器放在Makefile中添加上去,打开Makefile ...
分类:
其他好文 时间:
2017-07-30 15:50:12
阅读次数:
214
偶然间发现android中有Snackbar类,还是有点意思,类似于toast。与toast相比,最明显的区别是:Snackbar只能在屏幕底部显示。其他用法基本与toast相似。 先来张效果图吧,静态图: 大概的用法呢?: [html] view plain copy Snackbar.make( ...
分类:
移动开发 时间:
2017-07-30 14:53:48
阅读次数:
398
Parquet Parquet is a columnar storage format for Hadoop. Parquet is designed to make the advantages of compressed, efficient colunmar data representat ...
分类:
其他好文 时间:
2017-07-30 13:57:11
阅读次数:
309