This file contains 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.lintpanzer.managers | |
{ | |
import com.asfusion.mate.events.Dispatcher; | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.events.IEventDispatcher; | |
public class ManagerBase extends EventDispatcher | |
{ |
This file contains 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
<g:if test="${ grails.util.GrailsUtil.getEnvironment().equals(org.codehaus.groovy.grails.commons.GrailsApplication.ENV_PRODUCTION) }"> | |
<!-- Markup to include ONLY when in production --> | |
</g:if> |
This file contains 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
<g:if env="production"> | |
<!-- Markup to include ONLY when in production --> | |
</g:if> |
This file contains 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
new-alias jrun "C:\JRun4\bin\jrun.exe" | |
function cf($server="cfusion"){ | |
jrun -start $server | |
} |
This file contains 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
new-alias jrun "C:\ColdFusion9\runtime\bin\jrun.exe" | |
function cf($server="coldfusion"){ | |
jrun -start $server | |
} |
This file contains 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
// member.children() == Collection of Member instances | |
// member.parents() == Collection of Member instances | |
Member.findAll("from Member as m where m.id not in (:ids)",[ids:[member.id] + member.children()*.id + member.parents()*.id]) |
This file contains 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
// | |
// Showdown.as -- An ActionScript port of showdown.js | |
// | |
// Copyright (c) 2010 Charles Strahan. | |
// | |
// Original Showdown Copyright (c) 2007 John Fraser. | |
// <http://attacklab.net/showdown/> | |
// | |
// Original Markdown Copyright (c) 2004-2005 John Gruber | |
// <http://daringfireball.net/projects/markdown/> |
This file contains 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
#import "Document.h" | |
#import "Person.h" | |
@implementation Document | |
- (id)init { | |
self = [super init]; | |
if (self) { | |
employees = [[NSMutableArray alloc] init]; | |
} |
This file contains 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
<cfeach in="#myCollection#" var="myItem"> | |
<cfset myItem.doStuff() /> | |
</cfeach> | |
<cfscript> | |
each(myCollection,function(myItem){ | |
myItem.doStuff(); | |
} | |
</cfscript> |
This file contains 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 { | |
[RemoteClass(alias="Address")] | |
public class Address { | |
// some properties would be here | |
} | |
} |
OlderNewer