Skip to content

Instantly share code, notes, and snippets.

View ztl8702's full-sized avatar
💭
I may be slow to respond.

Radium Zheng ztl8702

💭
I may be slow to respond.
View GitHub Profile
ERROR: Traceback (most recent call last):
File "/workspace/WORKSPACE.bzlmod", line 129, column 18, in <toplevel>
jest_repositories(name = "jest")
File "/home/node/.cache/bazel/_bazel_node/eab0d61a99b6696edb3d2aff87b585e8/external/aspect_rules_jest/jest/repositories.bzl", line 29, column 24, in jest_repositories
_npm_translate_lock(
File "/home/node/.cache/bazel/_bazel_node/eab0d61a99b6696edb3d2aff87b585e8/external/aspect_rules_js/npm/npm_import.bzl", line 40, column 5, in npm_translate_lock
def npm_translate_lock(
Error: npm_translate_lock() got unexpected keyword arguments: root_package, defs_bzl_filename, repositories_bzl_filename, additional_file_contents
ERROR: Error computing the main repository mapping: Encountered error while reading extension file 'npm_repositories.bzl': no such package '@jest//': error loading package 'external': Could not load //external package
> taro build --type weapp
👽 Taro v3.5.11
Tips:
1. 建议开启持久化缓存功能,能有效提升二次编译速度,详情请参考: https://docs.taro.zone/docs/config-detail#cache。
node:internal/modules/cjs/loader:985
const err = new Error(message);
WARNING: For repository 'aspect_bazel_lib', the root module requires module version aspect_bazel_lib@1.18.0, but got aspect_bazel_lib@1.19.0 in the resolved dependency graph.
INFO: Analyzed target //app:miniapp (4 packages loaded, 5665 targets configured).
INFO: Found 1 target...
ERROR: /workspaces/bug-repro/app/BUILD.bazel:39:14: Taro app/dist failed: (Exit 1): miniapp__js_binary.sh failed: error executing command (from target //app:miniapp) bazel-out/k8-opt-exec-2B5CBBC6/bin/app/miniapp__js_binary.sh build --type weapp
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
@ztl8702
ztl8702 / gist:970a3385a462b27464d67173f62679c0
Last active February 24, 2022 12:18
ZFC-MindongLab CLA
福州保税区真鸟囝文化传播有限公司
个人贡献者许可协议
感谢您对福州保税区真鸟囝文化传播有限公司(以下简称“真鸟囝”)主持的项目做贡献。为厘清您对此项目所贡献内容的知识产权许可,真鸟囝须对每位贡献者签署的贡献者许可协议进行归档,以证明双方就以下许可条件达成的一致。请确保在签署本协议之前已全部仔细阅读完毕。
就您目前和将来向真鸟囝提交的贡献内容,您接受并同意以下条款和条件:
定义:“贡献内容”系指由您向真鸟囝提交,以便被包含、记载或使用在任何真鸟囝主持的项目中的任何原创内容,包括对项目既有作品的任何修改和增加。
1、著作权许可的授予。根据本协议的条款和条件,您在此授予真鸟囝永久性的、全球范围内的、非排他的、完全无须许可费的、完全无须版权费的和不可撤销的著作权许可,以复制、衍生、改编、汇编、展览、广播、信息网络传播、转授权、发行和发布您的贡献内容和相关衍生作品。
2. 您保证您依法有权授予上述许可。
3. 您保证您所有的贡献内容均为您的原创作品。
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //test:rollup_test
-----------------------------------------------------------------------------
Randomized with seed 50221
Started
...F..
Failures:
1) Rollup PizzaServiceClient.orderPizza should return a UnaryResponse
Message:
Error EINVAL: invalid command
I0102 18:56:42.629032 1 utils.go:119] ID: 64 GRPC call: /csi.v1.Identity/Probe
I0102 18:56:42.629046 1 utils.go:120] ID: 64 GRPC request: {}
I0102 18:56:42.629349 1 utils.go:125] ID: 64 GRPC response: {}
I0102 18:56:44.416038 1 utils.go:119] ID: 65 GRPC call: /csi.v1.Controller/CreateVolume
I0102 18:56:44.416408 1 utils.go:120] ID: 65 GRPC request: {"capacity_range":{"required_bytes":1073741824},"name":"pvc-d82d2341-76f6-44f2-ae7a-486ed0128ccb","parameters":{"clusterID":"rook-ceph","fsName":"testfs","pool":"testfs-data0"},"secrets":"***stripped***","volume_capabilities":[{"AccessType":{"Mount":{"fs_type":"ext4"}},"access_mode":{"mode":5}}]}
I0102 18:56:44.427999 1 util.go:48] ID: 65 cephfs: EXEC ceph [-m 10.43.149.215:6789,10.43.33.196:6789,10.43.187.206:6789 --id csi-cephfs-provisioner --keyfile=***stripped*** -c /etc/ceph/ceph.conf fs get testfs --format=json]
I0102 18:56:45.634747 1 util.go:48] ID: 65 cephfs: EXEC ceph [-m 10.43.149.21
class Node {
constructor(state, node) {
if (arguments.length === 1) {
this.state = state;
this.parent;
this.childArray = [];
} else if (arguments.length === 2) {
this.state = new State(null, node.state);
if (node.parent !== (null || undefined)) {
this.parent = node.parent;
@ztl8702
ztl8702 / cdo_text.json
Last active May 8, 2021 23:01
閩東語維基百科羅馬字詞頻統計
This file has been truncated, but you can view the full file.
[
{
"han_proportion": 0.0,
"text": "\nTàu Hiĕk\n\n__NOEDITSECTION__\n\n",
"title": "Tàu Hiĕk"
},
{
"han_proportion": 0.0,
"text": "\nBàng-uâ\n\nBàng-uâ kō̤-nèng sê:\n\n\n",
"title": "Bàng-uâ"
@ztl8702
ztl8702 / record_audio.js
Last active March 23, 2018 18:50
Greasemonkey script: Record Local Audio in Jitsi Meet
// ==UserScript==
// @name Record local audio in Jitsi Meet
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://meet.jit.si/*
// @grant none
// ==/UserScript==
@ztl8702
ztl8702 / index.html
Created January 8, 2018 16:09
jYYYoq
<div id="container"></div>
<div id="container2"></div>