Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Other Priorities

Stephan Zehrer zehrer

💭
Other Priorities
View GitHub Profile
@henrik242
henrik242 / p4merge
Last active Sep 28, 2020
Helper script for p4merge and Git on MacOSX
View p4merge
#!/bin/bash
for arg; do [[ $arg = /* ]] || arg=$PWD/$arg; absargs+=("$arg"); done;
/Applications/P4Merge.app/Contents/Resources/launchp4merge "${absargs[@]}"
@dhoerl
dhoerl / KeychainItemWrapper.h
Last active Jul 30, 2020
KeychainItemWrapper ARCified. Added the ability to manage a dictionary in place of just a string - the #define PASSWORD_USES_DATA in the .m file switches the mode.
View KeychainItemWrapper.h
/*
File: KeychainItemWrapper.h
Abstract:
Objective-C wrapper for accessing a single keychain item.
Version: 1.2 - ARCified
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of