精简了上游直播源内容,仅保留个人所需的。
https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
| patch: | |
| # 菜单 | |
| menu: | |
| page_size: 8 # 候选词个数 | |
| # alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签 | |
| # alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键 | |
| # ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml | |
| # 中西文切换 | |
| # | |
| # 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。 |
| #!/usr/bin/env bash | |
| # Download metadata, modify these as your needs. | |
| ## The directory to save the downloaded files. | |
| download_directory="/volume1/Download/EPUB" | |
| ## The website you want to visit. | |
| calibre_site="http://soulseeker.myds.me:25788" | |
| ## The formats you want to download. We only download the first present format. | |
| ## All the formats should be upper case. | |
| allow_formats=( EPUB MOBI AZW3 ) |
| server=/cn/114.114.114.114 |
| #!/usr/bin/env bash | |
| #You'll need to enable IPMI over lan in idrac first | |
| #iDRAC Settings -> Network -> IPMI Settings | |
| #Channel Privilege Level Limit needs to be Administrator | |
| #You may want to create a dedicated username/pass with IPMI permission in iDRAC Settings -> User Authentication | |
| IPMIHOST=idracip | |
| IPMIUSER=username | |
| IPMIPW=password | |
| IPMIEK=0000000000000000000000000000000000000000 |
| # Generate a BaseSystem.dmg with 10.13 Install Packages | |
| hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra | |
| hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase | |
| cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation | |
| hdiutil detach /Volumes/OS\ X\ Base\ System/ | |
| hdiutil detach /Volumes/highsierra/ | |
| mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg |
| const electron = require('electron'); | |
| const rq = require('request-promise'); | |
| const notifier = require('node-notifier'); | |
| const app = electron.app; | |
| const BrowserWindow = electron.BrowserWindow; | |
| let mainWindow | |
| app.on('window-all-closed', function() { | |
| app.quit(); |
| #!/bin/bash | |
| #-------------------------------------------------- | |
| # Locale changing for localization | |
| #-------------------------------------------------- | |
| echo "*********************************" | |
| echo "* *" | |
| echo "* Changing Locales *" | |
| echo "* *" | |
| echo "*********************************" | |
| # Configure timezone and locale |
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |