pip list --outdated
This file contains hidden or 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 | |
| import re | |
| import time | |
| import mutagen | |
| import win32api | |
| from zipfile import ZipFile | |
| from rich.progress import track | |
See Also:
| Level | Score | Regex | Credit |
|---|
This file contains hidden or 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
| copype amd64 D:\WinPE_amd64 | |
| Dism /Mount-Image /ImageFile:"D:\WinPE_amd64\media\sources\boot.wim" /Index:1 /MountDir:"D:\WinPE_amd64\mount" | |
| Dism /Add-Package /Image:"D:\WinPE_amd64\mount" /PackagePath:"D:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab" | |
| Dism /Add-Package /Image:"D:\WinPE_amd64\mount" /PackagePath:"D:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab" | |
| Dism /Add-Package /Image:"D:\WinPE_amd64\mount" /PackagePath:"D:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-NetFX.cab" | |
| Dism /Add-Package /Image:"D:\WinPE_amd64\mount" /PackagePath:"D:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-NetFX_en-us.cab" | |
| Dism /Add-Package /Image:"D:\WinPE_amd64\mount" /PackagePath:"D |
This file contains hidden or 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
| #!/bin/bash | |
| ARGS=1 | |
| E_BADARGS=65 | |
| TEM_FILE="/tmp/dict.tmp" | |
| if [ $# -ne "$ARGS" ] | |
| then | |
| echo "Usage:`basename $0` word" | |
| exit $E_BADARGS | |
| fi |
This file contains hidden or 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
| 原帖地址: http://topic.csdn.net/u/20110113/19/b0d5d506-4307-428b-a61d-7974aa66a2da.html | |
| 首先要说明的是:这里介绍的方法都是大部分是本人“悟”出来的,所以网上难有流传! | |
| 好方法不能自己私藏,否则就白忙乎这几天了,分享给有需要的朋友们。如果有转载,敬请注明来自*CSDN老邓*作品。 | |
| 呵呵,给自己打广告,实在是无耻之极,权当无聊之时打字之用。 | |
| 欢迎流传,为最优秀的分布式版本管理系统Git做宣传!! | |
| 步骤: | |
| 1. 下载:http://loaden.googlecode.com/files/gitconfig.7z | |
| 2. 解压到:<MsysGit安装目录>/cmd/,例如:D:\Program Files\Git\cmd |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| command -v mediainfo >/dev/null 2>&1 || { echo >&2 "mediainfo 命令不存在,请先安装 mediainfo。"; exit 1; } | |
| command -v ffmpeg >/dev/null 2>&1 || { echo >&2 "ffmpeg 命令不存在,请先安装 ffmpeg。"; exit 1; } | |
| out_size=24 | |
| length=$(mediainfo --Inform="Video;%Duration%" "$1") | |
| bitrate_all=$(echo "${out_size}*8192/(${length}/1000)" | bc) | |
| bitrate_audio_orig=$(mediainfo --Inform="Audio;%BitRate%" "$1") |
This file contains hidden or 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
| { | |
| "createBy": "http://liujiacai.net/gooreplacer/", | |
| "version": "3.9", | |
| "createAt": "Mon Nov 12 2018 12:22:14 GMT+0800 (China Standard Time)", | |
| "redirect-rules": [ | |
| { | |
| "src": "cdnjs.cloudflare.com", | |
| "kind": "wildcard", | |
| "dst": "cdnjs.loli.net", | |
| "enable": true |