Skip to content

Instantly share code, notes, and snippets.

View bozaro's full-sized avatar

Artem V. Navrotskiy bozaro

View GitHub Profile
@bozaro
bozaro / example.go
Created February 14, 2024 07:30
Use kcl plugins in GoLang
package example
import "C"
import (
"fmt"
"github.com/coreos/pkg/dlopen"
"google.golang.org/protobuf/encoding/protojson"
"kcl-lang.io/kcl-go/pkg/kcl_plugin"
_ "kcl-lang.io/kcl-go/pkg/kcl_plugin/hello_plugin"
"kcl-lang.io/kcl-go/pkg/spec/gpyrpc"
package src
import (
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/google/go-containerregistry/pkg/name"
"github.com/google/go-containerregistry/pkg/v1/remote"
"github.com/stretchr/testify/require"
)
@bozaro
bozaro / filter
Created May 9, 2016 09:29
UnrealEngine unsorted pull requests
is:pr author:bozaro is:closed NOT accepted in:title NOT superseded in:title NOT rejected in:title
@bozaro
bozaro / crash
Created November 27, 2015 15:59
#7 374/777: Slate.generated.cpp
#4 375/777: AkAudio.generated.cpp
#1 376/777: Cascade.generated.cpp
#0 377/777: BlueprintGraph.generated.cpp
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', ../src/libcore/result.rs:736
stack backtrace:
1: 0x560b723dfa29 - sys::backtrace::tracing::imp::write::he18882fa84e6b00ePnt
2: 0x560b723dec08 - panicking::on_panic::h495226a97f084523enx
3: 0x560b723c32ee - sys_common::unwind::begin_unwind_inner::h7a4ee06c0d57e26affs
4: 0x560b723c3b38 - sys_common::unwind::begin_unwind_fmt::hb590a1df1c16a800les
@bozaro
bozaro / clang options
Created November 20, 2015 04:06
clang options
OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
OPTIONS:
-### Print (but do not run) the commands to run for this compilation
--analyze Run the static analyzer
-arcmt-migrate-emit-errors
Emit ARC errors even if the migrator can fix them
-arcmt-migrate-report-output <value>