转到正文

存档

分类: 技术源码

现象:Pureftpd+Mysql中的status参数设置为0表示账户不启用,1表示正常使用,重新安装了Pureftpd+Mysql后这个参数不起作用了

解决:pureftpd-mysql.conf 中有关于 Pureftpd 调用 Mysql 中各参数的简单例子,修改这里即可,下面是我的文件中的,大家按照自己的数据库列名字修改即可,把默认的注释掉,默认的是没有status以及ipaccess参数的

#ADD
MYSQLGetPW SELECT Password FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")
MYSQLGetUID SELECT Uid FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")
MYSQLGetGID SELECT Gid FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")
MYSQLGetDir SELECT Dir FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")
MySQLGetQTAFS SELECT QuotaFiles FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess = "*" OR ipaccess LIKE"\R")
MySQLGetQTASZ SELECT QuotaSize FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")
MySQLGetRatioUL SELECT ULRatio FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess ="*" OR ipaccess LIKE "\R")
MySQLGetRatioDL SELECT DLRatio FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess ="*" OR ipaccess LIKE "\R")
MySQLGetBandwidthUL SELECT ULBandwidth FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess ="*" OR ipaccess LIKE "\R")
MySQLGetBandwidthDL SELECT DLBandwidth FROM users WHERE USER="\L" AND STATUS="1" AND (ipaccess ="*" OR ipaccess LIKE "\R")

这样挺好,至少安全了一些! 今天已升级。

这个是官方的无广告中文版本 仅提供X64下载
https://www.win-rar.com/fileadmin/winrar-versions/sc20181016/wrr/winrar-x64-561sc.exe

安全证书这个事情,有花钱的解决方案,还有不花钱的解决方案。咱们今天讲讲不花钱的方法,https://www.sslforfree.com/ ,在这个网站申请的证书,90天使用期,90天以后还需要重新申请。

第一步:生成SSL域名证书

点击Create Free SSL Certificate 生成域名证书

继续阅读

由于想测试一下Hipchat-server,但是没想到的是主站已经不能申请下试用key了!求助广大网友,谁有安装key,给一个用用,让我也体验一把。可以发到我的信箱:xu1701@hotmail.com,感谢!

https://confluence.atlassian.com/confkb/how-do-i-ensure-excel-file-with-wide-columns-does-not-get-truncated-in-confluence-file-previews-829068467.html

Purpose
This article contain instructions on how to change the display of excel files in confluence File Preview / light box, mainly because by default, confluence file preview will truncate excel files with wide columns/ excel files with huge number of columns.

For example, below is a sample excel file with a huge number of columns:

Upon uploading to confluence, the columns will be truncated and will be displayed as below:

继续阅读

瞎折腾第一篇:我如何实现的手机离线导航及轨迹记录

瞎折腾第二篇:PAPAGO 315 WIFI 行车记录仪深度使用测试(含GPS)

confluence,已经升级到了6.15.4了,发布一下最新的K文件(6.14版本的KEY文件继续有效)

Confluence 6.15.4安装包下载

http://techlife.com.cn/soft/iso/atlassian-confluence-6.15.4-x64.bin

K文件

链接:https://pan.baidu.com/s/1Ww2ex7PKq_LFhnUGJHh0Kg
提取码:e6i0

转自https://www.cnblogs.com/saszhuqing/p/8742997.html

Name: VMware-VCSA-all-6.5.0-8024368.iso Release Date: 2018-03-20 Build Number: 8024368
Name: VMware-vCenter-Server-Appliance-6.5.0.15000-8024368-updaterepo.zip Release Date: 2018-03-20 Build Number: 8024368
Name: VMware-VIM-all-6.5.0-8024368.iso Release Date: 2018-03-20 Build Number: 8024368

链接: https://pan.baidu.com/s/1bVW5sv8tAJNELo8vZhUQVw 密码: ubxq

从外面扒下来一个index文件,在360极速模式下均正常,但一旦切换到兼容模式,样式表就感觉加载不上了,IE同兼容模式,显示都是有问题的,后来设计部的同事给了一个解决方法:加入

<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE9,chrome=1″ />

经过测试,问题解决。