Stella981 Stella981
3年前
PhoneGap设置Icon
参考:http://cordova.apache.org/docs/en/latest/config\_ref/images.html通过config.xml中的<icon标签来设置Icon<iconsrc"res/ios/icon.png"platform"ios"width"57"height"57"densi
Stella981 Stella981
3年前
Redis 字符串(String)
SETkeyvalue设置指定key的值GETkey获取指定key的值。GETRANGEkeystartend返回key中字符串值的子字符GETSETkeyvalue将给定key的值设为value,并返回key的旧值(oldvalue)。
Stella981 Stella981
3年前
Spring Security教程之Spring Security实现访问控制
在SpringSecurity中,实现访问控制或权限控制是非常容易实现的,请看下面的代码片段:123  <http autoconfig"true"    <intercepturl pattern"/admin\" access"ROLE\_ADMIN" /  </http它的意思是,只有“ROLE\_ADM
Wesley13 Wesley13
3年前
mysql 工具
mysql增加慢日志vim my.conf\超过1s的查询会记录到日志文件中long\_query\_time1logslowqueries/data/var/mysql\_slow.log\记录没用索引的查询logqueriesnotusinginde
Stella981 Stella981
3年前
Play FrameWork 2.0 Scala学习笔记
//PlayFrameWork2.0 ScalarequstroutesControllerActionResultHtmlplay中的大多数请求都是有一个Action来处理的,当请求一个事件时,会由Routes规则进行匹配,交给相应的Controller,Controller找到指定
Stella981 Stella981
3年前
Flask实战第52天:cms添加轮播图前端代码逻辑完成
首页我们在模态框中的保存按钮加一个id,这样方便我们选取这个按钮<buttontype"button"class"btnbtnprimary"id"savebannerbtn"保存</button在static/cms/js/下新建banners.js$(function(){$("
Stella981 Stella981
3年前
Eclipse与github的连接
一、在Eclipse上安装GIT插件EGit打开Eclipse,找到工具栏中的Help。!在这里插入图片描述(https://imgblog.csdnimg.cn/20200917144136339.png?xossprocessimage/watermark,type_ZmFuZ3poZ
Wesley13 Wesley13
3年前
PIL 学习
参考资料:Python图像处理库:pillow(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.hjqjk.com%2F2017%2FImageprocessinglibraryofpythonpillow.html)Image类Pillow中
Stella981 Stella981
3年前
Hibernate学习之SessionFactory
由于SessionFactory是一个重量级的类,在一个应用中我们需要做成单例的,我选择的做法是:\importorg.hibernate.SessionFactory;importorg.hibernate.cfg.Configuration;
公孙晃 公孙晃
2年前
矢量图设计工具推荐,Illustrator 2022 破解
Illustrator2022中文版是一款强大的矢量图设计工具,可以制作适用于印刷、Web、视频和移动设备的徽标、图标、绘图、版式和插图!