Skip to content

Instantly share code, notes, and snippets.

View doevelopper's full-sized avatar

Adrien H doevelopper

  • Versailles
View GitHub Profile

Short answer: Yes. With a SIM7600G‑H 4G HAT you can run a PPP data session for Internet access and, at the same time, read GNSS (GPS/BeiDou/GLONASS/Galileo) position—because the module exposes multiple USB serial interfaces: one used by PPP for the data call, one (or more) for AT commands, and one that can stream NMEA from the GNSS. [files.waveshare.com], [altronics.cl]


How it works on SIM7600G‑H

  • Multiple USB ports: When connected over USB, the SIM7600 typically enumerates several /dev/ttyUSBx interfaces—commonly:
    • a modem/data port that PPP uses (often /dev/ttyUSB3),
    • an AT command port (often /dev/ttyUSB2),
  • an NMEA/GNSS port for continuous GPS sentences (often /dev/ttyUSB1).

pip install --user pipx

reuse-annotate:

> pipx run reuse annotate src tests --license=\"GPL-3.0-or-later\" 
    --copyright=\"2015-2023 Artur Weigandt https://wlabs.de/kontakt\" 
    --recursive --exclude-year --copyright-style=\"spdx\""

Kubectl plugin

This plugin adds completion for the Kubernetes cluster manager, as well as some aliases for common kubectl commands.

To use it, add kubectl to the plugins array in your zshrc file:

plugins=(... kubectl)
@doevelopper
doevelopper / EngineeringProjectWorkflow.md
Created April 20, 2025 15:58
# Engineering Project Workflow: Procurement to Delivery

Engineering Project Workflow: Procurement to Delivery

Phase 1: Project Initiation and Procurement

Procurement Document Received

  • System logs receipt of procurement document
  • Notification sent to Program Director and Project Management Office
  • Automated document classification and preliminary analysis

Project Authorization

@doevelopper
doevelopper / interview.md
Created November 10, 2023 11:38
interview on C++ reddit/cpp

C++ basics:

  • Difference between references and pointers?
  • Difference btw memory allocation in stack and on heap?
  • What kinds of smart points do exist?
  • How unique_ptr is implemented? How do we force that only one owner of the object exist in - unique_ptr ?
  • How does shared_ptr work? How reference counter is synchronized between objects?
  • Can we copy unique_ptr or pass it from one object to another?
  • what are rvalue and lvalue?
  • What are std::move and std::forward()
@doevelopper
doevelopper / fleet.md
Created November 27, 2023 16:58
My c++ configuration files for Jetbrqains fleet
{
    "configurations": [
        {
            "type": "command",
            "name": "Create Build and Dependencies Directory",
            "program": "/opt/cmake/bin/cmake",
            "args": [
                "-E",
                "make_directory",

Recovering corrupted git objects

Only applicable when object is empty...

  1. Backup
  $> cp -a .git .git-old
  $> git fsck --full
  1. Remove empty files by using "rm", continue until none is left and the "missing blob" starts showing
 $> find .git/objects/ -size 0 -delete
http://www.oreilly.com/data/free/files/2014-data-science-salary-survey.pdf
http://www.oreilly.com/data/free/files/2015-data-science-salary-survey.pdf
http://www.oreilly.com/data/free/files/Data_Analytics_in_Sports.pdf
http://www.oreilly.com/data/free/files/advancing-procurement-analytics.pdf
http://www.oreilly.com/data/free/files/ai-and-medicine.pdf
http://www.oreilly.com/data/free/files/analyzing-data-in-the-internet-of-things.pdf
http://www.oreilly.com/data/free/files/analyzing-the-analyzers.pdf
http://www.oreilly.com/data/free/files/architecting-data-lakes.pdf
http://www.oreilly.com/data/free/files/being-a-data-skeptic.pdf
http://www.oreilly.com/data/free/files/big-data-analytics-emerging-architecture.pdf