Skip to content

Instantly share code, notes, and snippets.

DWORD Error, bytesIO;
NTSTATUS Status;
HANDLE hProcessToken = NULL, hNewToken = NULL, hTest;
BOOL bCond = FALSE;
SHELLEXECUTEINFO shinfo;
SID_IDENTIFIER_AUTHORITY MLAuthority = SECURITY_MANDATORY_LABEL_AUTHORITY;
TOKEN_MANDATORY_LABEL tml, *ptml;
PSID pIntegritySid = NULL;
STARTUPINFO si;
PROCESS_INFORMATION pi;
@charlyborwn
charlyborwn / osx_setup.sh
Created November 14, 2018 22:52 — forked from avayanis/osx_setup.sh
Bootstrap a new Mac
#!/bin/bash
# Define script directories
TMP="/tmp/osx_setup"
# Package Versions
NODEVERSION="0.12.5"
# Introduction to setup
echo "Preparing to setup:"
@charlyborwn
charlyborwn / iterm2-solarized.md
Created March 21, 2019 03:45 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@charlyborwn
charlyborwn / remove_postgres_on_mac_os.md
Created May 23, 2019 06:59 — forked from Atlas7/remove_postgres_on_mac_os.md
Note - How completely uninstall PostgreSQL 9.X on Mac OSX

This blog post has helped me clean up my postgres development environment on Mac. So making a copy!

How completely uninstall PostgreSQL 9.X on Mac OSX

This article is referenced from stackoverflow:

If installed PostgreSQL with homebrew , enter brew uninstall postgresql

If you used the EnterpriseDB installer , follow the following step.