Skip to content

Instantly share code, notes, and snippets.

James Moore foozmeat

View GitHub Profile
@foozmeat
foozmeat / softwareupdate.py
Last active Oct 5, 2016
Intelligently manage software updates on Mac OS X
View softwareupdate.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on 9-9-2015 by James Moore (@foozmeat)
Install software updates automatically and intelligently.
If you improve this script please send me patches.
@foozmeat
foozmeat / create_keychain.sh
Last active Jun 29, 2017
Build a macos keychain from identities stored in a .p12 file
View create_keychain.sh
#!/bin/bash
# some keychain stuff borrowed from
# https://apple.stackexchange.com/questions/287610/keychains-created-by-an-ssh-connection-are-locked-and-can-not-be-used
# export identities with
# security export -k ${KEYCHAIN_NAME} -t identities -o identities.p12 -P ${P12_PASSWORD} -f pkcs12
YELLOW=`tput setaf 3`
RESET=`tput sgr0`
You can’t perform that action at this time.