Skip to content

Instantly share code, notes, and snippets.

View mostlydev's full-sized avatar

Wojtek Grabski mostlydev

  • Flux Inc
  • Toronto & Atlanta
View GitHub Profile
@mostlydev
mostlydev / windows_hardening.cmd
Created April 20, 2022 12:28 — forked from ricardojba/windows_hardening.cmd
A Windows hardening script
::##########################################################################################################################
::
:: This script can ruin your day, if you run it without fully understanding what it does, you don't know what you are doing,
::
:: OR BOTH!!!
::
:: YOU HAVE BEEN WARNED!!!!!!!!!!
::
:: This script is provided "AS IS" with no warranties, and confers no rights.
:: Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section,
@mostlydev
mostlydev / dp2-true-size-printing.md
Last active February 20, 2021 21:54
True-size printing using DICOM Printer 2

There are three steps to get true size output

Disable magnification.

In the configuration, you have to add or modify three elements:

Resolution should match your imager resolution, e.g., "320 x 320" for Drystar 520x.
MagnificationType needs to be set to NONE, and.
RequestedDecimateCropBehaviour needs to be set to CROP.