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
public class Order | |
{ | |
[ChoiceType("Book")] | |
public var books:Array; | |
} | |
public class Book | |
{ | |
[Required] | |
public var isbn:String; |
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
<order> | |
<book isbn="0942407296" | |
title="Rain" | |
author="Karen Duve" /> | |
<book isbn="0953892201" | |
title="Perfume" | |
author="Patrick Suskind" | |
comment="Special Offer"> | |
Some description | |
</book> |
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
States.host(this) | |
.state("disabled") | |
.child("titleLabel") | |
.width(100).height(100) | |
.size(100, 100) | |
.x(10).y(23) | |
.position(10, 23) | |
.text("disabeled state") | |
.set("textFormat", tf) | |
.end() |
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
// Copyright 2007. Adobe Systems, Incorporated. All rights reserved. | |
// This script will export each layer in the document to a separate file. | |
// Written by Naoki Hada | |
// ZStrings and auto layout by Tom Ruark | |
/* | |
@@@BUILDINFO@@@ Export Layers To Files.jsx 1.0.0.16 | |
*/ | |
/* |
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 feathersx.controls.text | |
{ | |
import feathers.controls.text.TextBlockTextRenderer; | |
import flash.geom.Point; | |
import flash.geom.Rectangle; | |
import flash.text.engine.ContentElement; | |
import flash.text.engine.ElementFormat; | |
import flash.text.engine.GroupElement; | |
import flash.text.engine.TextElement; |
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
/** | |
* Created by max on 6/12/16. | |
*/ | |
package | |
{ | |
import flash.display.Stage; | |
import flash.events.TimerEvent; | |
import flash.events.TouchEvent; | |
import flash.utils.Timer; | |
import flash.utils.getTimer; |
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
#!/usr/bin/ruby | |
require "rexml/document" | |
require "fileutils" | |
include REXML | |
platforms = ["ios", "android", "air-desktop"] | |
script_name = File.basename(__FILE__) | |
if ARGV.count < 3 |
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
#!/bin/sh | |
echo killing adl... | |
pkill -HUP adl > /dev/null | |
echo killed | |
# |
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
//: Playground - noun: a place where people can play | |
import Foundation | |
// MARK: Infrastructure | |
/// Contract for remote user service | |
protocol UserService { | |
func signIn(completion handler: (User?) -> ()) | |
} |
OlderNewer