css
@keyframes warn {
0% {
-moz-transform: scale(0.3);
transform: scale(0.3);
opacity: 1;
}
50% {
-moz-transform: sca...
4年前 (2021-04-26)
喜欢
marker = new AMap.Marker({
map: this.map,
position: Latlong,
icon: n...
4年前 (2021-04-26)
喜欢
在主题文件夹下面找到timthumb.php,打开后查找 define(‘VERSION’,’XXX’);
我的是
define ('VERSION', '2.8.13');
在它前面添加一行
$_SERVER['DOCUMENT_RO...
4年前 (2021-04-25)
喜欢
downurl = "https://www.wanjunshijie.com/"
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) Ap...
4年前 (2021-04-24)
喜欢
勾选Pressrve log后就可以保留了
...
4年前 (2021-04-24)
喜欢
目录已存在了。
创建目录前做个判断
def makedir(path):
if not os.path.exists(path + '/js'):
os.mkdir(path + '/js')
...
4年前 (2021-04-23)
喜欢
def is_http_url(s):
regex = re.compile(
r'^(?:http|ftp)s?://' # http:// or https://
r'(?:(?:[A-Z0-9](?:[A-Z...
4年前 (2021-04-23)
喜欢
import requests
url = 'https://www.wanjunshijie.com/wp-includes/js/wp-embed.min.js?ver=5.6.3'
r= requests.get(url)
w...
4年前 (2021-04-23)
喜欢
str = 'jquery.js?1234556'
head, center, end = str.partition('(')
print(head)
字符被切分成三个部分,输出头部,就会输出
jquery.js
...
4年前 (2021-04-23)
喜欢
原因是只指定了文件路径,而没有指定文件名和后缀名。
...
4年前 (2021-04-23)
喜欢