Skip to content
View mindon's full-sized avatar
🙃
zig, deno and hx, sometimes go & qt
🙃
zig, deno and hx, sometimes go & qt

Block or report mindon

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. an-example-nanovg.zig an-example-nanovg.zig Public

    A solo example on using nanvg.zig

    Zig

  2. hello-zig-cpp hello-zig-cpp Public

    A demo how to call c++ from Zig

    Zig

  3. sort a object array with string attr... sort a object array with string attributes: descend +<->, ascend -<+>
    1
    const arr = [{attr:'x', value: 2}, {attr:'y', value: 2}, {attr:'z', value: 1}];
    2
    
                  
    3
    // descend +<->
    4
    arr.sort((a,b,x='attr')=>+(a[x]<b[x])-(a[x]>b[x]));
    5
    console.log(arr.slice(0));
  4. Fill a geometry with points in THREE.js Fill a geometry with points in THREE.js
    1
    // generate points inside a geometry, with THREE.js
    2
    // Mindon<[email protected]> https://mindon.dev, 2024.08.01
    3
    // Example code:
    4
    //   const inside = Inside(THREE);
    5
    //   const material = new THREE.PointsMaterial({color: 0xffffff, size: 0.25});
  5. How to make QCompleter supports sear... How to make QCompleter supports search/filter multiple keywords?
    1
    // Make a QCompleter to match all keywords seperated by space
    2
    
                  
    3
    // MyCompleter is a customize splitPath QCompleter
    4
    class MyCompleter : public QCompleter {
    5
    public:
  6. Chinese Tai-Chi Diagram Pure CSS Style Chinese Tai-Chi Diagram Pure CSS Style
    1
    .yinyang {
    2
        --size: 360px;
    3
        --dot: 60px;
    4
        --yin: #222;
    5
        --yang: #c30;