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
["/Users/Achilleas/Sites/rodex/app/assets/images", "/Users/Achilleas/Sites/rodex/app/assets/javascripts", "/Users/Achilleas/Sites/rodex/app/assets/stylesheets", "/Users/Achilleas/Sites/rodex/vendor/assets/javascript", "/Users/Achilleas/Sites/rodex/vendor/assets/markitup", "/Users/Achilleas/Sites/rodex/vendor/assets/stylesheets", "/Users/Achilleas/Sites/rodex/vendor/assets/twitter-bootstrap", "/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts"] |
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
#Inside Photo model | |
has_attached_file :file, | |
:processors => [ :blurplates, :thumbnail ], | |
:styles => { :frontpage => "460x100000", :view => "740x100000", :medium => '300x300', :thumb => "100x100>" } | |
#blurplates.rb | |
# Load libs | |
require 'camellia' |
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 | |
### BEGIN INIT INFO | |
# Provides: unicorn | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the unicorn web server | |
# Description: starts unicorn |
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
/** | |
* Create an input for a date that gets filled in by a datepicker in a modal window. | |
*/ | |
createModalDatePickerInput: function(){ | |
var field = Ti.UI.createTextField({ | |
width: '90%', | |
height: 35, | |
borderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED | |
}); |
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
/** | |
* Create an input for a date that gets filled in by a datepicker in a modal window. | |
*/ | |
createModalDatePickerInput: function(){ | |
var field = Ti.UI.createTextField({ | |
width: '90%', | |
height: 35, | |
borderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED | |
}); |
NewerOlder