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
| cam-mac:~ camwest$ cat ~/.MacOSX/environment.plist | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>EDITOR</key> | |
| <string>/usr/local/bin/mate -w</string> | |
| <key>JAVA_HOME</key> | |
| <string>/Library/Java/Home</string> | |
| <key>CATALINA_HOME</key> |
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
| package com.yardstick.shared.ui.controls | |
| { | |
| import com.yardstick.shared.events.ActionPanelEvent; | |
| import flash.events.MouseEvent; | |
| import spark.components.Panel; | |
| import spark.components.supportClasses.ButtonBase; | |
| [Event(name="action", type="com.yardstick.shared.events.ActionPanelEvent")] |
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
| package com.yardstick.shared.ui.controls | |
| { | |
| import com.yardstick.shared.events.ActionPanelEvent; | |
| import flash.events.Event; | |
| import flash.events.MouseEvent; | |
| import spark.components.SkinnableContainer; | |
| import spark.components.supportClasses.ButtonBase; | |
| import spark.primitives.supportClasses.TextGraphicElement; |
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
| class Episode < ActiveRecord::Base | |
| # accessors | |
| attr_accessor :flex_video | |
| def video_url | |
| video.url | |
| end | |
| def video_url=(url) | |
| #do nothing |
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 class EpisodeItemViewPresentationModel extends EventDispatcher | |
| { | |
| //----------------------------------------------- | |
| // Statics | |
| //----------------------------------------------- | |
| public static const PUBLISHED:String = "published"; | |
| public static const UPLOADING:String = "uploading"; | |
| public static const PENDING:String = "pending"; |
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 class EpisodeItemViewPresentationModelTest | |
| { | |
| private var model:EpisodeItemViewPresentationModel; | |
| private var mockDispatcher:MockEventDispatcher; | |
| //----------------------------------------------- | |
| // Setup | |
| //----------------------------------------------- | |
| [Before] |
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
| package com.yardstick.admin.ui.presenters | |
| { | |
| import assets.Config; | |
| import com.yardstick.shared.events.AccountEvent; | |
| import com.yardstick.shared.model.vos.Account; | |
| import flash.display.Sprite; | |
| import flash.events.Event; | |
| import flash.events.EventDispatcher; |
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
| About your application's environment | |
| Ruby version 1.8.6 (universal-darwin9.0) | |
| RubyGems version 1.3.1 | |
| Rack version 1.0 | |
| Rails version 2.3.2 | |
| Active Record version 2.3.3 | |
| Action Pack version 2.3.3 | |
| Active Resource version 2.3.3 | |
| Action Mailer version 2.3.3 | |
| Active Support version 2.3.3 |
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
| #inside rails initializer: | |
| config.active_record.observers = :user_observer, :encoding_observer | |
| # model /app/models/episode.rb | |
| class Episode < ActiveRecord::Base | |
| def after_create | |
| logger.info("EPISODE CREATED") | |
| end | |
| end |
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
| Referer: http://master.woople.local/bin-debug/Woople.swf? | |
| Content-type: application/json | |
| Content-length: 172 | |
| {"authenticity_token":"ksE82gB0HFQjlHiy8+1pKx+NSXePQoiKfbAtN3X82MM=","_method":"put","course":{"category_id":0,"approved":false,"id":44,"name":"Course 2","description":""}} |