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
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
<link rel="apple-touch-startup-image" media="(max-device-width: 480px) and not (-webkit-min-device-pixel-ratio: 2)" href="apple-startup-320x460.png"> | |
<link rel="apple-touch-startup-image" media="(max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)" href="apple-startup-640x920.png"> | |
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: portrait)" href="apple-startup-768x1004.png"> | |
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: landscape)" href="apple-startup-1024x748.png"> |
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
function getTimezoneOffset(){ | |
var now = new Date(); | |
return (-1) * now.getTimezoneOffset() / 60; | |
} |
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
# encoding: utf-8 | |
class Shift | |
include Mongoid::Document | |
include Mongoid::Timestamps | |
include Mongoid::MultiParameterAttributes | |
belongs_to :account, index: true | |
belongs_to :employee, index: true | |
field :status, type: Symbol, default: :draft | |
field :date, type: Date |
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
php_value date.timezone UTC |
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
#!/bin/bash | |
for i in `gem list --no-versions`; do gem uninstall -aIx $i; done | |
gem update | |
gem install bundler |