随笔分类 -  不想看了

摘要:我的环境 wndows10和Ubuntu18.04 samba协议:用于window和Linux共享共享文件系统、打印机及其他资源的网络协议。 smbd、nmbd是它的核心守护进程,前者监听139TCP端口,后者监听137TCP和137UDP端口。 一、安装samba ①查看安装信息: dpkg - 阅读全文
posted @ 2020-06-02 11:01 shines87 阅读(2343) 评论(0) 推荐(0)
摘要:一、全局阈值二值化、8领域去噪法 from PIL import Image, ImageDraw def saveImage(t2val,Path): width=len(t2val);height=len(t2val[0]) img = Image.new("1", (width,height) 阅读全文
posted @ 2020-05-27 22:09 shines87 阅读(400) 评论(0) 推荐(0)
摘要:一、验证码获取 import requests def downloads_pic(pic_name): url = 'https://user.guancha.cn/main/captcha?' r = requests.get(url,stream=True) with open(r'E:\Us 阅读全文
posted @ 2020-03-08 16:54 shines87 阅读(824) 评论(0) 推荐(0)
摘要:一、NAT下联网 静态ip 看网上的教程真是累! 1、更改配置文件 01-netcfg.yaml , 你的不一定是这个,需要ls查看 注意:① 用单个空格缩进 ② 冒号后面需要一个空格 ③ 每一行后面不能留有空格 如图1: 注:ens32由 命令ip a 得到。 2、 命令3:netplan app 阅读全文
posted @ 2019-09-19 13:08 shines87 阅读(1293) 评论(0) 推荐(0)
摘要:一、mongoDB安装 1.下载历史版本 ,win32/mongodb-win32-x86_64-2008plus-ssl-3.XX-signed.msi 2.双击执行,默认下载到C:\\Program Files\MongoDB\Server\3.XX\bin 3.配置① ①环境变量path C: 阅读全文
posted @ 2019-07-26 15:03 shines87 阅读(332) 评论(0) 推荐(0)
摘要:上一篇eclipse连Hadoop,并以hdfs运行为例;这篇说idea连Hadoop,并以Map Reduce为例。搬运资料并略作总结 一、项目布置 1、创建:new project -> java -> next …finish。 2、配置:File -> Project Structure: 阅读全文
posted @ 2019-07-18 12:16 shines87 阅读(1883) 评论(0) 推荐(0)
摘要:一、gcc多文件编辑 准备文件:main.c、 hello.c、 hello.h 1 /* main.c */ 2 #include <stdio.h> 3 #include "hello.h" 4 int main() 5 { 6 hello(); return 0; 7 } 8 /* hello 阅读全文
posted @ 2019-07-16 19:13 shines87 阅读(302) 评论(0) 推荐(0)
摘要:本可以快速上楼 却总在楼梯口磨磨蹭蹭,还是记录一下吧 环境 :window10 、IDEA 2018.2.4、jdk1.8.0_131 参考资料 redits简介 ①持久化于硬盘 ②key-val存储 ③存储速度块 量大。 一、搭配环境 1、下载redits:官网 -> 3.2.100 -> Ass 阅读全文
posted @ 2019-07-13 23:45 shines87 阅读(813) 评论(0) 推荐(0)
摘要:环境 :window10 、IDEA 2018.2.4、jdk1.8.0_131、Mysql。 使用springboot框架,mybits作数据处理,Thymeleaf作试图渲染。参考文章 、 项目地址 。 一、创建项目 1、new/create project -> 选择spring initil 阅读全文
posted @ 2019-07-04 17:46 shines87 阅读(545) 评论(0) 推荐(0)
摘要:环境 :window10 、IDEA 2018.2.4、jdk1.8.0_131。 使用springboot框架,mybits作数据处理,Thymeleaf作试图渲染。 参考文章 th标签 项目地址 刚入门 写细点 一、项目创建与初步配置 这样一个项目就建好了: 总述:主要是第3、4的选择使得 po 阅读全文
posted @ 2019-07-03 16:17 shines87 阅读(486) 评论(0) 推荐(0)