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
convert aasthawahi.jpg -thumbnail x256 -resize '256x<' -resize 50% -gravity center -crop 128x128+0+0 +repage -format jpg -quality 91 aasthawahi_thumb.jpg | |
montage *_thumb.jpg -geometry '+0+0' sprite.jpg |
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
// | |
// NSDate+Pretty.m | |
// AaronWheeler | |
// | |
// Created by Aaron Wheeler on 10/4/10. | |
// Copyright 2010 n/a. All rights reserved. | |
// | |
#import "NSDate+Pretty.h" |
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
<html> | |
<head> | |
<title>Normal Image</title> | |
<style type="text/css" media="screen"> | |
body { | |
padding: 1em 5em; | |
} | |
div { | |
width:200px; |
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
module Merb::Cache | |
# The installed cache stores don't serialize the data before | |
# caching it. The MarshalStore serializes the data using Marshal.dump | |
# and Marshal.load. | |
# | |
# NOTE: to be useful with DataMapper, make sure to use the edge version | |
# of dm-core 0.9.8 or later, otherwise you'll be left with an error that | |
# looks like "no marshal_dump is defined for class Thread". | |
# (thanks dkubb: http://github.com/sam/dm-core/commit/83ea752d5604726b00ff11c55c0fbd2c39607c16) | |
class MarshalStore < AbstractStrategyStore |