- 博客(5)
- 收藏
- 关注
原创 echo 手册
echo 手册手册一般脚本提示语格式手册ECHO(1) User Commands ECHO(1)NAME echo - display a line of text echo 展示文本SYNOPSIS echo [SHORT-OPTION]... [STRING]... echo LONG-OPTIONDESCRIPTION Ec
2021-02-05 16:05:16
120
原创 检查g++编译器 是否支持 C++11
检查G++编译器 是否支持 C++1For check support C++14 and other. Testing on GCC 5.2.1.#include <iostream>int main(){ #if __cplusplus==201402L std::cout << "C++14" << std::endl; #elif __cplusplus==201103L std::cout
2021-01-29 17:12:59
1343
原创 如何备份和恢复Mysql或mariaDB数据库
如何备份和恢复Mysql或mariaDB数据库1. 数据库的备份以root 登录 将root用户 名 密码 储存到 /root/.my.cnf[client]user = rootpassword = yourmysqlrootpassword并将 权限改为 600 chmod 600 这样 就只能 root 用户 进行读写了备份某一个用户的 数据库mysqldump --add-drop-table --databases yourdatabaseaname > /h
2020-12-23 13:18:16
188
原创 Specified key was tooo long ; max key length is 767 bytes
Mysql “Specified key was tooo long ; max key length is 767 bytes”when i use gogs on my raspberry pi to build a personal git serverit maybe using a mysql script , it give me a this" Specified key was tooo long ; max key length is 767 bytes"the followin
2020-12-09 20:25:09
106
原创 解决QT运行图形界面时报错 `cannot find -lGL
解决QT运行图形界面时报错 cannot find -lGL解决方法:sudo apt-get install libglu1-mesa-dev
2020-12-09 19:38:35
216
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人