Skip to content

Instantly share code, notes, and snippets.


Tomáš Slíž tomassliz

View GitHub Profile
jlawton /
Created Oct 24, 2017
Resolved Carthage dependency grapher
#!/usr/bin/env perl -w
use strict;
use Text::ParseWords qw(quotewords);
# Returns [DependencyName]
sub parseCartfile {
open(my $fh, '<', $_[0]) or die "Cannot open file $_[0]";
my @entries = ();
while (my $line = <$fh>) {
mackuba /
Last active Dec 28, 2020
New stuff from WWDC 2015

Here's my own list of the interesting stuff announced during this year's WWDC, collected from the keynotes, various Apple docs, blog posts and tweets.

If you're planning to watch the videos, I really recommend this Mac app that helps you download and watch them:

OS X El Capitan

  • split view - two apps side by side on full screen
matthiasplappert / gist:9493050
Last active Aug 29, 2015
QuickLook Debugging for `UIView`
View gist:9493050
@interface UIView (MPAdditions)
@implementation UIView (MPAdditions)
- (id)debugQuickLookObject {
if (self.bounds.size.width < 0.0f || self.bounds.size.height < 0.0f) {
return nil;