Skip to content

Instantly share code, notes, and snippets.

View gnovos's full-sized avatar

Mason gnovos

  • I'd like some, yes.
  • Here
View GitHub Profile
@gnovos
gnovos / LICENSE.txt
Created October 26, 2012 17:29 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@gnovos
gnovos / CGGeometry+Additions.h
Created August 3, 2012 20:37 — forked from basecode/CGGeometry+Additions.h
CGGeometry+Additions
// CGGeometry+Additions.h
// Copyright (c) 2012 Tobias Reiss (MIT License)
#import <CoreGraphics/CGGeometry.h>
CG_INLINE CGRect CGRectScale(CGRect rect, CGFloat mult) {
CGPoint origin = rect.origin;
CGSize size = rect.size;
return CGRectMake(origin.x * mult, origin.y * mult, size.width * mult, size.height * mult);
}