Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
public class RosaryApp { | |
private JFrame frame; | |
private JButton countButton; | |
private JLabel countLabel; | |
private int count = 0; |
$ wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--domains website.org \ | |
--no-parent \ | |
www.website.org/tutorials/html/ |
// ==UserScript== | |
// @name 网易云歌词下载,可以双语了orz | |
// @namespace http://suselinks.us | |
// @description 我只是做了合并了两个脚本的工作,可以直接下载了。 | |
// @description 脚本1:https://greasyfork.org/zh-CN/scripts/10548-%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90%E4%B8%8B%E8%BD%BD | |
// @description 脚本2:https://gist.github.com/anonymous/a800677393bbb2dd113a 多谢他们 | |
// @include http://music.163.com/* | |
// @grant none | |
// @version 1.2 | |
// ==/UserScript== |
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)'fban_gbanimport asyncio | |
from telethon.tl.types import MessageEntityMentionName | |
from userbot import CMD_HELP, bot, is_mongo_alive, is_redis_alive | |
from userbot.events import register | |
from userbot.modules.dbhelper import (add_chat_fban, add_chat_gban, get_fban, | |
get_gban, remove_chat_fban, | |
remove_chat_gban) |
import re | |
import yaml | |
from typing import Dict, Any | |
def pojo_to_yaml(pojo_str: str) -> Dict[str, Any]: | |
""" | |
Convert a POJO (Plain Old Java Object) string to a YAML model. | |
Args: |
It would be better to go through Maya API Introduction to get genreal idea. No need to understand everything as I don't understand most of them. There a few things that you should check
Following classes are pretty much all classes I use for API scripting.
# Have a look at the blog post about this script: | |
# https://medium.com/@lukasvice/a-utility-script-for-controlling-venetian-blinds-with-shelly-in-home-assistant-2e5cbf2d8d5f | |
script: | |
cover_position_tilt: | |
mode: parallel | |
fields: | |
entity_id: | |
description: "The cover entity" | |
example: "cover.X" |