You can either download compiled binary or compile it from source yourself.
Go to http://lan-play.com/download
The GitHub releases page currently doesn't provide compiled binary for macOS
| tap "beeftornado/rmtree" | |
| tap "homebrew/bundle" | |
| tap "homebrew/cask", "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git" | |
| tap "homebrew/cask-drivers", "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-drivers.git" | |
| tap "homebrew/cask-fonts", "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-fonts.git" | |
| tap "homebrew/cask-versions", "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask-versions.git" | |
| tap "homebrew/core", "https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" | |
| tap "homebrew/services" | |
| brew "asciinema" | |
| brew "bat" |
| const PARENT_LABEL = 'example.com' | |
| const LABEL_SEPARATOR = '-' | |
| const LEVEL_SEPARATOR = '.' | |
| const getLabelOrCreate = (labelName) => GmailApp.getUserLabelByName(labelName) || GmailApp.createLabel(labelName) | |
| function labelMailsByAddress() { | |
| const allTargetThreads = GmailApp.search(`label:${PARENT_LABEL} `) | |
| allTargetThreads.forEach(thread => { |
| const UID = 00000000 // 改为你的用户 ID | |
| const COOKIE = "" // (可选,推荐设置)改为你的 cookie | |
| let { title, user, image, videoUrl } = await getVideo(UID, COOKIE) | |
| let widget = createWidget(title, user, videoUrl, image) | |
| if (!config.runsInWidget) { | |
| await widget.presentMedium() | |
| } |
| const UID = args.widgetParameter | |
| if (!/^\d+$/.test(UID)) throw new Error('请提供正确的 UID') | |
| let widget = createWidget(await getData(UID)) | |
| if (!config.runsInWidget) { | |
| await widget.presentSmall() | |
| } |
| for svg in $(ls ./svg); do | |
| filename=$(echo $svg | cut -d'.' -f1) | |
| convert -background none -density 1000 -resize 1000x svg/$(echo $filename).svg png/$(echo $filename).png | |
| echo [DONE] $filename converted! | |
| done |
You can either download compiled binary or compile it from source yourself.
Go to http://lan-play.com/download
The GitHub releases page currently doesn't provide compiled binary for macOS
| from random import randint | |
| results = [] | |
| for i in range(0,6): | |
| sum = 0 | |
| for i in range(0,3): | |
| sum += randint(2, 3) | |
| results.append(sum) | |
| for res in reversed(results): |
| import requests | |
| from bs4 import BeautifulSoup | |
| main_url = "https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=3569" | |
| main_page = BeautifulSoup(requests.get(main_url).text, 'html.parser') | |
| products = main_page.find_all(class_="prodNumber") | |
| prod_urls = [] | |
| for product in products: | |
| prod_urls.append("https://www.thorlabs.com/" + product.contents[0].get('href')) |
| 吾有一術。名之曰「青蛙兒歌」 | |
| 欲行是術。必先得一物。曰「蛙數」。 | |
| 乃行是術曰。 | |
| 吾有一物。曰「蛙數」。名之曰「口」 | |
| 乘「蛙數」以二。名之曰「目」。 | |
| 乘「蛙數」以四。名之曰「足」。 | |
| 批曰。字符串合併 | |
| 加「蛙數」以「「隻青蛙」」。名之曰「言」。 | |
| 加「言」以「口」。名之曰「言」。 |
| article, | |
| aside, | |
| details, | |
| figcaption, | |
| figure, | |
| footer, | |
| header, | |
| hgroup, | |
| nav, | |
| section, |