Skip to content

Instantly share code, notes, and snippets.

View TyrfingMjolnir's full-sized avatar
💭
in my scriptorium whipping up some whoopass

Tyrfing Mjølner TyrfingMjolnir

💭
in my scriptorium whipping up some whoopass
View GitHub Profile
//FixturesObject.m
//...
NSString *dateString = [NSString stringWithFormat: @"%@",object.date];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd'T'HH:mm:ssZ"];
NSDate *myDate = [dateFormatter dateFromString:dateString];
NSString *dateInEpoch = [NSString stringWithFormat:@"%.0f", [myDate timeIntervalSince1970]];
## Still in 2014 I'm on FM11SA and would like to know if it's possible to run this trick
## from http://www.haxney.org/2012/06/use-filemaker-web-publishing-in-apache.html
## This is just a fork, the first line at least has its file in place for FM11SA
## Used this solution for now with IIS: http://forums.filemaker.com/posts/8d17326af1
LoadModule jk_module "c:/Program Files/FileMaker/FileMaker Server/Web Publishing/publishing-engine/web-server-support/apache-2.2/mod_jk.so"
JkWorkersFile "c:/Program Files/FileMaker/FileMaker Server/Admin/admin-helper/WEB-INF/conf/workers.properties"
JkMountFile "c:/Program Files/FileMaker/FileMaker Server/Admin/admin-helper/WEB-INF/conf/uriworkermap.properties"