Skip to content

Instantly share code, notes, and snippets.

@abargh
abargh / delete-git-recursively.sh
Created June 28, 2019 08:07 — forked from facelordgists/delete-git-recursively.sh
Recursively remove .git folders
( find . -type d -name ".git" && find . -name ".gitignore" && find . -name ".gitmodules" ) | xargs rm -rf
@abargh
abargh / MeasurePerf.swift
Created December 2, 2016 19:30 — forked from fpillet/MeasurePerf.swift
A tool to measure code performance in Swift
//
// Created by Florent Pillet on 14/11/16.
// Copyright (c) 2016 Florent Pillet. All rights reserved.
//
import Foundation
/*
* A utility struct that helps mesure the performance of sections of code. Only uses Foundation
* (we could also use QuartzCore's CACurrentMediaTime() for similar precision)