Skip to content

Instantly share code, notes, and snippets.

View damian-rzeszot's full-sized avatar
🏠
Working from home

Damian Rzeszot damian-rzeszot

🏠
Working from home
View GitHub Profile
@damian-rzeszot
damian-rzeszot / override_app_extensions.sh
Last active November 9, 2024 01:13
override_app_extensions.sh
alias plistbuddy=/usr/libexec/PlistBuddy
alias codesign=/usr/bin/codesign
#
# Bundle identifier
#
set_plist_bundle_identifier() {
local bundle_identifier="$1"
@damian-rzeszot
damian-rzeszot / strong_pointer.cpp
Last active June 15, 2018 23:35
strong_pointer.cpp
template<class T>
class Reference {
T* _pointer;
size_t _count;
public:
Reference(T* pointer) {
pointer = pointer;
_count = 1;