This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Accelerate | |
import CoreGraphics | |
import CoreMedia | |
import Foundation | |
import QuartzCore | |
import UIKit | |
func createImage(from sampleBuffer: CMSampleBuffer) -> UIImage? { | |
guard let imageBuffer = CMSampleBufferGetImageBuffer(sampleBuffer) else { | |
return nil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ALBlockOperation.h | |
// | |
// Created by Anthony Lobianco on 10/5/17. | |
// | |
#import <Foundation/Foundation.h> | |
NS_ASSUME_NONNULL_BEGIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ALFileCopier.h | |
// | |
// Created by Anthony Lobianco. | |
// Copyright © 2016 All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
NS_ASSUME_NONNULL_BEGIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ALTableViewThing.h | |
// | |
// Created by Anthony Lobianco. | |
// Copyright © 2016 All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
// to make it easier for outside classes to know which values to cast to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Written by Anthony Lobianco, 01/23/2014 | |
# | |
# A simple script to batch rename television files | |
# | |
# USAGE | |
# ----- | |
# chmod a+x tv_rename.sh | |
# ./tv_rename.sh -d /path/to/show/S01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Written by Anthony Lobianco, 02/13/2013 | |
# | |
# a script to make managing passwords quicker and easier. | |
# | |
# USAGE | |
# ----- | |
# chmod a+x pass.sh | |
# ./pass.sh |