Skip to content

Instantly share code, notes, and snippets.

View radiovisual's full-sized avatar
😬
Hello

Michael Wuergler radiovisual

😬
Hello
  • Doodle
  • Switzerland
View GitHub Profile
@radiovisual
radiovisual / uninstall_homebrew.sh
Created December 14, 2015 12:52 — forked from mxcl/uninstall_homebrew.sh
Uninstall Homebrew
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e
@radiovisual
radiovisual / PFLoadingView-Style.m
Last active August 29, 2015 14:18 — forked from chrisvoss/PFLoadingView-Style
Style the default "Loading" view of PFQueryTableViewController the "hard way" as the current API does not provide this feature.
- (void)stylePFLoadingViewTheHardWay
{
UIColor *labelTextColor = [UIColor whiteColor];
UIColor *labelShadowColor = [UIColor darkGrayColor];
UIActivityIndicatorViewStyle activityIndicatorViewStyle = UIActivityIndicatorViewStyleWhite;
// go through all of the subviews until you find a PFLoadingView subclass
for (UIView *subview in self.view.subviews)
{
if ([subview class] == NSClassFromString(@"PFLoadingView"))