Archive for the ‘Web Dev and Tech’ Category
Monday, January 25th, 2010
From http://www.iphonedevsdk.com/forum/iphone-sdk-development/17999-profile-doesn-t-match-application-identifier.html
I was getting a “Code signing profile doesn’t match developer certificate” error. After much troubleshooting. I am able to set the Code Signing Profile in Project Info but the selection was greyed out when I was editing Active Target.
Finally fixed the bug by updating the plist!
Post by joni:
There were so many steps, I’m not sure I remember them all, but here are the parts I do remember, in case this helps anybody:
- I had two “System” keychains, so I deleted one of them
- I set the “login” keychain to be the default, so that new keys would be added there (it should show up bold when it’s the default)
- deleted the old public and private keys for my developer identity, and the wwdr and iphone developer certificates (in both the login and system keychains)
- quit keychain access and restarted it
- generated completely new keys, certificates, app id, provisioning profile
- made sure everything got added to the login keychain, not the system keychain
- in xcode deleted the old provisioning profiles from the Organizer and the device
- added the new profile to xcode and the device
- updated the info.plist (since I’d changed the com.yourcompany part of the app id in the new profile)
After verifying it worked with beta 4, I upgraded again to beta 5, did a clean rebuild, and everything still works fine. 
Tags: code signing profile, debug, developer certificate, iphone, plist, troubleshooting Posted in Web Dev and Tech | No Comments »
Thursday, January 21st, 2010
From: http://forum.joomla.org/viewtopic.php?f=309&t=275353
“” is the Byte Order Mark (BOM) of the Unicode Standard. Specifically it is the hex bytes EF BB BF, which form the UTF-8 representation of the BOM, misinterpreted as ISO 8859/1 text instead of UTF-8.
Probably what it means is that you are using a text editor that is saving files in UTF-8 with the BOM, when it should be saving without the BOM. It could be PHP files that have the BOM, in which case they’d appear as literal text on your page.
The Unicode Consortium’s FAQ on the Byte Order Mark is at http://www.unicode.org/faq/utf_bom.html#BOM .
Horrible first post of the year I know but hey Henry suggested I post my bug zappers online and this is something =P.
Tags: bom, bug, byte order mark, html, i18n, l10n, utf-8, work, zapper Posted in Web Dev and Tech | No Comments »
Friday, August 7th, 2009
Essential Developer Tools
Flash Content Embed
http://www.alistapart.com/articles/flashembedcagematch/
“How can you best embed Flash content?”
It should be a simple question, but is likely to evoke a lot of different opinions and arguments, as each of the many available embedding techniques have their own pros and cons. In this article, I will look into the complexities and subtleties of embedding Flash content and examine the most popular embedding methods to see how good they really are.
The key ingredients of a great Flash embedding method:
- Standards Compliance
- Cross-Browser Support
- Support for Alternative Content
- Avoidance of Flash Content/Player Mismatches
- Auto-Activation of Active Content
- Ease Of Implementation
http://code.google.com/p/swfobject/
What is SWFObject?
- Offers two optimized Flash Player embed methods; a markup based approach and a method that relies on JavaScript
- Offers a JavaScript API that aims to provide a complete tool set for embedding SWF files and retrieving Flash Player related information
- Utilizes only one small JavaScript file (10Kb / GZIPed: 3.9Kb)
- Is the successor of SWFObject 1.5, UFO and the Adobe Flash Player Detection Kit
- Intends to unify all existing Flash Player embed methods and provide a new standard for embedding Adobe Flash Player content
Why should you use SWFObject?
- Is more optimized and flexible than any other Flash Player embed method around
- Offers one solution for everybody: It shouldn’t matter if you are an HTML, Flash, or JavaScript developer, there should be something in it for everyone
- Breaks the cycle of being locked into vendor specific markup and promotes the use of web standards and alternative content
- Uses unobtrusive JavaScript and JavaScript best practices
- Is easy to use
Tags: development, embed, flash, object, swfobject Posted in Web Dev and Tech | No Comments »
Tuesday, July 28th, 2009
Iteration
<#list mainItem.item as item>
<#local x = x+1>
<#local itemTitle = item.title />
<#local itemLink = item.link />
<a href=”${itemLink}”>${itemTitle}</a>
<#if x < 4> · </#if>
</#list>
Looping
item_has_next = foreach (where item can be replaced by key name)
item_index = count (where item can be replaced by key name)
Tags: freemarker, ftl, programming Posted in Web Dev and Tech | No Comments »
Tuesday, July 14th, 2009
Building an application: http://tv.adobe.com/#vi+f1590v1809
Simple mouseclick linking to frame code:
boards.addEventListener(MouseEvent.CLICK, gotoBoards);
function gotoBoards(event:MouseEvent): void
{
Sound.Mixer.stopAll();
gotoAndPlay(1); //1 = frame number
}
Colin Moock’s Lost Action Script Weekend – Course 1 Introduction:
Tags: action script, adobe, adobetv, as3, flash, motion, tutorial, video Posted in Web Dev and Tech | No Comments »
|
|
|