- 博客(4)
- 收藏
- 关注
原创 MakeFile 的简单实现
obj = a.o b.o c.o d.oedit : $(obj) cc -o edit $(obj) a.o : a.h b.hb.o : b.hc.o : c.h.PHONY : cleanclean :rm edit $(obj)1、make 会在当前目录下找名字叫“Makefile”或“makefile”的文件。2、如果找到,它会找文件中的第一个目标文件(target),在上面的例子中,他会找到...
2022-01-06 10:14:21 213
原创 python爬虫
当中有些库比如 xlwt 需要pip命令单独安装# -*- codeing = utf-8 -*-from bs4 import BeautifulSoup # 网页解析,获取数据import re # 正则表达式,进行文字匹配`import urllib.request, urllib.error # 制定URL,获取网页数据import xlwt # 进行excel操作#import sqlite3 # 进行SQLite数据库操作findLink = re.compi...
2022-01-06 09:45:52 66
原创 Linux下动态安装ffmpeg+sdl
1、 需要用到x264库;下载路径 :Index of /x264/snapshots/ (videolan.org)我选的x264-snapshot-20141023-2245.tar.bz2解压命令:tar -xvaf x264-snapshot-20141023-2245.tar.bz2 cd 进入目录 x264-snapshot-20141023-2245 ./configure --prefix=/usr/local --enable-sha...
2022-01-06 09:13:41 760
原创 linux 打开和关闭防火墙命令
查看防火墙状态。systemctl status firewalld临时关闭防火墙命令。重启电脑后,防火墙自动起来。systemctl stop firewalld永久关闭防火墙命令。重启后,防火墙不会自动启动。systemctl disable firewalld打开防火墙命令。systemctl start firewalld...
2022-01-06 08:59:49 600
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人