上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 55 下一页
摘要: 建表时,指定字段case sensitive CREATE TABLE tbl_b ( ui VARCHAR ( 30 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, op VARCHAR ( 30 ) CHARACTER SET 阅读全文
posted @ 2021-04-01 14:24 ascertain 阅读(29) 评论(0) 推荐(0) 编辑
摘要: HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten 阅读全文
posted @ 2021-03-30 07:37 ascertain 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 备份MBR dd if=/dev/sda of=/opt/mbr.img bs=512 count=1 status=progress 恢复MBR dd if=/opt/mbr.img of=/dev/sdb status=progress 恢复bootloader dd if=/opt/mbr.i 阅读全文
posted @ 2021-03-29 11:26 ascertain 阅读(1371) 评论(0) 推荐(0) 编辑
摘要: https://dev.mysql.com/doc/refman/8.0/en/miscellaneous-functions.html https://dev.mysql.com/doc/refman/8.0/en/built-in-function-reference.html left(str 阅读全文
posted @ 2021-03-29 10:22 ascertain 阅读(82) 评论(0) 推荐(0) 编辑
摘要: HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conte 阅读全文
posted @ 2021-03-28 10:04 ascertain 阅读(49) 评论(0) 推荐(0) 编辑
摘要: HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten 阅读全文
posted @ 2021-03-27 16:22 ascertain 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 找出最可能被杀掉进程 #!/bin/bash printf "\e[5m%9s %9s %s\e[0m\n\n" "oom_score" "PID" "cmdline" for proc in $(find /proc/ -maxdepth 1 -regex '/proc/[0-9]+');do p 阅读全文
posted @ 2021-03-26 17:51 ascertain 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-03-26 15:56 ascertain 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 挂载 mount -t cifs -o username=gdm,password=gdm //ip/share_name /mnt 查看共享 smbclient --list //ip 远程浏览 smbclient //ip/share_name --user gdm%password 常用命令 阅读全文
posted @ 2021-03-26 15:11 ascertain 阅读(63) 评论(0) 推荐(0) 编辑
摘要: Rename database 重命名数据库 #!/bin/env bash echo -e "\e[5mthe program is designed to rename database!\e[0m" read -p 'the source database: ' src read -p 'th 阅读全文
posted @ 2021-03-26 14:20 ascertain 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 查看UUID 修改UUID tunefs -U random /dev/vda1 必须umount状态修改 阅读全文
posted @ 2021-03-24 14:22 ascertain 阅读(112) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-03-20 20:51 ascertain 阅读(25) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-03-20 15:03 ascertain 阅读(28) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-03-17 22:29 ascertain 阅读(66) 评论(0) 推荐(0) 编辑
摘要: import os, time from PyPDF2 import PdfFileReader, PdfFileWriter def get_file_list(path): file_list = [os.path.join(root, filepath) for root, dirs, fil 阅读全文
posted @ 2021-03-16 18:22 ascertain 阅读(274) 评论(0) 推荐(0) 编辑
摘要: select table_name,table_type,engine from information_schema.tables where table_schema=`database_name` order by table_name desc; 阅读全文
posted @ 2021-03-16 17:52 ascertain 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 最近开发了工具,带界面的,需要定时执行的,为了方便直接用Windows计划任务做定时了。跑了一段时间发现,进程中也有,就是看不到程序的界面,进程的执行貌似也阻塞了。 从网上查了下,发现时启动方式的问题,原来选择的不管是否登录都要运行,导致窗口类的应用启动出现问题,设置为只在登录时启动就好了。当然服务 阅读全文
posted @ 2021-03-05 16:53 ascertain 阅读(776) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-02-17 19:02 ascertain 阅读(62) 评论(0) 推荐(0) 编辑
摘要: CentOS 6操作系统版本结束了生命周期(EOL),Linux社区已不再维护该操作系统版本。建议您升级操作系统至CentOS 7及以上,如果您的业务过渡期仍需要使用CentOS 6系统中的一些安装包,请根据下文切换CentOS 6的源。 背景信息 2020年11月30日CentOS 6 EOL。按 阅读全文
posted @ 2021-01-26 15:26 ascertain 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1.交互式命令 不会执行 ip a命令,直接退出 #!/bin/env expect set timeout 3 spawn ssh -l root 172.16.30.102 expect { "yes/no" { send "yes\n";exp_continue } "password" { 阅读全文
posted @ 2021-01-20 15:07 ascertain 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 55 下一页