- 依赖于手机的信息流
- 企图保持与外界持续沟通的状态\
待更新
- GTD
- 应用锁
待更新
# coding:utf-8 | |
import requests # 导入网页请求库 | |
import re # 导入正则表达式库 | |
import openpyxl | |
from bs4 import BeautifulSoup # 导入网页解析库 | |
name_pattern = r'姓名:(.*?)</td>' | |
name_list = [] | |
tongdian_pattern = '<font class="style8">通信电子线路</font>' | |
tongyuan_pattern = '<font class="style8">通信原理(双语)</font>' |
VLC 定制界面的配置文件位于
%APPDATA%/vlc/vlc-qt-interface.ini
~/.config/vlc/vlc-qt-interface.conf
(仅支持 apt 安装的 VLC)用编辑器打开该配置文件,会看到如下格式:
[General]
geometry="..."
import os | |
from time import strftime | |
import time | |
from win32com import client | |
from tqdm import * | |
# Counts the number of files in the directory that can be converted | |
def n_files(directory): | |
total = 0 |
############################################## | |
## Script to convert .doc or .docx to .pdf ## | |
## Written by Henry Ling ## | |
############################################## | |
import os | |
from time import strftime | |
from win32com import client | |
# Counts the number of files in the directory that can be converted |
static function OnBeforeRequest(oSession: Session) { | |
if(oSession.host.toLowerCase()=="cdn.cnbj1.fds.api.mi-img.com"){ | |
oSession["ui-color"]="yellow"; | |
oSession.host="192.168.1.100"; | |
} | |
if(oSession.host.toLowerCase()=="dxxsv.cyol.com"){ | |
oSession["ui-color"]="yellow"; | |
var str = oSession.url; | |
if(str.search(/[0-9]*dxx[0-9]*\.mp4/i) > 0){ | |
oSession["ui-color"]="purple"; |
basedir="/usr" | |
appdir="$basedir/bin" | |
datadir="$basedir/share/LDCad" | |
cfgdir="/etc" | |
cfgfn="$cfgdir/LDCad.cfg" | |
userdir="<userAppDataDir>/LDCad" | |
scdir="$basedir/share/applications" | |
scfn="$basedir/share/applications/LDCad.desktop" | |
mimebasedir="$basedir/share/mime" | |
mimedir="$mimebasedir/packages" |