This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://aka.ms/winget-packages.schema.2.0.json", | |
"CreationDate": "2021-07-17T21:44:42.935-00:00", | |
"Sources": [ | |
{ | |
"Packages": [ | |
{ | |
"PackageIdentifier" : "agalwood.Motrix" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################## | |
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
VLC 定制界面的配置文件位于
- Windows:
%APPDATA%/vlc/vlc-qt-interface.ini
- Ubuntu:
~/.config/vlc/vlc-qt-interface.conf
(仅支持 apt 安装的 VLC)
用编辑器打开该配置文件,会看到如下格式:
[General]
geometry="..."
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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>' |
- 依赖于手机的信息流
- 企图保持与外界持续沟通的状态\
待更新
- GTD
- 应用锁