摘要:
打开cmd 窗口 使用 cd 命令切换目录到 E:\Redis3.2(本机redis安装位置) 运行(以下命令都在该目录下运行) 1.启动服务 redis-server.exe redis.windows.conf 2.启动客户端 redis-cli.exe -h 127.0.0.1 -p 6379 阅读全文
摘要:
IDEA开发工具配置记录 1.idea导入包时设置不会变成 * 号 (用*号导包时会降低编译速度,但是不会降级运行速度。但只会编译一次,影响不是很大。还有查找是不会很方便,不能直接的知道是哪个类) 打开设置>Editor>Code Style>Java>Scheme Default>Imports 阅读全文
摘要:
1.LEFT(character,integer) 2.RIGHT(character,integer) 阅读全文
摘要:
1、CHAR。CHAR存储定长数据很方便。不论你存储的数据是否达到了10个字节,都要占去10个字节的空间 2、VARCHAR。存储变长数。 varchart(n):长度为 n 个字节的可变长度且非 Unicode 的字符数据。范围1 ~ 8000 3、NVARCHAR。它表示存储的是Unicode数 阅读全文
摘要:
表锁 1:TABLOCK(表锁) 保证其他进程只能读取而不能修改数据。 select * from t_country with (TABLOCK) 2:TABLOCKX(排它表锁) 防止其他进程读取或修改表中的数据。 select * from t_country with (TABLOCKX) 阅读全文
摘要:
一.XML配置 SpringMVC如果要使用AOP注解,必须将放在spring-servlet.xml(配置MVC的XML)中<!-- 启用CGliB --><aop:aspectj-autoproxy proxy-target-class="true" /> 二.自定义注解@Target({Ele 阅读全文
摘要:
1. 克隆代码到本地时,出现The authenticity of host 'XX' can't be established. 无法与XX建立连接 解决:将自己本地生成的ssh公钥id_rsa.pub,放到服务器XX的公钥数据库authorized_keys上即可。 ssh git@XX 'ca 阅读全文
摘要:
1.SQL server数据类型int、bigint、smallint、tinyintbigint: -2^63 ~2^63-1 8 字节int: -2^31~ 2^31-1 4 字节smallint: -2^15~2^15-1 2 字节tinyint: 0 到 255 1 字节 如果错误,请指出, 阅读全文
摘要:
1.行:el-row列:el-col例:<el-row> <el-col :span="20"><div class="grid-content bg-purple-dark"></div></el-col> <el-col :span="4"><div class="grid-content bg 阅读全文
摘要:
1.实现双向数据绑定v-bind:href缩写 :href v-bind:class="{ active: isActive, 'text-danger': hasError }"v-bind:style 直接设置样式 2.监听 DOM 事件v-on例:v-on:click="dosomething 阅读全文