QT QMessageBox 4年前 2020-04-08 05:29    Linux      0评

   点击控件--转到槽 添加事件#include "mainwindow.h" #include "ui_mainwindow.h" #include [QMessageBox] MainWindow::MainWindow(QWidget *parent) :     QMainWindow(parent),     ui(new Ui::MainWindo

阅读全文

基于centos samba 服务器或者 ftp site 手机备份方案 4年前 2020-04-02 09:08    Linux      0评

u file

阅读全文

python sqlite3 4年前 2020-04-04 09:32    Python      0评

import  sqlite3 conn=sqlite3.connect("/home/sl/1.db") c=conn.cursor() c.execute("select * from a") for r in c.fetchall():     print(r[1])

阅读全文

Bootstracp可视化布局 4年前 2020-04-02 10:33    DrCMS开发      0评

3https://www.bootcss.com/p/layoutit/4https://www.layoutit.com/build

阅读全文

Request Beautifulsoup lxml读取网页代码 4年前 2020-03-31 11:17    Python      0评

pip install lxmlpip install bs4pip install Beautifulsoupbs4 BeautifulSoup requests htmldoc = requests.get() htmldoc.encoding = htmldoc.status_code bs=BeautifulSoup(htmldoc.text,) (bs)

阅读全文

ubuntu apt 源 4年前 2020-03-31 10:41    Linux      0评

/etc/apt/sources.list

阅读全文

tar常用简单命令 4年前 2020-03-31 08:17    Linux      0评

压缩tar -cf 1.tar.gz ./source    c createf file force将目录./source 新建 打包为 1.tar.gz ,注意,不压缩tar -czf 1.tar.gz ./source 压缩z解压缩tar -xf 1.tar.gz -x, --extract, --get       从归档中解出文件

阅读全文

pymysql 4年前 2020-03-31 11:40    Python      0评

                                                         import pymysql conn = pymysql.connect('localhost', '*', '**', 'www') c = conn.cursor() c.execute("select *

阅读全文

基于Ubuntu+Lazarus编写的 DCILinux移植 成功 4年前 2020-04-02 10:35    Linux      0评

Ubuntu 跟Lazarus真是个好东西

阅读全文

Ubuntu 上网设置 4年前 2020-03-30 08:36    Linux      0评

vim /etc/network/interfacesifconfigauto enp1s0iface enp1s0 inet dhcp#auto lo#iface lo inet loopback#auto enp1s0#iface enp1s0 inet static#address 192.168.1.3#netmask 255.255.255.0#gateway 192.168.1.1网卡

阅读全文

jquery 正则表达式替换?问题 4年前 2020-04-08 05:30    DrCMS开发      0评

function chk_imgclick(){     var $isChecked = $("#is_image").is(":checked");     if($('#is_image').is(':checked')) {          var reg1 = new RegExp("&","g");//g,表示全部替换。 需要将这连个特殊字符

阅读全文

Ubuntu 路由route 4年前 2020-03-29 07:49    公告      0评

route add del 

阅读全文

Ubuntu下完全卸载nginx服务器 4年前 2020-03-29 08:10    Linux      0评

root@sl-desktop:/var# lsof -i:80先看看谁占据80端口再删除的好    删除nginx,–purge包括配置文件sudo apt-get --purge remove nginx自动移除全部不使用的软件包sudo apt-get autoremove 列出与nginx相关的软件 并删除显示的软件dpkg --get-selections|grep nginxsudo

阅读全文

Ubuntu 一键安装lnmp 开发包 4年前 2020-03-29 08:10    Linux      0评

宝塔 ,太麻烦,安装程序有点慢http://bt.cn phpstudy 貌似不错,有些宝塔的影子http://phpstudy.netnginx php7.2(php7.4错误)mysql5.4成功

阅读全文

Ubuntu 安装sumlime 4年前 2020-03-27 10:41    Linux      0评

从官方网站下载sublime_text_3_build_3211_x64.tar.bz2tar -xf sublime_text_3_build_3211_x64.tar.bz2sudo apt install nginxsudo apt install php php-fpm sudo apt-get install php7.2 php7.2-fpm

阅读全文

鲁ICP备19029146号-1 管理
CopyRight@51dr.top 页面打开时间 0.0301 秒.