Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created May 5, 2009 19:22
Show Gist options
  • Save jpemberthy/107143 to your computer and use it in GitHub Desktop.
Save jpemberthy/107143 to your computer and use it in GitHub Desktop.
#setting time zone to Bogota UTC -05
config.time_zone = "Bogota"
ENV['RAILS_ASSET_ID'] = `git log -1 --pretty=format:"%h"`
var asset_id = <%= ENV['RAILS_ASSET_ID'].to_json %>
var uniObj = new UnityObject('/unity3d/WebTesis.unity3d' + '?' + asset_id, "Unity3D", "600", "450");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment