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
| //So I've got a flash video which has got a bit of text on it which I have converted to a button symbol. | |
| //What I want it to do is call a javascript function when I click on the button. What i've got at the moment is: | |
| on (press) { | |
| import flash.external.ExternalInterface; | |
| ExternalInterface.call("test"); | |
| trace("I've been pressed"); | |
| } | |
| //When I run this in debug mode it does print "I've been pressed" to the output window so I'm assuming this is working. When I place this //on the page with the following js in the header however nothing happens... |
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
| Feature: Confirm details for existing users | |
| So that an existing toptable user can create a booking without having to fill in all their details | |
| As an existing user | |
| I would like to have a cut down confirm details page | |
| Background: | |
| Given I am signed in | |
| And I have selected a valid time for 2 people tomorrow at 5pm for venue 14175 | |
| @omniture |
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
| rake wa:website:james |
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
| exit |
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
| explorer . |
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
| cd /d c:\src\trunk\ |
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
| if(browser.Browser.Equals("IE", StringComparison.InvariantCultureIgnoreCase)) | |
| { | |
| if(browser.MajorVersion <= 6) | |
| { | |
| return false; | |
| } | |
| } |
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
| var client = new RestClient(); | |
| client.BaseUrl = "http://api.developerdame.com"; | |
| var request = new RestRequest(); | |
| request.Resource = "customers"; | |
| var customers = client.Execute(request).Deserialze<List<Customer>>(); | |
| request = new RestRequest(); | |
| request.Resource = "customers/james"; |
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
| { "Description" : "\r\nCongratulations to all of this year's Michelin star winning restaurants. The new additions have been announced and these are the ones you can find on toptable. Foodies, start your engines and start booking now!", | |
| "OmniturePageName" : "curated-list|Michelin starred restaurants 2011 - new additions", | |
| "OmnitureSectionName" : "CuratedLists", | |
| "PageTitle" : "Michelin starred restaurants 2011 - new additions", | |
| "Title" : "Michelin starred restaurants 2011 - new additions", | |
| "Venues" : [ { "Address" : "Henley Road", | |
| "Cuisines" : [ "Modern European" ], | |
| "DinerRating" : "8.0", | |
| "ImageUrl" : "http://media.toptable.com/images/thumb/5120.jpg", | |
| "LoveIt" : false, |
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
| RegionInfo regionInfo = (from c in CultureInfo.GetCultures(CultureTypes.InstalledWin32Cultures) | |
| let r = new RegionInfo(c.LCID) | |
| where r.ISOCurrencySymbol == "GBP" | |
| select r).FirstOrDefault(); |