会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ascertain
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
28
29
30
31
32
33
34
35
36
···
55
下一页
2021年4月1日
MySQL 建表相关
摘要: 建表时,指定字段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
阅读(35)
评论(0)
推荐(0)
2021年3月30日
分页器
摘要: 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
阅读(53)
评论(0)
推荐(0)
2021年3月29日
Linux dd命令 鄙视各种坑爹错误教程
摘要: 备份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
阅读(1704)
评论(0)
推荐(0)
MySQL: built-in function
摘要: 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
阅读(94)
评论(0)
推荐(0)
2021年3月28日
类实现轮播图
摘要: 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
阅读(57)
评论(0)
推荐(0)
2021年3月27日
放大器
摘要: 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
阅读(65)
评论(0)
推荐(0)
2021年3月26日
OOM Killer
摘要: 找出最可能被杀掉进程 #!/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
阅读(64)
评论(0)
推荐(0)
Java Spring cloud classic architecture
摘要:
阅读全文
posted @ 2021-03-26 15:56 ascertain
阅读(56)
评论(0)
推荐(0)
Samba
摘要: 挂载 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
阅读(70)
评论(0)
推荐(0)
MySQL常用shell脚本
摘要: 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
阅读(205)
评论(0)
推荐(0)
2021年3月24日
ext4文件系统
摘要: 查看UUID 修改UUID tunefs -U random /dev/vda1 必须umount状态修改
阅读全文
posted @ 2021-03-24 14:22 ascertain
阅读(131)
评论(0)
推荐(0)
2021年3月20日
选项卡,类
摘要: <!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
阅读(30)
评论(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
阅读(35)
评论(0)
推荐(0)
2021年3月17日
运动函数
摘要: <!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
阅读(71)
评论(0)
推荐(0)
2021年3月16日
python合并pdf
摘要: 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
阅读(290)
评论(0)
推荐(0)
MySQL information_schema
摘要: 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
阅读(46)
评论(0)
推荐(0)
2021年3月5日
Windows计划任务执行时不显示窗口的问题
摘要: 最近开发了工具,带界面的,需要定时执行的,为了方便直接用Windows计划任务做定时了。跑了一段时间发现,进程中也有,就是看不到程序的界面,进程的执行貌似也阻塞了。 从网上查了下,发现时启动方式的问题,原来选择的不管是否登录都要运行,导致窗口类的应用启动出现问题,设置为只在登录时启动就好了。当然服务
阅读全文
posted @ 2021-03-05 16:53 ascertain
阅读(975)
评论(0)
推荐(0)
2021年2月17日
分页器
摘要: <!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
阅读(69)
评论(0)
推荐(0)
2021年1月26日
CentOS 6 EOL如何切换源
摘要: CentOS 6操作系统版本结束了生命周期(EOL),Linux社区已不再维护该操作系统版本。建议您升级操作系统至CentOS 7及以上,如果您的业务过渡期仍需要使用CentOS 6系统中的一些安装包,请根据下文切换CentOS 6的源。 背景信息 2020年11月30日CentOS 6 EOL。按
阅读全文
posted @ 2021-01-26 15:26 ascertain
阅读(229)
评论(0)
推荐(0)
2021年1月20日
expect Linux
摘要: 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
阅读(135)
评论(0)
推荐(0)
上一页
1
···
28
29
30
31
32
33
34
35
36
···
55
下一页
公告