最新发布第10页
排序
C#—数据库访问通用类、Access数据库操作类、mysql类
//C# 数据库访问通用类 (ADO.NET) using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; using System.Configuration; names...
NAS在虚拟机中安装Centos,启动宝塔面板,配置本地网站环境
1. 在NAS的套件中心中,搜索Virtual Machine Manager,安装好虚拟机软件。配置好虚拟机,安装Centos 7,配置1核2G,就足够了。 2. 如果NAS是8G内存的,其中1.5G内存是NAS要自用的,长期启动的虚...
手把手教你如何给群晖申请免费域名+配置DDNS解析+领取SSL证书
创作立场声明:和大家分享 申请免费域名、配置群晖DDNS解析、领取免费SSL证书。 前言 不同宽带商的公网IP会随着时间或拨号时变化,如果从外网访问你的群晖,单靠记自己的IP是不行的,所以这里要...
Linux【CentOS7】防火墙启动、重启添加端口等操作
Centos6 使用的是iptables,Centos7 使用的是filewall iptables 用于过滤数据包,属于网络层防火墙。 firewall 能够允许哪些服务可用,那些端口可用...属于更高一层的防火墙。1、 f...
mysql中字符查询与替换
select * from tablename where column like '%str%'----------------------查询表中的某列里包含某str的行,column是数据表中列的名字。 update ear_bbs_threads_content set content = replac...
PHPSTORM使用技巧
(1)PHPstorm设置让它默认就显示行号 Settings->Editor->General->Appearance 第四个勾选 show line numbers (2)PHPstorm在右侧显示当前页面中包含的函数(快捷键 ALT + 7) ...
ThinkPHP6.0在phpstorm添加查询构造器和模型的代码提示
找到Model.phpvendor\topthink\think-orm\src\Model.php添加 * @method Query where(mixed $field, string $op= null, mixed $condition= null) static查询条件* @method Q...
PHP对redis操作详解
/*1.Connection*/$redis = new Redis();$redis->connect('127.0.0.1',6379,1);//短链接,本地host,端口为6379,超过1秒放弃链接$redis->open('127.0.0.1',6379,1);//短链接(同上)$redis-...
ThinkPHP 6 部署打印控件
1. 从composer安装Thinkphp 6 最新版本composer create-project topthink/think tp 2. 已经安装过的,可以到TP6根目录下升级composer update topthink/framework 3. 安装多应用插件composer req...
c# file类 文件删除、创建、重名、复制设置文件属性
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace ConAppFile { class Program { //file类,文件删除、创建、重名、复制设...