Skip to content
View passbyval's full-sized avatar

Block or report passbyval

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. NX Plugin Workaround: Import ESM fro... NX Plugin Workaround: Import ESM from CommonJS
    1
    /**
    2
     * Workaround for NX's lack of ESM support
    3
     *
    4
     * See the following issues:
    5
     * - {@link https://github.com/nrwl/nx/issues/16776 require() of ES Module executor.js ... not supported with custom plugin using es2015 module #16776 }
  2. React: Web Worker Hook React: Web Worker Hook
    1
    import { useCallback, useEffect, useRef } from 'react'
    2
    import dedent from 'ts-dedent'
    3
    
                  
    4
    export interface IOptions extends Omit<WorkerOptions, 'type'> {
    5
      mimeType?: BlobPropertyBag['type']
  3. Docker: Build NGINX from Source Docker: Build NGINX from Source
    1
    ARG ALPINE_VERSION=3.18
    2
    ARG NGINX_VERSION=1.25.1
    3
    ARG HEADERS_MORE_VERSION=0.37
    4
    ARG NJS_VERSION=0.8.5
    5
    
                  
  4. Rust: Create a Basic Window Rust: Create a Basic Window
    1
    #[cfg(target_arch = "wasm32")]
    2
    use wasm_bindgen::prelude::*;
    3
    
                  
    4
    use std::sync::Arc;
    5
    
                  
  5. Rust: Syntax Highlighting with EGUI ... Rust: Syntax Highlighting with EGUI & Tree-sitter
    1
    use cached::proc_macro::cached;
    2
    use egui::text::LayoutJob;
    3
    use egui::FontFamily;
    4
    use egui::{Color32, FontId, TextFormat};
    5
    use lazy_static::lazy_static;