- 打开 UltraISO
- 选择
文件(F)->打开光盘... - 打开 VCD 后进入
MPEGAV目录 - 选中所有文件,右键选择
提取 MPEG 文件
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
| <head> | |
| <HTA:APPLICATION border="dialog" CONTEXTMENU="no" INNERBORDER="no" maximizeButton="no" minimizeButton="no" scroll="no" singleInstance="yes" /> | |
| </head> | |
| <a href="http://example.com">Open Internet Explorer</a> | |
| <script> | |
| location.href = 'about:blank'; | |
| close(); | |
| </script> |
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
| { | |
| "resolution": [ | |
| 1920, | |
| 1080 | |
| ], | |
| "scrolltime": 12, | |
| "fixtime": 5, | |
| "density": 0, | |
| "customDensity": 50, | |
| "fontname": "Microsoft YaHei", |
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
| from moviepy.editor import VideoFileClip | |
| input_path = "input.mp4" | |
| output_path = "output.mp4" | |
| clip = VideoFileClip(input_path) | |
| slow_clip = clip.fx(lambda c: c.speedx(factor=0.5)) | |
| # Remove audio to avoid desync | |
| slow_clip = slow_clip.without_audio() |
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
| """ | |
| Calculate the average Hex color of colors | |
| """ | |
| colors_hex = [ | |
| "#000000", | |
| "#ffffff", | |
| ] | |
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
| from ttkbootstrap import Window | |
| from ttkbootstrap.dialogs import FontDialog | |
| if __name__ == "__main__": | |
| root = Window() | |
| root.geometry("1x1") | |
| root.overrideredirect(True) | |
| fd = FontDialog() | |
| fd.show() |
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
| /** | |
| * Converts an image from {@link src} to a Data URL of {@link type}. | |
| * | |
| * @param {string} src The source URL of the image to convert. | |
| * @param {string} [type] The standard MIME type for the image format to return. | |
| * @returns {Promise<string>} Data URL of the image in the specified type. | |
| * @example | |
| * const dataurl = await imgToDataURL('https://picsum.photos/200', 'image/png'); | |
| * console.log(dataurl); | |
| * // Output: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA... |
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/sh | |
| set -e | |
| SMB_TARGET_DIR=/mnt/z | |
| [ -d $SMB_TARGET_DIR ] || sudo mkdir $SMB_TARGET_DIR | |
| sudo mount -t drvfs Z: $SMB_TARGET_DIR |
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
| from pptx import Presentation | |
| def replace_font_in_text_frame(text_frame, old_font, new_font): | |
| for paragraph in text_frame.paragraphs: | |
| for run in paragraph.runs: | |
| if run.font.name == old_font: | |
| run.font.name = new_font | |
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/sh | |
| set -e | |
| # Make the current commit the only (initial) commit in a Git repo | |
| # https://stackoverflow.com/a/15572071 | |
| BRANCH=$(git branch --show-current) | |
| NEW_BRANCH="new/$BRANCH" | |
| git branch "$NEW_BRANCH" "$(echo "Initial commit" | git commit-tree "$BRANCH^{tree}")" |
NewerOlder