12 2022 档案

摘要://model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
posted @ 2022-12-31 21:27 FredGrit 阅读(41) 评论(0) 推荐(0) 编辑
摘要://model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
posted @ 2022-12-29 23:41 FredGrit 阅读(19) 评论(0) 推荐(0) 编辑
摘要://model/book.h #pragma once #ifndef __book_h__ #define __book_h__ #include <iostream> using namespace std; struct book { uint64_t idx; uint64_t id; st 阅读全文
posted @ 2022-12-27 23:03 FredGrit 阅读(97) 评论(0) 推荐(0) 编辑
摘要://Model/mysqlhelper.h #ifndef __mysqlhelper_h__ #define __mysqlhelper_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #in 阅读全文
posted @ 2022-12-18 21:32 FredGrit 阅读(19) 评论(0) 推荐(0) 编辑
摘要://Model/mysqlhelper.h #ifndef __mysqlhelper_h__ #define __mysqlhelper_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #in 阅读全文
posted @ 2022-12-18 20:41 FredGrit 阅读(19) 评论(0) 推荐(0) 编辑
摘要://Model/Book.h #pragma once #ifndef __Book_H__ #define __Book_H__ #include <chrono> #include <ctime> #include <fstream> #include <iostream> #include < 阅读全文
posted @ 2022-12-17 17:37 FredGrit 阅读(33) 评论(0) 推荐(0) 编辑
摘要:https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/ 阅读全文
posted @ 2022-12-13 11:51 FredGrit 阅读(12) 评论(0) 推荐(0) 编辑
摘要://Book.h #pragma once #include <chrono> #include <ctime> #include <fstream> #include <iostream> #include <jsoncpp/json/json.h> #include <iomanip> #inc 阅读全文
posted @ 2022-12-11 21:33 FredGrit 阅读(16) 评论(0) 推荐(0) 编辑
摘要:#include <chrono> #include <ctime> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <unistd.h> using namespace std 阅读全文
posted @ 2022-12-09 21:36 FredGrit 阅读(13) 评论(0) 推荐(0) 编辑
摘要://Model/Util.h #pragma once #ifndef __Util_H__ #define __Util_H__ #include <fstream> #include <functional> #include <iostream> #include <string.h> #in 阅读全文
posted @ 2022-12-05 21:11 FredGrit 阅读(16) 评论(0) 推荐(0) 编辑
摘要:1. show create table tb2;show create table tb3; 2.desc tb2;desc tb3; 3.select count(Idx) from tb2; select count(Idx) from tb3; desc tb2;desc tb3;selec 阅读全文
posted @ 2022-12-04 21:25 FredGrit 阅读(13) 评论(0) 推荐(0) 编辑
摘要:SET GLOBAL connect_timeout = 6000;SHOW VARIABLES LIKE "%timeout"; 阅读全文
posted @ 2022-12-04 20:15 FredGrit 阅读(69) 评论(0) 推荐(0) 编辑
摘要:Find and delete files greater than a given size from the Linux command line sudo -u root sh -c 'cd ./snapd/cache/ && find . -size +100M -exec rm -rf { 阅读全文
posted @ 2022-12-04 19:41 FredGrit 阅读(127) 评论(0) 推荐(0) 编辑
摘要://Util.h #pragma once #include <chrono> #include <ctime> #include <dirent.h> #include <fstream> #include <iostream> #include <thread> #include <unistd 阅读全文
posted @ 2022-12-04 18:12 FredGrit 阅读(37) 评论(0) 推荐(0) 编辑
摘要:You can also log into MySQL console and run the following command to set max_allowed_packet size for the duration of the session. set global net_buffe 阅读全文
posted @ 2022-12-04 16:45 FredGrit 阅读(31) 评论(0) 推荐(0) 编辑
摘要:1.Install libmysqlcppconn-dev sudo apt-get install libmysqlcppconn-dev 2. //MySQLHelper.h #include <iostream> #include <mysql_connection.h> #include < 阅读全文
posted @ 2022-12-03 22:13 FredGrit 阅读(38) 评论(0) 推荐(0) 编辑
摘要://Model/Book.cpp #include <iostream> #include <jsoncpp/json/json.h> using namespace std; class Book { public: int Idx; double Id; char *Abstract; char 阅读全文
posted @ 2022-12-03 19:32 FredGrit 阅读(16) 评论(0) 推荐(0) 编辑
摘要://MathHelper.h #ifndef _MathHelper_H #define _MathHelper_H #include <iostream> #include <random> #include <stdio.h> using namespace std; template <cla 阅读全文
posted @ 2022-12-03 19:24 FredGrit 阅读(15) 评论(0) 推荐(0) 编辑
摘要:#include <chrono> #include <ctime> #include <dirent.h> #include <fstream> #include <iostream> #include <thread> #include <unistd.h> #include <uuid/uui 阅读全文
posted @ 2022-12-03 19:19 FredGrit 阅读(16) 评论(0) 推荐(0) 编辑
摘要://Book.h #include <iostream> #include <jsoncpp/json/json.h> using namespace std; class Book { public: int Idx; unsigned long long Id; char *Name; char 阅读全文
posted @ 2022-12-02 11:45 FredGrit 阅读(18) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示