English: Add a menu item of Paste Symlink
to the Windows right-click menu
中文:给Windows的右键菜单添加粘贴成符号链接
的菜单项
class ApiResult<T> { | |
final int code; | |
final T data; | |
final String? message; | |
const ApiResult({ | |
required this.code, | |
required this.data, | |
this.message, | |
}); |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
from typing import Dict, List, Tuple | |
# pip install Pillow | |
from PIL import Image |
方案配置文件+详细说明:Rime+小鹤双拼+颜文字+笔画混合输入方案
实现的功能是:给小鹤双拼添加颜文字支持,直接打双拼出颜文字,支持模糊音,支持词频调整,同时不影响小鹤双拼自带的笔画反查。
要实现双拼+颜文字
的功能网上已经有很多方法,但都有些弊端,这里分别简单介绍下:
--[[ | |
SOURCE_ https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua | |
COMMIT_ 3ba446d0b065f867ca262a2e05e4e8d24c7c0783 | |
SOURCE_ https://github.com/rossy/mpv-open-file-dialog/blob/master/open-file-dialog.lua | |
COMMIT_ 04fe818fc703d8c5dcc3a6aabe1caeed8286bdbb | |
文档_ https://github.com/hooke007/MPV_lazy/discussions/106 | |
示例:在 input.conf 中另起写入下列内容 | |
Ctrl+Alt+1 script-binding vf_sub/append_vfSub # 装载次字幕(滤镜型) | |
Ctrl+Alt+2 script-binding vf_sub/append_vfSub_2 # 装载文件中的第2个字幕(滤镜型) |
{ | |
"title": "@ipcjs's Karabiner Custom Rules", | |
"rules": [ | |
{ | |
"description": "Cmd(+Shift)+Home/End => Cmd(+Shift)+Up/Down (Jump to Start/End on Chrome's Page)", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", |
:checked | |
:class | |
:click | |
:disabled | |
:for | |
:id | |
:name | |
:readonly | |
:style | |
:title |
@echo off | |
setlocal enabledelayedexpansion | |
rem Generated by JetBrains Toolbox 1.25.12627 at 2022-09-07T17:07:44.532710200 | |
rem force use c:\github\@flutter, @see: https://github.com/flutter/flutter/issues/105395 | |
set "old_dir=%cd%" | |
if /i "%cd:~0,18%" == "k:\github\@flutter" ( | |
cd /d %cd:k:\github=c:\github% | |
echo switch work dir from %old_dir% to !cd!... | |
) |
{ | |
"categories": [ | |
{ | |
"title": "## 🚀 Features", | |
"labels": [ | |
"feature", | |
"feat" | |
] | |
}, | |
{ |
/** | |
* Hook <a href="https://github.com/flutter/flutter/blob/c8538873c80e34231d7a93f9ca1e5ec22c8804b1/packages/flutter_tools/gradle/flutter.gradle#L385">这个方法调用</a> | |
* 将`compileOnlyProjects`中指定的依赖改成通过`compileOnly`来依赖, 达到让插件类不被编译的目的! | |
* */ | |
class ProjectMetaClass extends DelegatingMetaClass { | |
ProjectMetaClass(MetaClass metaClass) { super(metaClass) } | |
Object invokeMethod(Object object, String name, Object[] args) { | |
if (name == 'dependencies' && args.length == 1 && args[0] instanceof Closure) { | |
// println("project=>$name: $args") |