上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: echarts是百度之前的一个开源项目,后来交给了apache管理,web报表中此项目占据了绝大部分市场份额。POI占据了j2se的大部分分额。 echarts技术关键为js和ajax的后期前台页面渲染。 可以实现bar柱图和饼图等,比较丰富。 代码之后奉上。。。。 阅读全文
posted @ 2021-08-13 18:22 琴声清幽 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 总统来说,关键是引用js 和 css,尤其是那些cdn的公网加速后的js和css,包括jquery和datetimepicker.css,本地化时间格式的js,datetimepicker.js 一、jsp页面 引入 js <% pageContext.setAttribute("APP_PATH" 阅读全文
posted @ 2021-08-13 18:20 琴声清幽 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: 添加验证码 效果如下: 步骤: 引入pom <!--验证码--> <dependency> <groupId>com.github.penggle</groupId> <artifactId>kaptcha</artifactId> <version>2.3.2</version> </depend 阅读全文
posted @ 2021-08-06 08:11 琴声清幽 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 容易搞错的一点 在manage project item中添加FWLIB中的src,在预编译时,c/c++ 的include path中添加的时FWLIB中的inc 建立文件夹Demo_stm32,作为项目根目录 在demo下,建立 OBJ,CORE,STM32F10x_FWLIB,USER,SYS 阅读全文
posted @ 2021-07-07 16:22 琴声清幽 阅读(849) 评论(0) 推荐(0) 编辑
摘要: 在ST-LINK utility中连接芯片,提示仿真器版本过低,点击更新,报错提示:“ST LINK is not in the DFU mode plesse restart it”操作步骤1、拔掉stlink2、插上stlink(需要确保stlink没有连上MCU)(或者把实验板关机)3、不要搞 阅读全文
posted @ 2021-07-06 14:48 琴声清幽 阅读(3600) 评论(0) 推荐(0) 编辑
摘要: 单片机: 90C516RD+ 51单片机,普中实验板使用, RD+表示可以扩展RAM的大小,一般rd+的RAM为1280 89C52RC 40I-PDIP40 1402H1R885.90C 51单片机,郭天祥实验板使用,c 指cmos,5后面的数乘以*4k表示内部程序存储的大小。40I,表示支持最大 阅读全文
posted @ 2021-06-27 19:17 琴声清幽 阅读(2654) 评论(0) 推荐(0) 编辑
摘要: /* 用来实现 数码管 段选与位选 */ #include <reg52.h> typedef unsigned char uchar; typedef unsigned int uint; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={ 0 阅读全文
posted @ 2021-06-13 13:57 琴声清幽 阅读(600) 评论(0) 推荐(0) 编辑
摘要: #include <reg52.h> typedef unsigned int uint; typedef unsigned char uchar; sbit led = P1^1; uint tt=0; uint i =0; void main(){ // led =0; TMOD = 0x01; 阅读全文
posted @ 2021-06-09 17:08 琴声清幽 阅读(237) 评论(0) 推荐(0) 编辑
摘要: #include <reg52.h> sbit d1 = P1^0; // 定义第一个发光二极管 int i; void main(){ EA = 1; // 开总中断 EX0= 1; // 开外部中断0 /*** 因为这两个地方涉及到内部寄存器,不是外部IO口,所以默认的电平是0,只有外部IO口, 阅读全文
posted @ 2021-06-09 09:01 琴声清幽 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 用命令在 bash here 然后 ,git init , 再在 gitee上创建仓库,不初始化 在pc上,git commit -m "xxx" 以下为第一次提交时的关键代码 git remote add origin https://gitee.com/sdgtxuyong/gtx_projec 阅读全文
posted @ 2021-06-07 10:34 琴声清幽 阅读(56) 评论(0) 推荐(0) 编辑
摘要: <style> .carousel-control.left { background-image:none; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr= 阅读全文
posted @ 2021-05-20 17:16 琴声清幽 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 阿里云默认已经有安全防护,不需要自己再定义。 首先查看,配置文件,可以看出,这两个模块,已经内置 ,不需要另外安装。 ./configure --help | grep http_limit_ --without-http_limit_conn_module disable ngx_http_lim 阅读全文
posted @ 2021-05-18 09:44 琴声清幽 阅读(700) 评论(0) 推荐(0) 编辑
摘要: wget http://blog.zyan.cc/soft/linux/webbench/webbench-1.5.tar.gztar zxvf webbench-1.5.tar.gzcd webbench-1.5 yum -y install gcc automake autoconf libto 阅读全文
posted @ 2021-05-17 15:37 琴声清幽 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1. 书写 configration的bean @Configuration public class ErrorConfig implements ErrorPageRegistrar { @Override public void registerErrorPages(ErrorPageRegi 阅读全文
posted @ 2021-05-05 09:50 琴声清幽 阅读(267) 评论(0) 推荐(0) 编辑
摘要: C:\ProgramData\Lenovo\devicecenter\LockScreen\cache C:\ProgramData\Lenovo\devicecenter\Wallpaper 阅读全文
posted @ 2021-05-04 15:58 琴声清幽 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 今天更新 推荐置顶栏目时,碰到,mybatis报错,提示无法映射,检查sql,mapper,都没有问题 后来,因为更改了bean、,加入了构造器和tostring,把无参的构造器给忽略了 加上无参构造器后,一切ok 阅读全文
posted @ 2021-05-03 18:50 琴声清幽 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 抽取为接口后, springboot事务开启,不在报错。 @Transactional public interface DescriptionService { public Description addDescription(Description description) ; 启动类 @Sp 阅读全文
posted @ 2021-04-30 08:55 琴声清幽 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 首先建立配置类,实例化2个CacheManager的bean,且实现json序列化,其中一个设为primary,,然后,在实际的service层注解中,用cachemanage引用这个两个不同的bean,, @Configuration public class RedisManager { @Be 阅读全文
posted @ 2021-04-29 15:34 琴声清幽 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 主要原因是,json做序列化的时候,级联报错。 解决办法, 用jedis,删除这个key,key需要自己拼接, zhouyiContentService.modifyZhouyiContent(zhouyiContent); ShardedJedis jedis = shardedJedisPool 阅读全文
posted @ 2021-04-28 08:36 琴声清幽 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 原载于zookeeper的java 代码 public class TestCRUD{ private static final String zkServers ="192.168.72.151:2181" private static ZkClient zkClient= null; stati 阅读全文
posted @ 2021-04-27 14:07 琴声清幽 阅读(30) 评论(0) 推荐(0) 编辑
摘要: JedisPoolUtil public class JedisPoolUtil { ​ private static volatile JedisPool jedisPool = null;// 被volatile修饰的变量不会被本地线程缓存,对该变量的读写都是直接操作共享内存。 ​ privat 阅读全文
posted @ 2021-04-27 13:51 琴声清幽 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 首先安装好mysql集群, 做了1主2从的,读写分离的配置,见上篇博文 安装mycat, 解压Mycat-server-1.6.7.1-release-20190627191042-linux.tar.gz 得到 mycat 文件夹 启动,进入 bin/, ./mycat start 进入logs, 阅读全文
posted @ 2021-04-20 15:11 琴声清幽 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 安装linux centos 7 安装完毕后,修改网卡地址,关闭防火墙,关闭selinux 网卡: vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 改为静态ip获取,关键的是,这5行。 #BOOTPROTO=dhcp BOOTPROTO=staticIP 阅读全文
posted @ 2021-04-19 14:28 琴声清幽 阅读(52) 评论(0) 推荐(0) 编辑
摘要: git init 初始化 git add xxx.txt 添加文件 git commit -m "xxxxx" 提交文件 git remote add <name> <url> //添加远程 :(版本地址需要提前在网站上创建,并且之前要配置好ssh的key等,不再赘述。) 如: git的名字,在li 阅读全文
posted @ 2021-04-16 10:13 琴声清幽 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 项目用springboot,在上线后,需要部署流程图和xml文件,从新部署了一个war官方的explorer的包,以用来生成流程图和xml 需要改三个地方 1.在电脑的系统变量里,添加JAVA_TOOL_OPTIONS, 值为:-Dfile.encoding=UTF-8 这一步可以在xml文件里,不 阅读全文
posted @ 2021-04-15 16:01 琴声清幽 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 在wx上建立global的变量,然后request的时候,发送出去 关键代码,在请求体外 const app = getApp(); 在请求体内 historyId:app.globalData.zhanbuYao.data.historyId, 在方法体第一行的console.log 可以看到,取 阅读全文
posted @ 2021-04-12 13:37 琴声清幽 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 微信小程序使用session时注意的问题 https://www.cnblogs.com/liuyj-top/p/12910365.html 微信小程序不能保存Cookie,导致每次wx.request到服务端都会创建一个新的会话(传过去的sessionid会变化),小程序端就不能保持登录状态了。 阅读全文
posted @ 2021-04-11 17:46 琴声清幽 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 建立springboot项目,2.4.4 activiti 5.22 建立 activiti.cfg.xml在/src/main/resources <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframe 阅读全文
posted @ 2021-04-06 09:29 琴声清幽 阅读(100) 评论(0) 推荐(0) 编辑
摘要: jstat -gcutil -t 1293 1000 // 总结垃圾回收 按百分比监控, 监控pid 为 1293进程,每1000毫秒更新一次,-t 打印时间戳 jstat -gc 1293 1000 // 原始监控 pid 为1293 java -XX:+PrintCommandLineFlags 阅读全文
posted @ 2021-04-06 08:43 琴声清幽 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-05 15:15 琴声清幽 阅读(38) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页