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
| public static DateTimeOffset ProcessDate(this Fulfilment f) | |
| { | |
| var originalOrderDate = f.OrderItem.CreatedAt; | |
| var fulfilmentCutOffDate = f.Schedule.CutOffDate; | |
| var currentDateToUse = new DateTimeOffset(); | |
| var i = 0; //to count up months from original order date | |
| while (true) | |
| { |
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
| 2018-05-30T07:01:31.981870+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 49017 -e production` | |
| 2018-05-30T07:01:38.171500+00:00 heroku[web.1]: State changed from starting to crashed | |
| 2018-05-30T07:01:38.152535+00:00 heroku[web.1]: Process exited with status 1 | |
| 2018-05-30T07:01:38.032014+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `require': No such file to load -- Photo.rb (LoadError) | |
| 2018-05-30T07:01:38.032112+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `block in require' | |
| 2018-05-30T07:01:38.032140+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in `load_dependency' | |
| 2018-05-30T07:01:38.032164+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `require' | |
| 2018-05-30T07:01:38.032199+00:00 app[web.1]: from |
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
| string path = "c:/folder/file.jpg"; | |
| using(StreamWriter sw = File.AppendText(path)) | |
| { | |
| sw.WriteLine("write some text"); | |
| } |