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
month = 5 | |
year = 2009 | |
century = (year - (year % 100))/100 | |
century_offset = ((39 - century) % 4) * 2 | |
is_leap = (year % 4 == 0 && year % 100 != 0) || year % 400 == 0 | |
year_offset = ((year % 100) + (year % 100)/4) % 7 |
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
rob@cosmo kiva (master) $ gfortran -o kiva3v *.F | |
begin.F:51.18: | |
call second(tstart) | |
1 | |
Error: 'time' argument of 'second' intrinsic at (1) must be of kind 4 | |
exitk.F:32.19: | |
call second (tfinish) | |
1 |
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
class Staff < Sequel::Model(:staff) | |
require 'sequel/extensions/pagination' | |
def box_times | |
if box | |
box.split(';#') | |
else | |
[] | |
end |
NewerOlder