Skip to content
View noahknegt's full-sized avatar
πŸ’­
Guess im being busy again
πŸ’­
Guess im being busy again
  • De Lier
  • 17:08 (UTC +02:00)

Organizations

@sv-equinox

Block or report noahknegt

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
noahknegt/README.md

Hello, I'm Noah πŸ‘‹

Software Engineer

I'm a software engineer passionate about systems-level programming, embedded Linux, and performance optimization.


πŸ¦€ Programming Languages

fn main() {
    let languages = vec![
        ("C", "10+ years: Embedded, drivers, performance"),
        ("C++", "Cross-platform, modern C++ standards"),
        ("Rust", "Memory-safe systems, concurrent programming"),
    ];
    
    // Functional programming with iterators
    let rust_info = languages.iter()
        .find(|(lang, _)| *lang == "Rust")
        .map(|(_, info)| info)
        .unwrap_or("Not found");
        
    println!("Rust experience: {}", rust_info);
    
    // Demonstrate more Rust features
    let lang_count = count_languages(&languages);
    assert_eq!(lang_count, 3);
}

// Unit testing
#[cfg(test)]
mod tests {
    use super::*;
    
    #[test]
    fn test_languages_vector() {
        let languages = vec![
            ("C", "10+ years: Embedded, drivers, performance"),
            ("C++", "Cross-platform, modern C++ standards"),
            ("Rust", "Memory-safe systems, concurrent programming"),
        ];
        
        assert_eq!(languages.len(), 3);
        assert_eq!(languages[2].0, "Rust");
    }
    
    #[test]
    fn test_language_lookup() {
        let languages = vec![
            ("C", "10+ years: Embedded, drivers, performance"),
            ("C++", "Cross-platform, modern C++ standards"),
            ("Rust", "Memory-safe systems, concurrent programming"),
        ];
        
        let rust_info = languages.iter()
            .find(|(lang, _)| *lang == "Rust")
            .map(|(_, info)| *info);
            
        assert_eq!(rust_info, Some("Memory-safe systems, concurrent programming"));
    }
}

// Helper function with generic type
fn count_languages<T>(languages: &Vec<(T, T)>) -> usize {
    languages.len()
}

🐧 Linux Expertise

# Advanced: kernel debugging, systemd custom units, infra automation
sudo perf record -g -- ./my_app
systemctl status my-custom.service
ansible-playbook --tags "deploy,upgrade" site.yml

πŸ“¦ Podman (Quadlet) Mastery

# Rootless container with custom network, isolation, and healthchecks
[Container]
Image=custom/ci-build:latest
Name=ci_build_runner
Network=podman
Environment=CI=true
Volume=%h/build:/build:Z
HealthCheckCmd=build.sh --health
Exec=build.sh --target release

πŸ“¦ OCI-Compliant Containerfile

# OCI-compliant multi-stage build for secure, minimal containers
# Build stage
FROM rust:1.70-slim AS builder
WORKDIR /build
COPY Cargo.toml Cargo.lock ./
COPY src ./src

# Create empty dummy project to cache dependencies
RUN mkdir -p src && \
    echo "fn main() {println!(\"if you see this, the build failed\")}" > src/main.rs && \
    cargo build --release && \
    rm -f target/release/deps/myapp* src/main.rs

# Build the actual application
COPY . .
RUN cargo build --release --locked && \
    cargo audit && \
    cargo clippy -- -D warnings

# Runtime stage with minimal distro
FROM debian:stable-slim AS runtime
LABEL org.opencontainers.image.source="https://github.com/noah-knegt_priva/repo" \
      org.opencontainers.image.created="2025-05-23T07:56:29Z" \
      org.opencontainers.image.authors="noah-knegt_priva" \
      org.opencontainers.image.title="Secure Application Container"

# Install minimal runtime dependencies
RUN apt-get update && \
    apt-get install -y --no-install-recommends ca-certificates tzdata && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Set up non-root user in the runtime image
RUN groupadd -g 65535 appuser && \
    useradd -u 65535 -g appuser -s /usr/sbin/nologin -c "Container User" appuser

# Copy the compiled binary from the builder
COPY --from=builder /build/target/release/myapp /usr/local/bin/myapp

# Create data directory with correct permissions
RUN mkdir -p /data && \
    chown 65535:65535 /data

# Set secure permissions on binary
RUN chmod 550 /usr/local/bin/myapp

# Configure runtime environment
ENV RUST_LOG=info

# Run as non-root user
USER appuser

# Mount points for external data
VOLUME ["/data"]

# Set resource limits
STOPSIGNAL SIGTERM

# Health check configuration
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
  CMD ["/usr/local/bin/myapp", "--health"]

# Container entrypoint
ENTRYPOINT ["/usr/local/bin/myapp"]
CMD ["--config", "/data/config.toml"]

🧩 Yocto Project

# Modern layer config, PACKAGECONFIG, and image customization
SUMMARY = "Custom system image with extra features"
LICENSE = "MIT"
inherit core-image

IMAGE_FEATURES += "ssh-server-openssh tools-debug"
PACKAGECONFIG:pn-my-custom-app = "feature-x"

IMAGE_INSTALL:append = " my-custom-app"

🧰 Additional Areas of Expertise

  • Systems programming & performance tuning
  • Embedded Linux (device drivers, real-time)
  • Container security & automation (rootless, CI/CD)
  • Custom build pipelines for resource-constrained targets

πŸ’¬ Always open to collaboration on robust, efficient, and secure systems!

Pinned Loading

  1. Online-Pluisje-Art/Operation-Blackwell Online-Pluisje-Art/Operation-Blackwell Public

    A 2D top down action game about a spec ops agent and a corrupt government, made in Unity

    C# 4 2

  2. microsoft/vcpkg microsoft/vcpkg Public

    C++ Library Manager for Windows, Linux, and MacOS

    CMake 24.9k 6.9k

  3. ThrowTheSwitch/Unity ThrowTheSwitch/Unity Public

    Simple unit testing for C

    C 4.5k 1k

  4. ankitbko/vscode-pull-request-azdo ankitbko/vscode-pull-request-azdo Public

    Forked from microsoft/vscode-pull-request-github

    Azure Devops Pull Requests for Visual Studio Code

    TypeScript 74 22

  5. DiscordPP/plugin-native DiscordPP/plugin-native Public

    Provides Discord++ bots with native C++ functions for Discord's API endpoints

    C++ 6 8