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
| ### D2RTokenStart ###### | |
| # 一个简单的D2R令牌启动脚本 | |
| # 作者: 萌爸奈特李 | |
| # 说明: 这个脚本可以让你使用令牌的方式启动国服D2R | |
| # | |
| # 用法: | |
| # 重点关注下面【包裹的文字部分】,修改①②③三个地方即可 | |
| # 然后将本文件放置在任何地方,右键,使用Powershell启动 | |
| # 如果好用,请关注 B站 萌爸奈特李 https://space.bilibili.com/34371318 | |
| # 欢迎关注/投币/点赞 |
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 python | |
| # -*- coding: utf-8 -*- | |
| import winsound | |
| import time | |
| import cv2 | |
| # 打开默认摄像头 | |
| cap = cv2.VideoCapture(0) |
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
| # require: multimarkdown | |
| # you can download from http://fletcherpenney.net/multimarkdown/download/ | |
| # install mac installer and mac support installer | |
| # after you finish the second installer, you can find the following path: | |
| property markdownloc : "/usr/local/bin/multimarkdown" | |
| property tid : AppleScript's text item delimiters | |
| set mdSource to the clipboard |
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 | |
| # | |
| # 功能: 监控文件名包含FILENAME的文件大小变化, 当大于指定MAX大小时, 自动倒计时WAIT秒, 然后关机 | |
| # | |
| # todo: | |
| # 1) 现在代码写的很定制化, 后续要改成从参数中读取FILENAME, MAX和WAIT | |
| # 2) 后续可考虑配置文件作为输入, 可指定多个文件列表及max值, 主逻辑可改为全部下载完成后触发关机 | |
| # 文件名 | |
| FILENAME="cn_windows_8_1_pro_vl_x64_dvd_2971907.iso" |
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
| (* EVERNOTE TO MARKDOWN | |
| --修改: knight (翻译并增加注释) | |
| --11/7/13 | |
| --原作者: Stephen Margheim | |
| --11/9/13 | |
| --open source | |
| REQUIREMENTS |
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 python | |
| """html2text: Turn HTML into equivalent Markdown-structured text.""" | |
| """modifed by knightli for markdown2text apple script, based on version 3.200.3""" | |
| __version__ = "3.200.3" | |
| __author__ = "Aaron Swartz (me@aaronsw.com)" | |
| __copyright__ = "(C) 2004-2008 Aaron Swartz. GNU GPL 3." | |
| __contributors__ = ["Martin 'Joey' Schulze", "Ricardo Reyes", "Kevin Jay North"] | |
| # TODO: | |
| # Support decoded entities with unifiable. |