码迷,mamicode.com
首页 >  
搜索关键字:write policy    ( 16182个结果
「Groovy」- 操作文件(读取、写入) @20210223
检查文件是否存在、可读等等 File file = new File("out.txt") println file.exists() println file.canRead() 向文件写入文本 File file = new File("out.txt") file.write "First l ...
分类:其他好文   时间:2021-02-24 13:10:56    阅读次数:0
字符串交替出现
using System; namespace leecode1 { class Program { static void Main(string[] args) { string outString= string.Empty; string s1 = "abc"; string s2 = "p ...
分类:其他好文   时间:2021-02-24 12:48:10    阅读次数:0
arraylist源码
简介 实现List接口 允许任何元素,包括null 大致和Vector相当,除了ArrayList不是线程安全的 size()、isEmpty()、get()、set()、iterator()、listIterator()时间复杂度为常数 add()与增加的节点数相等,增加n个,O(n) 其他操作都 ...
分类:其他好文   时间:2021-02-23 14:37:54    阅读次数:0
Linux搭建Ldap服务器
一,服务器安装 yum install -y openldap openldap-clients openldap-servers migrationtools 二,配置ldap服务器 2.1配置ldap的域和密码 vim /etc/openldap/slapd.d/cn\=config/olcDa ...
分类:系统相关   时间:2021-02-23 14:32:21    阅读次数:0
[Spark] pyspark insertInto 去重插入数据表
pyspark有个bug, 虽然下面代码写了 write.mode("overwrite")但是不生效 spark.conf.set("hive.exec.dynamic.partition.mode", "constrict") db_df.repartition(1).write.mode("o ...
分类:其他好文   时间:2021-02-23 14:14:20    阅读次数:0
centos7 安装gitlab
#零 修订记录 | 序号 | 修订内容 |修订时间 | | | | | | 1 | 新增 |2021/2/22| #一 摘要 本文主要介绍centos 上安装gitlab #二 环境信息 ##(一) 操作系统 [root@webmysql1 ~]# lsb_release -a LSB Versio ...
分类:其他好文   时间:2021-02-23 14:03:12    阅读次数:0
前端获取ip的接口
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> document.write(returnCitySN["cip"]+','+returnCitySN["cnam ...
分类:其他好文   时间:2021-02-22 12:48:03    阅读次数:0
用Python画一颗心、小人发射爱心(附源码)
先画一个爱心, 源代码: #!/usr/bin/env python # -*- coding:utf-8 -*- import turtle import time # 画心形圆弧 def hart_arc(): for i in range(200): turtle.right(1) turtl ...
分类:编程语言   时间:2021-02-20 12:23:41    阅读次数:0
爬虫之多线程,提高效率
arr = ["http://music.163.com/song/media/outer/url?id=1820550501.mp3", "http://music.163.com/song/media/outer/url?id=1820550501.mp3", "http://music.163 ...
分类:编程语言   时间:2021-02-20 11:52:43    阅读次数:0
Kubernetes:Controller
简介 Kubernetes集群中的Controller对象可以创建和管理多个Pod,提供副本管理、健康检查、滚动升级和集群级别的自愈能力。例如,如果一个节点故障,Controller就能自动将该节点上的Pod调度到其他健康的节点上。这些Controller运行在Kubernetes集群的主节点上,它 ...
分类:Web程序   时间:2021-02-20 11:50:43    阅读次数:0
16182条   上一页 1 ... 14 15 16 17 18 ... 1619 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!