风花雪月 风花雪月
2年前
sqlite远程访问的方法Python
importsqlite3打开数据库dbsqlite3.connect('\\\\192.168.1.10\共享\sjk\dbhmc.db')远程访问sqlite,共享必须要四个'\'使用cursor()方法获取操作游标cursordb.cursor()s
LinMeng LinMeng
4年前
日期
根据险种的可选择年龄区间(年)获取出生年月日展示区间规则当前年年龄/当前月/当前日1/util.getAgeRangeWithYearfunction(age)letnowDateYearnewDate().getFullYear()1;letnowDateMonthnewDate().getMonth(
Easter79 Easter79
4年前
swipe实现app滑动效果
t滑动事件时间,毫秒n次数coidngutf8'''获取当前窗口长宽'''defget_size(dr):xint(dr.get_window_size()'width')yint(dr.get_window_size()'height')returnx,y'''向上滑'''defswip
Stella981 Stella981
4年前
Google Chrome v80.0.3987.106 正式版发布
http://www.cnbeta.com/articles/soft/943757.htm!(https://static.cnbetacdn.com/topics/4c1433259bb8939.png"GoogleChrome谷歌浏览器")(https://www.oschina.net/action/GoToLink?url
Stella981 Stella981
4年前
Redis 字符串(String)
SETkeyvalue设置指定key的值GETkey获取指定key的值。GETRANGEkeystartend返回key中字符串值的子字符GETSETkeyvalue将给定key的值设为value,并返回key的旧值(oldvalue)。
Stella981 Stella981
4年前
Android PLT hook 概述
获取代码和资源请点击原文链接开始新的动态库我们有一个新的动态库:libtest.so。头文件test.hifndefTEST_HdefineTEST_H1ifdef__cplusplusextern"C"{endif
Stella981 Stella981
4年前
Jenkins下Vue自动部署(二)
1Jenkins配置获取首次密码sudodockerexecjenkinscat/var/jenkins\_home/secrets/initialAdminPassword!(https://oscimg.oschina.net/oscnet/6d95b76432470893e66feea9d48b9ef130c.png)2!
Stella981 Stella981
4年前
Chrome OS 或将获得类似 macOS 的触发角功能
http://www.cnbeta.com/articles/tech/941199.htm!(https://static.cnbetacdn.com/topics/4c1433259bb8939.png"GoogleChrome谷歌浏览器")(https://www.oschina.net/action/GoToLink?url
Stella981 Stella981
4年前
PHP中解决ajax请求session过期退出登录问题
PHP判断一个请求是Ajax请求还是普通请求(http://my.oschina.net/junn/blog/150273)1、session过期,如果直接是url请求,或者用户在打开的系统页面中直