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
| #!name=番茄小说+红果短剧 去广告 | |
| #!desc=番茄小说、红果短剧去广告规则(Loon) | |
| #!author=OpenAI | |
| #!version=1.0 | |
| [Rule] | |
| DOMAIN,p6-ad-sign.byteimg.com,REJECT | |
| DOMAIN,p9-ad-sign.byteimg.com,REJECT | |
| DOMAIN-SUFFIX,byteimg.com,DIRECT | |
| DOMAIN,i.snssdk.com,REJECT |
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
| # Generated by Powerlevel10k configuration wizard on 2022-09-05 at 15:18 CST. | |
| # Based on romkatv/powerlevel10k/config/p10k-pure.zsh, checksum 13301. | |
| # Wizard options: nerdfont-complete + powerline, small icons, pure, snazzy, rprompt, | |
| # 1 line, compact, transient_prompt, instant_prompt=verbose. | |
| # Type `p10k configure` to generate another config. | |
| # | |
| # Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure). | |
| # | |
| # Differences from Pure: | |
| # |
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
| local wezterm = require 'wezterm' | |
| wezterm.on( | |
| 'format-tab-title', | |
| function(tab, tabs, panes, config, hover, max_width) | |
| local str = tab.active_pane.title | |
| local index = tab.tab_index + 1 | |
| str = string.gsub(str, '(.*[/\\])(.*)', '%2') |
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
| # setup 的字典中 必需 Uiautomator2 才能获取到 toast | |
| desired_caps['automationName'] = 'Uiautomator2' | |
| def get_toast(self, message, timeout=30, poll_frequency=0.5): | |
| '''To confirm if toast exist finally return True or False | |
| :Args: | |
| - message - 页面上看到的toast消息文本内容 | |
| - timeout - 最大超时时间,默认30s | |
| - poll_frequency - 间隔查询时间,默认0.5s查询一次 | |
| :Usage: |