Easter79 Easter79
4年前
springboot与安全
概念:安全SpringSecurity是针对Spring项目的安全框架,也是SpringBoot底层安全模块默认的技术选型。他可以实现强大的web安全控制。对于安全控制,我们仅需引入springbootstartersecurity模块,进行少量的配置,即可实现强大的安全管理。几个类:    WebSec
Wesley13 Wesley13
4年前
SQL基本操作语法
查看数据库Shoudatabases;创建数据库如果没有修改my.ini配置文件的默认字符集,在创建数据库时,指定字符集createdatabasedb\_namecharacterset’utf8’;特殊字符(关键字)用反引号createdatabasecrea
Stella981 Stella981
4年前
Docker Remote API简单使用
默认情况下,Dockerdaemon监听unix://var/run/docker.sock,并且客户端必须有root权限用来与daemon交互。为了使用DockerRESTAPI,可以先停止docker服务,然后在启动的时候加H标记开启远程访问:servicedockerstopdockerdH unix:///
Stella981 Stella981
4年前
SpringBoot缓存篇Ⅱ
一.Redis环境搭建系统默认是使用ConcurrentMapCacheManager,然后获取和创建ConcurrentMapCache类型的缓存组件,再将数据保存在ConcurrentMap中开发中使用缓存中间件:redis,memcached,ehcache1.搭建redis环境在linux上安装redis(推荐使用do
Stella981 Stella981
4年前
Nginx配置自定义502页面
公司项目需要维护,没有502页面,每次访问直接是nginx默认的502。贴代码看下错误拦截是否开启 fastcgi\_intercept\_errorson;如果开启,进行下一步操作   error\_page 404500502503504 /502.html;  location/502.html{
Wesley13 Wesley13
4年前
Unity 动画系统 Animation和Animator 常用小功能
👈返回目录(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2F01zxs%2Fp%2F9987225.html)Animation控制动画播放:Animation.Play();//播放默认动画Ani
Easter79 Easter79
4年前
SpringBoot缓存篇Ⅱ
一.Redis环境搭建系统默认是使用ConcurrentMapCacheManager,然后获取和创建ConcurrentMapCache类型的缓存组件,再将数据保存在ConcurrentMap中开发中使用缓存中间件:redis,memcached,ehcache1.搭建redis环境在linux上安装redis(推荐使用do
Stella981 Stella981
4年前
SpringBoot09 之修改编译JDK版本
SpringBoot在编译的时候,是有默认JDK版本的,如果我们期望使用我们要的JDK版本的话,那么要怎么配置呢?这个只需要修改pom.xml文件的<build<plugins加入一个plugin即可。<plugin   <artifactIdmavencompilerplugin</artifactId   <con
Stella981 Stella981
4年前
IntentService用法小结
废话少说,先总结:1\.Service默认是在主线程(UI线程)运行的。2\.IntentService可以为我们开启一个独立的线程来工作。注:IntentService必须开启一个无参的构造方法。流程:构造方法onCreateonStartCommandonHandlerIntentonDestory
Easter79 Easter79
4年前
Tensorflow.cifar_数据下载过程(数据输出)
1、环境:Win7x64、python3.7x64、tensorflow1.14、CPUi59400F2、3、 3.1、cifar10,没有数据,全新下载,下到默认目录(C:\\Users\\Administrator\\tensorflow\_datasets),全过程控制台输出:(20190903)"C:\ProgramF