Skip to content

Instantly share code, notes, and snippets.

View nanaHa1003's full-sized avatar

Pochuan Wang nanaHa1003

  • National Taiwan University
  • Taipei, Taiwan
View GitHub Profile
@serg987
serg987 / docker-compose.yml
Last active September 23, 2025 09:35
adguardhome docker-compose with macvlan
# short link: www.shorturl.at/wzM69
version: "3"
networks:
adguard-macvlan:
name: adguard-macvlan
driver: macvlan
driver_opts:
parent: eno1
ipam:
@PurpleBooth
PurpleBooth / README-Template.md
Last active November 3, 2025 11:24
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@somada141
somada141 / python_dicom_load_vtk.md
Last active July 14, 2024 00:53
Load DICOM data into a NumPy array with VTK #python #dicom #medical #imagedata #vtk #fileIO

Imports:

import vtk
from vtk.util import numpy_support
import numpy

Create a vtkDICOMImageReader object, set its directory to the one containing all DICOM files, and Update to read in all data: