posted @ 2019-12-08 21:55
lshan
阅读(9)
推荐(0)
摘要:
参考该兄弟写的就可以了:https://www.jianshu.com/p/546839bbde8c
阅读全文
posted @ 2019-12-08 21:18
lshan
阅读(167)
推荐(0)
摘要:
原文:https://blog.csdn.net/xwd18280820053/article/details/70655144 数据合并 在pandas中可以通过merge对数据进行合并操作。 import numpy as np import pandas as pd data1 = pd.Da
阅读全文
posted @ 2019-12-08 21:12
lshan
阅读(1306)
推荐(0)
posted @ 2019-12-07 14:43
lshan
阅读(7)
推荐(0)
摘要:
1. 基本导出 2. 读取模板,填写数据 1. 基本导出 /** * query and filter req by Sun * @throws Exception */ @Test public void testQueryWorkNos() throws Exception { System.e
阅读全文
posted @ 2019-12-06 17:33
lshan
阅读(334)
推荐(0)
摘要:
/** * 解析excel */ @Test public void testPassExcel() throws Exception { // 从 template.xls 文件中读取数据,并保存到 ArrayList<Area> 中后打印输出。 // 1、获取文件输入流 InputStream
阅读全文
posted @ 2019-12-06 16:24
lshan
阅读(323)
推荐(0)
摘要:
link:https://www.jianshu.com/p/9b58a81269e7查看防火墙状态 sudo ufw status 开启/关闭防火墙 sudo ufw enable|disable 设置默认策略 sudo ufw default allow|deny UFW 使用范例: 允许 53
阅读全文
posted @ 2019-12-06 15:25
lshan
阅读(123)
推荐(0)
摘要:
原文:https://www.cnblogs.com/zhenxiangyue/p/10900319.html 参考:https://www.cnblogs.com/wangcp-2014/p/5851986.html 方法1: public void method1() { FileWriter
阅读全文
posted @ 2019-12-05 13:47
lshan
阅读(5023)
推荐(0)
摘要:
1.添加用户: 一、创建用户 1. 创建用户:Sea为用户名 -> sudo useradd -m sea -d /home/sea -s /bin/bash 2、为创建的用户设置密码 -> sudo passwd sea 3、修改用户的权限:( /etc/sudoers文件只有r权限,在改动前需要
阅读全文
posted @ 2019-11-29 13:40
lshan
阅读(4589)
推荐(0)
摘要:
原文:https://blog.csdn.net/nbxuwentao/article/details/90524349 方案一: 解决方案 1. vi etc/apt/sources.list 2. 将里面的内容替换成下面这些(artful可以更换,主要看http://mirrors.163.co
阅读全文
posted @ 2019-11-28 23:27
lshan
阅读(2791)
推荐(0)