Skip to content

Instantly share code, notes, and snippets.

View StrangeRanger's full-sized avatar

Hunter T. StrangeRanger

View GitHub Profile
@StrangeRanger
StrangeRanger / _clang-format
Last active July 23, 2025 20:01
C# _clang-format configuration file (works for 'clang-format version 18.x.x') (status: personal)
---
Language: CSharp
# BasedOnStyle: Microsoft
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
@StrangeRanger
StrangeRanger / PrivateBin-setup.bash
Last active July 23, 2025 20:01
An easy way to install PrivateBin in a secure method, seperating files that can be publicly accessible and one's that can't. (status: personal)
#!/bin/bash
#
# An easy way to install PrivateBin in a secure method, seperating files that can be
# publicly accessible and ones that shouldn't be.
#
# NOTE:
# This script requires root privileges to modify ownership of the files.
#
# Version: v1.0.0
# License: MIT License