上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 27 下一页
摘要: 用法1:默认映射本地8888端口,notebook支持python3 3.8.6sudo docker run -p 8888:8888 jupyter/scipy-notebook 访问方法:运行上述命令后会输出类似下面的地址,拷贝到浏览器访问即可,token用自己命令行的输出哈,和我这个不同ht 阅读全文
posted @ 2020-12-16 19:36 船长博客 阅读(1154) 评论(0) 推荐(0) 编辑
摘要: 本文采用Python2.7调试通过 #!/usr/bin/python #encoding=utf-8 #表头,根据自己的情况修改 biaotou=['姓名','手机号','身份证号','入职日期','入职时间','入职单位'] #源文件路径,windows路径写法:"C:\\Users\\ann\ 阅读全文
posted @ 2020-12-16 14:47 船长博客 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 1.点左下角齿轮图标,再点setting(也可用Ctrl + , 快捷键打开Settings文件)2.搜索files.trimTrailingWhitespace,将选项勾选3.关闭Settings标签页4.回到需要处理的文件按Ctrl + s保存即自动去除行尾空格 阅读全文
posted @ 2020-12-16 14:41 船长博客 阅读(2025) 评论(0) 推荐(0) 编辑
摘要: let arr1 = [1, 2, 3]; arr1.includes(2) true arr1.indexOf(2)>0 true util.oneOf = function (ele, targetArr) { if (targetArr.indexOf(ele) >= 0) { return 阅读全文
posted @ 2020-12-10 19:39 船长博客 阅读(900) 评论(0) 推荐(1) 编辑
摘要: 1. find / -name pg_hba.conf2. sudo vi /etc/postgresql/13/main/pg_hba.conf 3. 拉到最下面,把postgres所在行的md5改成trust local all postgres md5 改后: 4. sudo service 阅读全文
posted @ 2020-12-08 20:06 船长博客 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: 1. 光标定位到需要添加锚点行的行首,输入{会弹出快捷菜单,选择打开宠浏览器(快捷键CTRL + SHIFT + A) 2. 搜索anchor或锚找到后点一下锚标志,提示输入锚名称,例:home,点击插入3. 选中需要添加链接到锚点的文字,按CTRL + K会打开插入链接对话框,点高级,在链接框里输 阅读全文
posted @ 2020-12-07 21:03 船长博客 阅读(8072) 评论(0) 推荐(1) 编辑
摘要: 1.新建源文件Test.java public class Test { public static void main(String[] args) { for(int i = 0; i < args.length;i++ ){ System.out.println("args[" + i + " 阅读全文
posted @ 2020-12-01 17:00 船长博客 阅读(6728) 评论(0) 推荐(1) 编辑
摘要: curl: (51) Cert verify failed: BADCERT_EXPIRED $ wget 'https://x.x.x.x/get_ips' --no-check-certificate $ curl 'https://x.x.x.x/get_ips' -k 参考: https:/ 阅读全文
posted @ 2020-11-28 10:53 船长博客 阅读(1528) 评论(0) 推荐(0) 编辑
摘要: #下载服务器目录到本地当前目录(.代表当前目录) scp -r root@mumu:/home/work . #拷贝文件到服务器/home/root目录 scp /etc/profile root@mumu:/home/root #拷贝本地/bin目录到服务器 scp -r /bin root@mu 阅读全文
posted @ 2020-11-28 10:48 船长博客 阅读(2411) 评论(0) 推荐(0) 编辑
摘要: >>> names = ["john", "hack", "blank"] >>> abc = sorted(names) >>> abc ['blank', 'hack', 'john'] >>> abcd = sorted(names, reverse=True) >>> abcd ['john 阅读全文
posted @ 2020-11-25 20:39 船长博客 阅读(4147) 评论(0) 推荐(0) 编辑
摘要: 在项目目录新建文件:.Rprofile,注意大小写,内容如下: cat("Welcome to this project.\n") require(ggplot2) require(zoo) File - Open Project 选择项目目录打开,能看到控制台输出Welcome to this p 阅读全文
posted @ 2020-11-25 20:27 船长博客 阅读(660) 评论(0) 推荐(0) 编辑
摘要: ctrl + enter 执行 ctrl + shift + M : %>% alt + - : <- 阅读全文
posted @ 2020-11-25 17:23 船长博客 阅读(805) 评论(0) 推荐(0) 编辑
摘要: # abc的类型为tbl_spark class(abc) #"tbl_spark" #列名 colnames(abc) #行数 abc %>% count() # 把abc转为data frame a <- data.frame(abc) class(a) #"data.frame" #行列数 d 阅读全文
posted @ 2020-11-17 21:10 船长博客 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: abc.replace(/,/g,"\n"); 阅读全文
posted @ 2020-11-17 21:00 船长博客 阅读(4128) 评论(0) 推荐(1) 编辑
摘要: abc.toString(); 阅读全文
posted @ 2020-11-17 20:59 船长博客 阅读(1006) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 27 下一页
永远相信美好的事情即将发生!