码迷,mamicode.com
首页 >  
搜索关键字:done    ( 2584个结果
GO的Rand随机数不一样
package main import ( "fmt" "math/rand" "sync" "time" ) var wg sync.WaitGroup func f1(i int) { wg.Done() fmt.Println(i) } func main() { rand.Seed(time ...
分类:其他好文   时间:2021-06-28 19:53:07    阅读次数:0
[git]error: pack-objects died of signal
现象: git clone 或是 git pull的时候会出错,error 大概如下 remote: Enumerating objects: 7433, done.remote: Counting objects: 100% (7433/7433), done.error: pack-object ...
分类:其他好文   时间:2021-06-28 18:00:00    阅读次数:0
How to Enable VNCR on RAC Database to Register only Local Instances (Doc ID 1914282.1)
VNCR is supported for the cluster. Use MOS note 1914282.1 to ensure you've done all the required steps How to Enable VNCR on RAC Database to Register ...
分类:数据库   时间:2021-06-28 17:54:34    阅读次数:0
1235. Maximum Profit in Job Scheduling
We have n jobs, where every job is scheduled to be done from startTime[i] to endTime[i], obtaining a profit of profit[i]. You're given the startTime,  ...
分类:其他好文   时间:2021-06-21 20:22:26    阅读次数:0
c++递归函数调用小常识
1,float和double类型转化在数值很大的时候慎用,比如6423.32563255(double)强制转化float类型时,精确度只能6423.325;应用场景举例:a,b两个double类型,通过求中点求离a小于0.0001的数,在求中点过程中,若有类型转化就会出现无限递归下去 2,我们经常 ...
分类:编程语言   时间:2021-06-18 19:50:16    阅读次数:0
Python学习(二)
操作列表 遍历列表 fruits = ['apple','banana','pear'] for fruit in fruits: print(fruit) #缩进表示在循环体内 print('done!') #不缩进是循环体外,避免缩进错误 使用range()创建数字列表 numbers = li ...
分类:编程语言   时间:2021-06-16 18:34:11    阅读次数:0
shell script
#ping whole local domainfor ip in {1..255};do ping -c 3 192.168.110.$ip >> ping.log;done grep '3 ttl' ping.log |awk '{print $4}' | sed 's\:\\g' |while ...
分类:系统相关   时间:2021-06-02 20:19:59    阅读次数:0
docker-compose部署nacos单机版(简洁优化版)
docker-compose部署nacos单机版(简洁优化版) 预览# 初始化数据库# MySQL 文件: https://github.com/Gleans/SpringCloudPro/blob/master/docker/mysql-init/init.sql 放到可视化工具或者命令行执行以下 ...
分类:其他好文   时间:2021-06-02 16:07:42    阅读次数:0
Git简易教程
常规步骤 新建空文件夹 在新建文件夹下打开git bush here git init 初始化本地仓库 配置自己的用户名和密码 可以随便输入,建议自己姓名+邮箱 '''自定义用户名''' git config user.name XXX '''自定义邮箱''' git config user.ema ...
分类:其他好文   时间:2021-06-02 15:50:26    阅读次数:0
⑤.shell 循环while
语法示例: while 条件为真 do echo ok done #!/bin/bash while true do echo ok done while循环数字 #!/bin/bash a=1 b=9 while [ $a -lt 10 ] do sum=$((a + b)) echo $a + ...
分类:系统相关   时间:2021-06-02 11:02:44    阅读次数:0
2584条   1 2 3 4 ... 259 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!