摘要:
//只需要传入一个url就可以了 #include <curl/curl.h> static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream){ size_t written = fwrite(ptr, siz 阅读全文
摘要:
1. using SSH instead of https git remote set-url origin git@github.com:username/repo.git 2.storing the username and password git config --global crede 阅读全文
摘要:
1. 找到启动程序的*.sh文件 2. 获取root权限, 在 /usr/local/bin 文件夹下创建该文件的软链接 ln -s [target file] [file name] // ln -s /home/username/App/idealC/bin/idea.sh idea.sh 3. 阅读全文
摘要:
1 package downloadpic; 2 3 import org.jsoup.Jsoup; 4 import org.jsoup.nodes.Document; 5 import org.jsoup.select.Elements; 6 7 import javax.print.Doc; 阅读全文
摘要:
#define <stdio.h>#define <stdlib.h>#define STU_SIZE sizeof(stu)typedef struct student{ int id; struct student* next;}stu;void p_list(stu *node);int ma 阅读全文
摘要:
在terminal下输入: gsettings set org.gnome.gedit.preferences.encodings candidate-encodings "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-1 阅读全文
摘要:
1.查看自己机器的内核版本 uname -r 2.产看机器上已经安装的内核版本 rpm -qa | grep kernel 3.删除自己不想用的版本 dnf remove (旧的版本号,去上面复制好了) < > [root@fedora bin]# grub2-mkconfig -o /boot/g 阅读全文
摘要:
grep menuentry /boot/grub2/grub.cfg This will display all your grub entries Highlight the entry you want to default to - for example Windows 7 (loader) (on /dev/sda1) Right click and choose copy Ty... 阅读全文
摘要:
https://www.tecmint.com/create-lvm-storage-in-linux/ https://www.tecmint.com/extend-and-reduce-lvms-in-linux/ 阅读全文
摘要:
BEGIN LICENSE sgbteam Single User License EA7E-1153259 8891CBB9 F1513E4F 1A3405C1 A865D53F 115F202E 7B91AB2D 0D2A40ED 352B269B 76E84F0B CD69BFC7 59F2D 阅读全文