Skip to content

Instantly share code, notes, and snippets.

View dvcorreia's full-sized avatar

Diogo Correia dvcorreia

View GitHub Profile
@dvcorreia
dvcorreia / pid.h
Created July 30, 2026 10:31
Digital PID
// Copyright 2020 Diogo Correia.
//
// Author: Diogo Correia (dv.correia@ua.com, dv_correia@hotmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
@dvcorreia
dvcorreia / gist:ef06c228d6d724d00821b234ee157c3c
Created August 3, 2024 16:52
NixOS Orthanc unit tests results
[==========] Running 320 tests from 74 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from DicomMapMainTagsTests
[ RUN ] DicomMapMainTagsTests.MainTags
[ OK ] DicomMapMainTagsTests.MainTags (0 ms)
[ RUN ] DicomMapMainTagsTests.AddMainTags
[ OK ] DicomMapMainTagsTests.AddMainTags (0 ms)
[ RUN ] DicomMapMainTagsTests.Signatures
[ OK ] DicomMapMainTagsTests.Signatures (0 ms)
[----------] 3 tests from DicomMapMainTagsTests (0 ms total)
@dvcorreia
dvcorreia / partition-recover.md
Last active August 23, 2022 10:17
Recover and restore partitions in SD card / USB Pen

Partition recovery

Windows

Search in windows or Run: ´diskpart´

list disk
select Disk #
select partition 1