Skip to content

Instantly share code, notes, and snippets.

View MariuszWisniewski's full-sized avatar

Mariusz Wisniewski MariuszWisniewski

View GitHub Profile
@bgreenlee
bgreenlee / UIImage+Resize.swift
Created November 23, 2015 05:24
Swift port of UIImage+Resize, UIImage+Alpha, and UIImage+RoundedCorner, from http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/
//
// UIImage+Resize.swift
// Port of UIImage+Resize.m
// from http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/
//
import Foundation
import UIKit
extension UIImage {
@raid5
raid5 / buddybuild_carthage_command.sh
Created December 20, 2017 17:21
Custom BuddyBuild Carthage script to strip out unneeded schemes.
#!/bin/bash
# Save current directory to var
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Fetch dependencies but do not build
carthage update --no-build
# Remove AWSAuthSDK project as this is not needed
rm -r Carthage/Checkouts/aws-sdk-ios/AWSAuthSDK/