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 | |
| if [ "$1" = "-d" ] ; then | |
| dev=$2 | |
| volume=$3 | |
| diskutil info $dev|grep NTFS>/dev/null | |
| if [ $? -ne 0 ] ; then | |
| echo "The recently mounted disk: $dev is not an NTFS disk! Press Return to exit" | |
| read | |
| else | |
| diskutil umount $volume>/dev/null |
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 | |
| if [ "$1" = "-d" ] ; then | |
| dev=$2 | |
| volume=$3 | |
| diskutil info $dev|grep NTFS>/dev/null | |
| if [ $? -ne 0 ] ; then | |
| echo "最近挂载的磁盘:$dev 不是 NTFS 磁盘! 按 Return 键退出" | |
| read | |
| else | |
| diskutil umount $volume>/dev/null |
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
| rule-providers: | |
| private: | |
| url: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geosite/private.yaml | |
| path: ./ruleset/private.yaml | |
| behavior: domain | |
| interval: 86400 | |
| format: yaml | |
| type: http | |
| cn_domain: | |
| url: https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geosite/cn.yaml |
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
| const https = require('https'); | |
| const options = { | |
| hostname: 'openrouter.ai', | |
| path: '/api/frontend/models/find?max_price=0&order=pricing-low-to-high&fmt=cards&output_modalities=text', | |
| method: 'GET', | |
| headers: { | |
| 'accept': '*/*', | |
| 'accept-language': 'zh-CN,zh-HK;q=0.9,zh-TW;q=0.8,zh;q=0.7,en;q=0.6', | |
| 'cache-control': 'no-cache', |
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
| const https = require('https'); | |
| const url = 'https://www.apple.com.cn/shop/refurbished/mac/macbook-air-macbook-pro'; | |
| /** | |
| * 字符平衡计数法提取对象字符串 | |
| */ | |
| function extractObject(html, marker) { | |
| const startIndex = html.indexOf(marker); | |
| if (startIndex === -1) return null; |
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
| const https = require('https'); | |
| const url = 'https://www.apple.com.cn/shop/refurbished/mac/macbook-air-macbook-pro'; | |
| /** | |
| * 字符平衡计数法提取对象字符串 | |
| */ | |
| function extractObject(html, marker) { | |
| const startIndex = html.indexOf(marker); | |
| if (startIndex === -1) return null; |
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
| mixed-port: 7890 | |
| #---------------------------------------------------# | |
| ## 配置文件需要放置在 $HOME/.config/clash/*.yaml | |
| allow-lan: false | |
| mode: Rule | |
| log-level: info | |
| external-controller: '127.0.0.1:9090' | |
| dns: | |
| enable: true |
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 | |
| # This script is a draft combination of the script found at https://gist.github.com/tcarrondo | |
| # It is what I have done to make it work for my Fairphone 2 with UBports ubuntu touch 16.04 | |
| # Combined by me: Sebastian Gallehr <sebastian@gallehr.de> | |
| # Thanks to: Tiago Carrondo <tcarrondo@ubuntu.com> | |
| # Thanks to: Romain Fluttaz <romain@botux.fr> | |
| # Thanks to: Wayne Ward <info@wayneward.co.uk> | |
| # Thanks to: Mitchell Reese <mitchell@curiouslegends.com.au> | |
| # --------------- [ Server ] ---------------- # | |
| CAL_URL="https://..." # add the caldav URL here |
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
| #File Tree | |
| . | |
| ├── package.json | |
| ├── DoubleConversion.podspec | |
| ├── Folly.podspec | |
| ├── glog.podspec | |
| ├── yoga.podspec | |
| ├── scripts | |
| │ ├── ios-configure-glog.sh | |
| │ └── ios-install-third-party.sh |
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
| # |
NewerOlder