Skip to content

Instantly share code, notes, and snippets.

View toastersocks's full-sized avatar

James Pamplona toastersocks

View GitHub Profile
@toastersocks
toastersocks / Fix Xcode autocompletion
Created March 27, 2015 22:09
A script to get Xcode autocompletion working again when it starts to not perform so great or not at all...
-- Deleting Xcode Derived Data and Caches for when autocomplete is being less than stellar
tell application "Terminal"
-- For zsh
-- set s1 to do script "setopt rmstarsilent; " & "rm -frd ~/Library/Developer/Xcode/DerivedData/*"
-- set s2 to do script "setopt rmstarsilent; " & "rm -frd ~/Library/Caches/com.apple.dt.Xcode/*"
-- Works no matter what the default shell is, hopefully
set s1 to do script "bash -c \"rm -frd ~/Library/Developer/Xcode/DerivedData/*\""
set s2 to do script "bash -c \"rm -frd ~/Library/Caches/com.apple.dt.Xcode/*\""
@toastersocks
toastersocks / SHAnimatableColor.h
Created July 17, 2011 23:00 — forked from Shilo/SHAnimatableColor.h
A simple animatable color extension for Sparrow
//
// SHAnimatableColor.h
// Sparrow
//
// Created by Shilo White on 7/15/11.
// Copyright 2011 Shilocity Productions. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the Simplified BSD License.
//