Skip to content

Instantly share code, notes, and snippets.

View mcchots's full-sized avatar

Mohammed Chotia mcchots

  • Johannesburg
  • 10:03 (UTC +02:00)
View GitHub Profile
@mcchots
mcchots / removeExpiredCerts.sh
Last active September 12, 2023 10:26 — forked from damkh/removeExpiredCerts.sh
Remove expired certificates from a keystore
#!/bin/bash
# remove expired certs from a keystore
# set FN to the keystore file
KEYSTORE=$1
KEYSTOREPASS=$2
echo "finding expired certs..."
@mcchots
mcchots / boxstarter.ps1
Created November 25, 2019 09:30 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt: