Skip to content

Instantly share code, notes, and snippets.

@TylerJWhit
TylerJWhit / Get-InstalledApps.ps1
Last active December 7, 2019 16:02
List all applications in Windows
# Version: 0.5
# Date: 2019-01-30
# File Name: Get-InstalledApps
# Author: TylerJWhit
# Notes:
# The following commands may be of help:
#
# Run against every computer in domain.
# Get-ADComputer -Filter * | Select-Object -ExpandProperty Name | Get-InstalledApps
#
@chrisnolet
chrisnolet / .bash_profile
Last active September 27, 2022 13:37 — forked from henrik/.bashrc
Color-coded git branch for bash prompt
git_branch() {
local branch=$(git --no-optional-locks branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/^* (*\([^)]*\))*/\1/')
if [[ -n $branch ]]; then
if [[ -z $(git --no-optional-locks status --porcelain 2> /dev/null) ]]; then
echo -e " \001\033[32m\002($branch)\001\033[0m\002"
else
echo -e " \001\033[31m\002($branch)\001\033[0m\002"
fi
fi
@digitaljhelms
digitaljhelms / gist:4287848
Last active June 11, 2024 22:12
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch