This file contains 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
#!/usr/bin/env ruby | |
# Scale and add a text water mark to images. | |
require 'moving_images' | |
include MovingImages | |
# The folder where the water marked images will be saved. | |
output_dir = "~/Desktop/watermarkedfiles" |
This file contains 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
#!/usr/bin/env ruby | |
# This is the script code to run. It runs the script based on the file path to the script not text passed in. | |
# In Panic's "Coda Plug-in Creator" I've set the following options: | |
# Command is: Run Document | |
# Keyboard shortcut: Command-Option-R | |
# On Run: Save | |
# On Success: Nothing | |
# STDIN None | |
# STDOUT New Document |
This file contains 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 <Foundation/Foundation.h> | |
@interface BaseClass : NSObject | |
+(void)callDerivedClassMethod; | |
@end | |
@interface DerivedClass : BaseClass | |
+(void)derivedClassMethod; | |
@end |
This file contains 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
{ | |
"{TIFF}": { | |
"ResolutionUnit": 2, | |
"Software": "NEX-5N v1.01", | |
"DateTime": "2013:07:28 13:50:35", | |
"XResolution": 350, | |
"ImageDescription": " ", | |
"Orientation": 1, | |
"Model": "NEX-5N", | |
"Make": "SONY", |
This file contains 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
// main.m | |
// compareimages | |
// | |
// Created by Kevin Meaney on 25/02/2014. | |
// Copyright (c) 2014 Kevin Meaney. All rights reserved. | |
@import Foundation; | |
@import QuartzCore; | |
// --------------------------------------------------------------------------- |
NewerOlder