Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>TinyBrick, LLC</title>
<!-- Typekit tester -->
<script type="text/javascript" src="http://192.168.1.199/tinybrick/js/swfobject/swfobject.js" ></script>
<link rel="stylesheet" type="text/css" href="http://192.168.1.199/tinybrick/skin/frontend/delorum/default/css/base-1.1.1.css" media="all" />
public class Startup extends SimpleCommand implements ICommand
{
override public function execute( note:INotification ):void
{
switch(note.getName()){
case AppFacade.APP_STARTUP:
facade.registerMediator( new AppMediator( note.getBody() as BreadBox ) );
facade.registerMediator( new MenuMediator() );
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="400"
height="300"
xmlns:components="app.view.components.*"
xmlns:inventory="app.view.components.inventory.*"
addedToStage="_startup(event)">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="shortcut icon" href="favicon.ico">
<title>Eric Kiel Photography</title>
<script type="text/css" src="style.css" ></script>
<script type="text/javascript" src="prototype/js/swfobject/swfobject.js"></script>
<script type="text/javascript" src="prototype/js/swfaddress/swfaddress.js"></script>
@tylerflint
tylerflint / gist:823035
Created February 11, 2011 21:11
comprehensive boxfile
general:
writable_directories: [ test2 ]
web:
document_root: /
default_gateway: app.php
index_list: [info.php]
far_future_expires: false
locations:
-
@tylerflint
tylerflint / gist:869906
Created March 14, 2011 21:15
Fully Featured Boxfile
general:
writable_directories: [/dirA, /dirB]
web:
document_root: /
index_list: [index.html, index.php]
default_gateway: index.php
locations: []
error_pages: {404: /404.html}
@tylerflint
tylerflint / gist:870959
Created March 15, 2011 16:17
transaction status sample
{
"id":"abcde12",
"status":"incomplete",
"description": "Installing App",
"progress":[
{
"name":"app.router.register",
"description": "registering app on router",
"status": "complete",
"duration": "200"
@tylerflint
tylerflint / gist:880374
Created March 21, 2011 22:33
default boxfile with comments
general:
# network shared directories that every
# node has access to in real time.
#
# CAUTION: these should be used sparingly!
# You should only use these for upload content
# or possible as a central cache store.
#
# WARNING: Once you specify a directory here,
# deploys will only copy new files into these
@tylerflint
tylerflint / gist:891434
Created March 28, 2011 22:25
php version sample
php:
version: '5.2.17'
@tylerflint
tylerflint / gist:891454
Created March 28, 2011 22:35
php extensions example
php:
# short list
extensions: [apc, mysql]
# long list
extensions:
- apc
- mysql
- hash
- iconv