Skip to content

Instantly share code, notes, and snippets.

@tomdaley92
tomdaley92 / makefile
Last active June 30, 2025 17:50
Generic makefile for C/C++ programs
# Thomas Daley
# September 13, 2021
# A generic build template for C/C++ programs
# executable name
EXE = app
# C compiler
CC = gcc
@csknns
csknns / post_integrate_cocoapods_hook.rb
Last active September 1, 2020 20:06
Post integration Cocoapods hook workaround
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
target 'TargetName' do
end
class Pod::Installer
# The only way to run my custom method after the pod integrates with the project (http://blog.bigbinary.com/2012/01/08/alias-vs-alias-method.html)
# Repace the method implementation integrate_user_project with ours