点击控件--转到槽 添加事件#include "mainwindow.h" #include "ui_mainwindow.h" #include [QMessageBox] MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindo
u file
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])
3https://www.bootcss.com/p/layoutit/4https://www.layoutit.com/build
pip install lxmlpip install bs4pip install Beautifulsoupbs4 BeautifulSoup requests htmldoc = requests.get() htmldoc.encoding = htmldoc.status_code bs=BeautifulSoup(htmldoc.text,) (bs)
/etc/apt/sources.list
Ubuntu 跟Lazarus真是个好东西
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网卡
function chk_imgclick(){ var $isChecked = $("#is_image").is(":checked"); if($('#is_image').is(':checked')) { var reg1 = new RegExp("&","g");//g,表示全部替换。 需要将这连个特殊字符
route add del
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
宝塔 ,太麻烦,安装程序有点慢http://bt.cn phpstudy 貌似不错,有些宝塔的影子http://phpstudy.netnginx php7.2(php7.4错误)mysql5.4成功
从官方网站下载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