text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>TELKOM INDONESIA | TOMS</title>

    <link href="<?php echo base_url(); ?>assets/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/bower_components/datatables-responsive/css/dataTables.responsive.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/dist/css/sb-admin-2.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <link href="<?php echo base_url(); ?>assets/bower_components/custom/customregin.css" rel="stylesheet">

        <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/bower_components/custom/component.css" />

<link href="<?php echo base_url(); ?>assets/css/landing-page.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
 <link href="<?php echo base_url(); ?>assets/css/landing-page.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/css/landing-page.css" rel="stylesheet">

    <link href="<?php echo base_url(); ?>assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    Toggle navigation

                </button>
                LOGO TOMS

                                     New Comment
                                    4 minutes ago

                                See All Alerts

 User Profile

 Settings

 Logout

                                <input type="text" class="form-control" placeholder="Search...">

                                <button class="btn btn-default" type="button">

                                </button>

                             View & Edit Data

                             Input Data

                             Akun Manager

                                    Add Manager Account

                                    View List Manager Account

                             Sample Pages

                                    Blank Page

                                    Login Page

On Progress

Search:  <input type="search" class="light-table-filter" data-table="order-table" placeholder="Type to search">

        <img size=5px src="<?php echo base_url(); ?>assets/xls.ico" title="Export to Excel" />
        <img size=5px src="<?php echo base_url(); ?>assets/pdf.ico" title="Export to PDF" />

                    <form method="post" autocomplete="off" id="formtable" name="formtable" enctype="multipart/form-data" action="">

             Data Pelanggan
             Progress

                    No
                    Cust_Name
                    Cust_Ship
                    City
                    Customer_Segmen
                    Product
                    BW_Packet
                    One_Time_Charge
                    Abonemen
                    Sales_by
                    AM_Name
                    AM_Phone
                    Customer_Phone
                    Contract_Date
                    Due_Date_Live
                    Tech_Data

                    Input_Date
                    Speedy_Number
                    Date_of_Progress
                    I-Siska_Status
                    Tenoss_Status
                    Status
                    Additional_Information
                    One_Time_Charge
                    Follow_up
                    Unit_in_Charge
                    PIC_Name
                    PIC_Number
                    Put_in_Service_Date

        <?php
                $count = 0;
                $sizeRes = sizeof($isiska->result());
                    foreach($isiska->result() as $data):
                        if($data->Status=="progress" or $data->Status=="Progress"){
                        echo "
".$data->No."
            <input type='hidden' onkeypress='changeColor()' style='text-align:center' name='No' id='No".$count."' value='$data->No' placeholder='$data->No'></input>	";
                        echo "
                        <textarea cols='20' rows='3' name='Cust_Name' id='Cust_Name".$count."'>".$data->Cust_Name."</textarea>	";
                        echo "
                        <textarea cols='30' rows='3' name='Cust_Ship' id='Cust_Ship".$count."'>".$data->Cust_Ship."</textarea>	";
                        echo "
                        <textarea cols='20' rows='1' name='City' id='City".$count."'>".$data->City."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='Customer_Segmen' id='Customer_Segmen".$count."'>".$data->Customer_Segmen."</textarea>	";
                        echo "";?>
                        <select  name="Product" id="Product<?php print $count; ?>">
                        <option value="<?php print $data->Product ?>"><?php echo "$data->Product" ;?></option>
                        <option <?php if($data->Product=="SPEEDY"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="SPEEDY">SPEEDY</option>
                        <option <?php if($data->Product=="SPEEDY GOLD"){ ?>style="display:<?php print "none";?>" <?php } ?> value="SPEEDY GOLD">SPEEDY GOLD</option>
                        <option <?php if($data->Product=="WIRELINE"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="WIRELINE">WIRELINE</option>
                        </select>
                         <?php '	';

                        echo " ";?>
                        <select  name="BW_Packet" id="BW_Packet<?php print $count; ?>">
                        <option value="<?php print $data->BW_Packet ?>"><?php echo "$data->BW_Packet" ;?></option>
                        <option <?php if($data->BW_Packet=="1MBPS" or $data->BW_Packet=="1 MBPS"){ ?>style="display:<?php echo "none";?>" <?php } ?>  value="1 MBPS">1 MBPS</option>
                        <option <?php if($data->BW_Packet=="2MBPS" or $data->BW_Packet=="2 MBPS"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="2 MBPS">2 MBPS</option>
                        <option <?php if($data->BW_Packet=="3MBPS" or $data->BW_Packet=="3 MBPS"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="3 MBPS">3 MBPS</option>
                        <option <?php if($data->BW_Packet=="5MBPS" or $data->BW_Packet=="5 MBPS"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="5 MBPS">5 MBPS</option>
                        <option <?php if($data->BW_Packet=="10MBPS" or $data->BW_Packet=="10 MBPS"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="10 MBPS">10 MBPS</option>
                        <option <?php if($data->BW_Packet=="20MBPS" or $data->BW_Packet=="20 MBPS"){ ?>style="display:<?php print "none";?>" <?php } ?>  value="20 MBPS">20 MBPS</option>
                        </select>
                         <?php '	';

                        echo "
                        <textarea cols='20' rows='1' name='One_Time_Charge' id='One_Time_Charge".$count."'>".$data->One_Time_Charge."</textarea>	";
                        echo "
                        <textarea cols='20' rows='1' name='Abonemen' id='Abonemen".$count."'>".$data->Abonemen."</textarea>	";
                        echo "
                        <textarea cols='20' rows='1' name='Sales_by' id='Sales_by".$count."'>".$data->Sales_by."</textarea>	";
                        echo " ";?>
                        <select  name="AM_Name" id="AM_Name<?php print $count; ?>">
                            <option value="<?php print $data->AM_Name ?>"><?php echo "$data->AM_Name ";?></option>
                        <?php
                        print($data->AM_Name);
                    foreach($amname->result() as $data2):
                        if($data2->Nama_AM!=$data->AM_Name){

                     ?>
                        <option value="<?php print $data2->Nama_AM ?>"><?php echo "$data2->Nama_AM" ;?></option>
                        <?php
                    }

                      endforeach;
                    ?>
                        </select>
                         <?php '	';

                        echo "
                        <textarea cols='14' rows='1' name='AM_Phone' id='AM_Phone".$count."'>".$data->AM_Phone."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Customer_Phone' id='Customer_Phone".$count."'>".$data->Customer_Phone."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Contract_Date' id='Contract_Date".$count."'>".$data->Contract_Date."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Due_Date_Live' id='Due_Date_Live".$count."'>".$data->Due_Date_Live."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Tech_Data' id='Tech_Data".$count."'>".$data->Tech_Data."</textarea>	";
                        echo "Input_Date'>
                        <innput type='date' name='Input_Date' id='Input_Date".$count."'>".$data->Input_Date."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Speedy_Number' id='Speedy_Number".$count."'>".$data->Speedy_Number."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Date_of_Progress' id='Date_of_Progress".$count."'>".$data->Date_of_Progress."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='ISiska_Status' id='ISiska_Status".$count."'>".$data->ISiska_Status."</textarea>	";
                        echo "
                        <textarea cols='14' rows='1' name='Tenoss_Status' id='Tenoss_Status".$count."'>".$data->Tenoss_Status."</textarea>	";
                        echo ''; ?>
                        <select  name="Status" id="Status<?php print $count; ?>">
                        <option value="Progress">Progress</option>
                        <option value="Closed">Closed</option>
                        </select>
                         <?php '	';
                        echo "
                        <textarea cols='20' rows='3' name='Additional_Information' id='Additional_Information".$count."'>".$data->Additional_Information."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='Follow_up' id='Follow_up".$count."'>".$data->Follow_up."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='Unit_in_Charge' id='Unit_in_Charge".$count."'>".$data->Unit_in_Charge."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='PIC_Name' id='PIC_Name".$count."'>".$data->PIC_Name."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='PIC_Number' id='PIC_Number".$count."'>".$data->PIC_Number."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='Put_in_Service_Date' id='Put_in_Service_Date".$count."'>".$data->Put_in_Service_Date."</textarea>	";
                        echo "
                        <textarea cols='20' rows='3' name='Put_in_Service_Date' id='Put_in_Service_Date".$count."'>".$data->Put_in_Service_Date."</textarea>	";
                        $count++;
                        ?>

                      <?php
                        }
                      endforeach;
                    ?>

                <input type="submit" id="submitbutton" name="submitbutton" value="Submit" onclick="return dataProcess();" />
        </form>

                         Data Pelanggan
                         Progress

                    No
                    Cust_Name
                    Cust_Ship
                    City
                    Customer_Segmen
                    Product
                    BW_Packet
                    One_Time_Charge
                    Abonemen
                    Sales_by
                    AM_Name
                    AM_Phone
                    Customer_Phone
                    Contract_Date
                    Due_Date_Live
                    Tech_Data

                    Input_Date
                    Speedy_Number
                    Date_of_Progress
                    I-Siska_Status
                    Tenoss_Status
                    Status
                    Additional_Information
                    One_Time_Charge
                    Follow_up
                    Unit_in_Charge
                    PIC_Name
                    PIC_Number
                    Put_in_Service_Date

        <?php
                    foreach($isiska->result() as $data):

                        if($data->Status=="Progress" or $data->Status=="progress"){
                        echo "
".$data->No."		";
                        echo "".$data->Cust_Name."	";
                        echo "".$data->Cust_Ship."	";
                        echo "".$data->City."	";
                        echo "".$data->Customer_Segmen."	";
                        echo "".$data->Product."	";
                        echo "".$data->BW_Packet."	";
                        echo "".$data->One_Time_Charge."	";
                        echo "".$data->Abonemen."	";
                        echo "".$data->Sales_by."	";
                        echo "".$data->AM_Name."	";
                        echo "".$data->AM_Phone."	";
                        echo "".$data->Customer_Phone."	";
                        echo "".$data->Contract_Date."	";
                        echo "".$data->Due_Date_Live."	";
                        echo "".$data->Tech_Data."	";
                        echo "".$data->Input_Date."	";
                        echo "".$data->Speedy_Number."	";
                        echo "".$data->Date_of_Progress."	";
                        echo "".$data->ISiska_Status."	";
                        echo "".$data->Tenoss_Status."	";
                        echo "".$data->Status."	";
                        echo "".$data->Additional_Information."	";
                        echo "".$data->Follow_up."	";
                        echo "".$data->Unit_in_Charge."	";
                        echo "".$data->PIC_Name."	";
                        echo "".$data->PIC_Number."	";
                        echo "".$data->Put_in_Service_Date."	";?>

                      <?php
                        }
                      endforeach;
                    ?>

Closed

Search:  <input type="search" class="light-table-filter" data-table="order-table" placeholder="Type to search">

        <img size=5px src="<?php echo base_url(); ?>assets/xls.ico" title="Export to Excel" />
        <img size=5px src="<?php echo base_url(); ?>assets/pdf.ico" title="Export to PDF" />

                         Data Pelanggan
                         Progress

                    No
                    Cust_Name
                    Cust_Ship
                    City
                    Customer_Segmen
                    Product
                    BW_Packet
                    One_Time_Charge
                    Abonemen
                    Sales_by
                    AM_Name
                    AM_Phone
                    Customer_Phone
                    Contract_Date
                    Due_Date_Live
                    Tech_Data

                    Input_Date
                    Speedy_Number
                    Date_of_Progress
                    I-Siska_Status
                    Tenoss_Status
                    Status
                    Additional_Information
                    One_Time_Charge
                    Follow_up
                    Unit_in_Charge
                    PIC_Name
                    PIC_Number
                    Put_in_Service_Date

        <?php
                    foreach($isiska->result() as $data):

                        if($data->Status=="Closed"){
                        echo "
".$data->No."		";
                        echo "".$data->Cust_Name."	";
                        echo "".$data->Cust_Ship."	";
                        echo "".$data->City."	";
                        echo "".$data->Customer_Segmen."	";
                        echo "".$data->Product."	";
                        echo "".$data->BW_Packet."	";
                        echo "".$data->One_Time_Charge."	";
                        echo "".$data->Abonemen."	";
                        echo "".$data->Sales_by."	";
                        echo "".$data->AM_Name."	";
                        echo "".$data->AM_Phone."	";
                        echo "".$data->Customer_Phone."	";
                        echo "".$data->Contract_Date."	";
                        echo "".$data->Due_Date_Live."	";
                        echo "".$data->Tech_Data."	";
                        echo "".$data->Input_Date."	";
                        echo "".$data->Speedy_Number."	";
                        echo "".$data->Date_of_Progress."	";
                        echo "".$data->ISiska_Status."	";
                        echo "".$data->Tenoss_Status."	";
                        echo "".$data->Status."	";
                        echo "".$data->Additional_Information."	";
                        echo "".$data->Follow_up."	";
                        echo "".$data->Unit_in_Charge."	";
                        echo "".$data->PIC_Name."	";
                        echo "".$data->PIC_Number."	";
                        echo "".$data->Put_in_Service_Date."	";?>

                      <?php
                        }
                      endforeach;
                    ?>


text:
/**
 *
 */
/**
 * @author Jerry Goodnough
 *
 */
package org.socraticgrid.hl7.services.uc.adapters.alerting.interfaces;

redpajama_set_name: RedPajamaGithub


text:
#ifndef SWITCHES_H
#define SWITCHES_H

typedef struct {
    const char *option;
    int *enabled;
    const char *description;
} Switch;

#endif


text:
<?php

namespace Treffynnon\CommandWrap\Combinators;

use Treffynnon\CommandWrap\Assemblers\AssemblerInterface;
use Treffynnon\CommandWrap\Types\CommandCollectionInterface;

class CombinatorAssembler implements AssemblerInterface
{
    protected $separator = '';
    protected $items = [];

    public function get()
    {
        return $this->items;
    }

    public function set(CombinableInterface ...$items)
    {
        $this->items = $items;
    }

    public function setSeperator($separator)
    {
        $this->separator = $separator;
    }

    public function getCommandLine(callable $filter = null)
    {
        return array_map(function ($item) use ($filter) {
            return $item->getCommandAssembler()->getCommandLine($filter);
        }, $this->get());
    }

    public function getCommandString(callable $filter = null)
    {
        return implode(" {$this->separator} ", array_map(function ($item) use ($filter) {
            return $item->getCommandAssembler()->getCommandString($filter);
        }, $this->get()));
    }

    public function __toString()
    {
        return $this->getCommandString();
    }

    public function setCommandLine(CommandCollectionInterface $commandLine)
    {
        // do nothing
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <string name="app_name">Chord Chat</string>

    <string name="me">Me:\n%s</string>
    <string name="they">%1$s:\n%2$s</string>
    <string name="has_left">%s has left the party!</string>
    <string name="has_joined">%s is in the house!!</string>
    <string name="no_data">No data</string>
    <string name="no_interface">No network interface available!\nPlease connect your devices on the same network.\nYou can connect to:\n- Wi-Fi Network\n- Wi-Fi Direct\n- Wi-Fi AP (Hotspot)</string>
    <string name="drawer_open">Open navigation drawer</string>
    <string name="drawer_close">Close navigation drawer</string>
    <string name="input_username">What\'s your name?</string>
    <string name="connection_list">Choose network interface</string>
    <string name="wifi">Wi-Fi</string>
    <string name="wifiap">Wi-Fi AP</string>
    <string name="wifip2p">Wi-Fi Direct</string>

    <string name="ok">OK</string>
    <string name="cancel">Cancel</string>
    <string name="connect">Connect</string>
    <string name="disconnect">Disconnect</string>
    <string name="send">Send</string>

    <string name="error_start_network">Unable to connect to the network interface</string>
    <string name="error_empty_username">Username must have at least 1 character!</string>

</resources>


text:
package org.docksidestage.hanger.dbflute.cbean.cq.ciq;

import java.util.Map;
import org.dbflute.cbean.*;
import org.dbflute.cbean.ckey.*;
import org.dbflute.cbean.coption.ConditionOption;
import org.dbflute.cbean.cvalue.ConditionValue;
import org.dbflute.cbean.sqlclause.SqlClause;
import org.dbflute.exception.IllegalConditionBeanOperationException;
import org.docksidestage.hanger.dbflute.cbean.*;
import org.docksidestage.hanger.dbflute.cbean.cq.bs.*;
import org.docksidestage.hanger.dbflute.cbean.cq.*;

/**
 * The condition-query for in-line of SUMMARY_WITHDRAWAL.
 * @author DBFlute(AutoGenerator)
 */
public class SummaryWithdrawalCIQ extends AbstractBsSummaryWithdrawalCQ {

    // ===================================================================================
    //                                                                           Attribute
    //                                                                           =========
    protected BsSummaryWithdrawalCQ _myCQ;

    // ===================================================================================
    //                                                                         Constructor
    //                                                                         ===========
    public SummaryWithdrawalCIQ(ConditionQuery referrerQuery, SqlClause sqlClause
                        , String aliasName, int nestLevel, BsSummaryWithdrawalCQ myCQ) {
        super(referrerQuery, sqlClause, aliasName, nestLevel);
        _myCQ = myCQ;
        _foreignPropertyName = _myCQ.xgetForeignPropertyName(); // accept foreign property name
        _relationPath = _myCQ.xgetRelationPath(); // accept relation path
        _inline = true;
    }

    // ===================================================================================
    //                                                             Override about Register
    //                                                             =======================
    protected void reflectRelationOnUnionQuery(ConditionQuery bq, ConditionQuery uq)
    { throw new IllegalConditionBeanOperationException("InlineView cannot use Union: " + bq + " : " + uq); }

    @Override
    protected void setupConditionValueAndRegisterWhereClause(ConditionKey k, Object v, ConditionValue cv, String col)
    { regIQ(k, v, cv, col); }

    @Override
    protected void setupConditionValueAndRegisterWhereClause(ConditionKey k, Object v, ConditionValue cv, String col, ConditionOption op)
    { regIQ(k, v, cv, col, op); }

    @Override
    protected void registerWhereClause(String wc)
    { registerInlineWhereClause(wc); }

    @Override
    protected boolean isInScopeRelationSuppressLocalAliasName() {
        if (_onClause) { throw new IllegalConditionBeanOperationException("InScopeRelation on OnClause is unsupported."); }
        return true;
    }

    // ===================================================================================
    //                                                                Override about Query
    //                                                                ====================
    protected ConditionValue xgetCValueMemberId() { return _myCQ.xdfgetMemberId(); }
    protected ConditionValue xgetCValueMemberName() { return _myCQ.xdfgetMemberName(); }
    protected ConditionValue xgetCValueWithdrawalReasonCode() { return _myCQ.xdfgetWithdrawalReasonCode(); }
    protected ConditionValue xgetCValueWithdrawalReasonText() { return _myCQ.xdfgetWithdrawalReasonText(); }
    protected ConditionValue xgetCValueWithdrawalReasonInputText() { return _myCQ.xdfgetWithdrawalReasonInputText(); }
    protected ConditionValue xgetCValueWithdrawalDatetime() { return _myCQ.xdfgetWithdrawalDatetime(); }
    protected ConditionValue xgetCValueMemberStatusCode() { return _myCQ.xdfgetMemberStatusCode(); }
    protected ConditionValue xgetCValueMemberStatusName() { return _myCQ.xdfgetMemberStatusName(); }
    protected ConditionValue xgetCValueMaxPurchasePrice() { return _myCQ.xdfgetMaxPurchasePrice(); }
    protected Map<String, Object> xfindFixedConditionDynamicParameterMap(String pp) { return null; }
    public String keepScalarCondition(SummaryWithdrawalCQ sq)
    { throwIICBOE("ScalarCondition"); return null; }

    protected void throwIICBOE(String name)
    { throw new IllegalConditionBeanOperationException(name + " at InlineView is unsupported."); }

    // ===================================================================================
    //                                                                       Very Internal
    //                                                                       =============
    // very internal (for suppressing warn about 'Not Use Import')
    protected String xinCB() { return SummaryWithdrawalCB.class.getName(); }
    protected String xinCQ() { return SummaryWithdrawalCQ.class.getName(); }
}


text:
<?xml version="1.0" encoding="utf-8"?>

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent">

	<com.koonen.photostream.GridLayout
		style="@style/PhotoGrid" android:id="@+id/grid_photos"
		android:layout_width="fill_parent" android:layout_height="fill_parent"
		android:paddingLeft="10dip" android:paddingTop="15dip"
		android:paddingRight="10dip" android:paddingBottom="55dip" />

	<ImageView android:id="@+id/splash_image"
		android:layout_width="fill_parent" android:layout_height="fill_parent"
		android:visibility="gone" android:scaleType="center" />

	<ImageView android:id="@+id/refresh_image" android:src="@drawable/refresh"
		android:layout_width="150dip" android:layout_height="150dip"
		android:visibility="gone" android:layout_gravity="center"
		android:scaleType="centerInside" />

	<ViewAnimator android:id="@+id/switcher_menu"
		android:layout_width="fill_parent" android:layout_height="fill_parent"
		android:inAnimation="@anim/fade_in" android:outAnimation="@anim/fade_out">

		<include layout="@layout/shared_progress" />

		<LinearLayout style="@style/TextMenu"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:gravity="right">

			<TextView style="@style/TextMenuEntry" android:id="@+id/menu_back"
				android:layout_width="wrap_content" android:layout_height="wrap_content"
				android:text="@string/screen_photostream_back" />

			<TextView style="@style/TextMenuEntry" android:id="@+id/menu_separator"
				android:layout_width="wrap_content" android:layout_height="wrap_content"
				android:layout_marginLeft="5dip" android:layout_marginRight="5dip"
				android:text="@string/screen_photostream_separator" />

			<TextView style="@style/TextMenuEntry" android:id="@+id/menu_next"
				android:layout_width="wrap_content" android:layout_height="wrap_content"
				android:text="@string/screen_photostream_next" />

			<TextView style="@style/TextMenuEntry" android:id="@+id/menu_more"
				android:layout_width="wrap_content" android:layout_height="wrap_content"
				android:text="@string/screen_more" />
		</LinearLayout>

	</ViewAnimator>

</FrameLayout>


text:
<!DOCTYPE html>

		<title>Aidan John</title>
		<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
		<link href="/public/css/main.css" rel="stylesheet" type="text/css">
		<link href="/public/css/simon.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
		   integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

Aidan John

About Me

Projects

About Me

I am a student at the University of Pittsburgh and an aspiring software developer.

 Github

 Linkedin

 freeCodeCamp

Projects

University of Pittsburgh Crime Visualization

Uses data from Pitt Police website, MongoDB, and Google Maps Javascript APIs

Interactive Simon Game

Uses pure CSS and Javascript

Simon

- -

Count

Start

Strict

Aidan John 2017.

The source code for this site is available here


text:
define([
        'jquery',
        'routing',
        'controllers/default'
            ], function(
                $,
                config,
                defaultController
            ) {
                'use strict';
                var app = angular.module('angularApp', ['ngRoute']);
                app.config(config);
                app.controller('defaultController', defaultController);

                angular.bootstrap($('#content'), ['angularApp']);
});


text:
namespace ArduinoWindowsRemoteControl.UI
{
    partial class EditCommandForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.btSave = new System.Windows.Forms.Button();
            this.btCancel = new System.Windows.Forms.Button();
            this.cbRemoteCommand = new System.Windows.Forms.ComboBox();
            this.lbRemoteCommand = new System.Windows.Forms.Label();
            this.rbCommandInput = new System.Windows.Forms.RadioButton();
            this.gbMode = new System.Windows.Forms.GroupBox();
            this.rbNormalInput = new System.Windows.Forms.RadioButton();
            this.tbCommand = new ArduinoWindowsRemoteControl.UI.KeyboardCommandTextBox();
            this.keyboardCommandTextBoxBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.lbCommand = new System.Windows.Forms.Label();
            this.lbCommandInputModeHelp = new System.Windows.Forms.Label();
            this.lbEditCommandModeHelp = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.gbMode.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.keyboardCommandTextBoxBindingSource)).BeginInit();
            this.SuspendLayout();
            //
            // btSave
            //
            this.btSave.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.btSave.Location = new System.Drawing.Point(344, 164);
            this.btSave.Name = "btSave";
            this.btSave.Size = new System.Drawing.Size(75, 23);
            this.btSave.TabIndex = 3;
            this.btSave.Text = "Save";
            this.btSave.UseVisualStyleBackColor = true;
            this.btSave.Click += new System.EventHandler(this.btSave_Click);
            //
            // btCancel
            //
            this.btCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.btCancel.Location = new System.Drawing.Point(428, 164);
            this.btCancel.Name = "btCancel";
            this.btCancel.Size = new System.Drawing.Size(75, 23);
            this.btCancel.TabIndex = 4;
            this.btCancel.Text = "Cancel";
            this.btCancel.UseVisualStyleBackColor = true;
            this.btCancel.Click += new System.EventHandler(this.btCancel_Click);
            //
            // cbRemoteCommand
            //
            this.cbRemoteCommand.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbRemoteCommand.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.cbRemoteCommand.FormattingEnabled = true;
            this.cbRemoteCommand.Location = new System.Drawing.Point(12, 29);
            this.cbRemoteCommand.Name = "cbRemoteCommand";
            this.cbRemoteCommand.Size = new System.Drawing.Size(121, 24);
            this.cbRemoteCommand.TabIndex = 1;
            //
            // lbRemoteCommand
            //
            this.lbRemoteCommand.AutoSize = true;
            this.lbRemoteCommand.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.lbRemoteCommand.Location = new System.Drawing.Point(12, 9);
            this.lbRemoteCommand.Name = "lbRemoteCommand";
            this.lbRemoteCommand.Size = new System.Drawing.Size(124, 16);
            this.lbRemoteCommand.TabIndex = 3;
            this.lbRemoteCommand.Text = "Remote Command:";
            //
            // rbCommandInput
            //
            this.rbCommandInput.AutoSize = true;
            this.rbCommandInput.Checked = true;
            this.rbCommandInput.Location = new System.Drawing.Point(6, 20);
            this.rbCommandInput.Name = "rbCommandInput";
            this.rbCommandInput.Size = new System.Drawing.Size(119, 20);
            this.rbCommandInput.TabIndex = 6;
            this.rbCommandInput.TabStop = true;
            this.rbCommandInput.Text = "Command Input";
            this.rbCommandInput.UseVisualStyleBackColor = true;
            this.rbCommandInput.CheckedChanged += new System.EventHandler(this.rbCommandInput_CheckedChanged);
            //
            // gbMode
            //
            this.gbMode.Controls.Add(this.rbNormalInput);
            this.gbMode.Controls.Add(this.rbCommandInput);
            this.gbMode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.gbMode.Location = new System.Drawing.Point(156, 10);
            this.gbMode.Name = "gbMode";
            this.gbMode.Size = new System.Drawing.Size(347, 47);
            this.gbMode.TabIndex = 5;
            this.gbMode.TabStop = false;
            this.gbMode.Text = "Mode:";
            //
            // rbNormalInput
            //
            this.rbNormalInput.AutoSize = true;
            this.rbNormalInput.Location = new System.Drawing.Point(142, 20);
            this.rbNormalInput.Name = "rbNormalInput";
            this.rbNormalInput.Size = new System.Drawing.Size(169, 20);
            this.rbNormalInput.TabIndex = 7;
            this.rbNormalInput.TabStop = true;
            this.rbNormalInput.Text = "Edit Command (Normal)";
            this.rbNormalInput.UseVisualStyleBackColor = true;
            //
            // tbCommand
            //
            this.tbCommand.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.tbCommand.IsCommandInput = true;
            this.tbCommand.Location = new System.Drawing.Point(12, 81);
            this.tbCommand.Name = "tbCommand";
            this.tbCommand.Size = new System.Drawing.Size(491, 22);
            this.tbCommand.TabIndex = 2;
            //
            // keyboardCommandTextBoxBindingSource
            //
            this.keyboardCommandTextBoxBindingSource.DataSource = typeof(ArduinoWindowsRemoteControl.UI.KeyboardCommandTextBox);
            //
            // lbCommand
            //
            this.lbCommand.AutoSize = true;
            this.lbCommand.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.lbCommand.Location = new System.Drawing.Point(12, 62);
            this.lbCommand.Name = "lbCommand";
            this.lbCommand.Size = new System.Drawing.Size(73, 16);
            this.lbCommand.TabIndex = 6;
            this.lbCommand.Text = "Command:";
            //
            // lbCommandInputModeHelp
            //
            this.lbCommandInputModeHelp.Location = new System.Drawing.Point(12, 115);
            this.lbCommandInputModeHelp.Name = "lbCommandInputModeHelp";
            this.lbCommandInputModeHelp.Size = new System.Drawing.Size(491, 16);
            this.lbCommandInputModeHelp.TabIndex = 7;
            this.lbCommandInputModeHelp.Text = "Command Input Mode - simpy writes down all your key presses. ";
            //
            // lbEditCommandModeHelp
            //
            this.lbEditCommandModeHelp.AutoSize = true;
            this.lbEditCommandModeHelp.Location = new System.Drawing.Point(12, 132);
            this.lbEditCommandModeHelp.Name = "lbEditCommandModeHelp";
            this.lbEditCommandModeHelp.Size = new System.Drawing.Size(326, 13);
            this.lbEditCommandModeHelp.TabIndex = 8;
            this.lbEditCommandModeHelp.Text = "Edit Command Mode - you can manually change entered command.";
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(153, 64);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(325, 13);
            this.label1.TabIndex = 9;
            this.label1.Text = "Command must have the following format: CTRL-N-A,A,B,F2,HOME";
            //
            // EditCommandForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(515, 199);
            this.ControlBox = false;
            this.Controls.Add(this.label1);
            this.Controls.Add(this.lbEditCommandModeHelp);
            this.Controls.Add(this.lbCommandInputModeHelp);
            this.Controls.Add(this.lbCommand);
            this.Controls.Add(this.gbMode);
            this.Controls.Add(this.tbCommand);
            this.Controls.Add(this.lbRemoteCommand);
            this.Controls.Add(this.cbRemoteCommand);
            this.Controls.Add(this.btCancel);
            this.Controls.Add(this.btSave);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Name = "EditCommandForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Add New Command";
            this.gbMode.ResumeLayout(false);
            this.gbMode.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.keyboardCommandTextBoxBindingSource)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Button btSave;
        private System.Windows.Forms.Button btCancel;
        private System.Windows.Forms.ComboBox cbRemoteCommand;
        private System.Windows.Forms.Label lbRemoteCommand;
        private KeyboardCommandTextBox tbCommand;
        private System.Windows.Forms.RadioButton rbCommandInput;
        private System.Windows.Forms.GroupBox gbMode;
        private System.Windows.Forms.RadioButton rbNormalInput;
        private System.Windows.Forms.BindingSource keyboardCommandTextBoxBindingSource;
        private System.Windows.Forms.Label lbCommand;
        private System.Windows.Forms.Label lbCommandInputModeHelp;
        private System.Windows.Forms.Label lbEditCommandModeHelp;
        private System.Windows.Forms.Label label1;
    }
}


text:
<?php

/**
 * Base class that represents a row from the 'system_event_instance_message' table.
 *
 *
 *
 * This class was autogenerated by Propel 1.6.0 on:
 *
 * Tue Aug  2 09:05:41 2011
 *
 * @package    propel.generator.lib.model.om
 */
abstract class BaseSystemEventInstanceMessage extends BaseObject  implements Persistent
{

	/**
	 * Peer class name
	 */
	const PEER = 'SystemEventInstanceMessagePeer';

	/**
	 * The Peer class.
	 * Instance provides a convenient way of calling static methods on a class
	 * that calling code may not be able to identify.
	 * @var        SystemEventInstanceMessagePeer
	 */
	protected static $peer;

	/**
	 * The value for the id field.
	 * @var        int
	 */
	protected $id;

	/**
	 * The value for the system_event_instance_id field.
	 * @var        int
	 */
	protected $system_event_instance_id;

	/**
	 * The value for the system_event_subscription_id field.
	 * @var        int
	 */
	protected $system_event_subscription_id;

	/**
	 * The value for the received field.
	 * Note: this column has a database default value of: false
	 * @var        boolean
	 */
	protected $received;

	/**
	 * The value for the received_at field.
	 * @var        string
	 */
	protected $received_at;

	/**
	 * The value for the status_message field.
	 * @var        string
	 */
	protected $status_message;

	/**
	 * The value for the created_at field.
	 * @var        string
	 */
	protected $created_at;

	/**
	 * The value for the updated_at field.
	 * @var        string
	 */
	protected $updated_at;

	/**
	 * @var        SystemEventInstance
	 */
	protected $aSystemEventInstance;

	/**
	 * @var        SystemEventSubscription
	 */
	protected $aSystemEventSubscription;

	/**
	 * Flag to prevent endless save loop, if this object is referenced
	 * by another object which falls in this transaction.
	 * @var        boolean
	 */
	protected $alreadyInSave = false;

	/**
	 * Flag to prevent endless validation loop, if this object is referenced
	 * by another object which falls in this transaction.
	 * @var        boolean
	 */
	protected $alreadyInValidation = false;

	/**
	 * Applies default values to this object.
	 * This method should be called from the object's constructor (or
	 * equivalent initialization method).
	 * @see        __construct()
	 */
	public function applyDefaultValues()
	{
		$this->received = false;
	}

	/**
	 * Initializes internal state of BaseSystemEventInstanceMessage object.
	 * @see        applyDefaults()
	 */
	public function __construct()
	{
		parent::__construct();
		$this->applyDefaultValues();
	}

	/**
	 * Get the [id] column value.
	 *
	 * @return     int
	 */
	public function getId()
	{
		return $this->id;
	}

	/**
	 * Get the [system_event_instance_id] column value.
	 *
	 * @return     int
	 */
	public function getSystemEventInstanceId()
	{
		return $this->system_event_instance_id;
	}

	/**
	 * Get the [system_event_subscription_id] column value.
	 *
	 * @return     int
	 */
	public function getSystemEventSubscriptionId()
	{
		return $this->system_event_subscription_id;
	}

	/**
	 * Get the [received] column value.
	 *
	 * @return     boolean
	 */
	public function getReceived()
	{
		return $this->received;
	}

	/**
	 * Get the [optionally formatted] temporal [received_at] column value.
	 *
	 *
	 * @param      string $format The date/time format string (either date()-style or strftime()-style).
	 *							If format is NULL, then the raw DateTime object will be returned.
	 * @return     mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL, and 0 if column value is 0000-00-00 00:00:00
	 * @throws     PropelException - if unable to parse/validate the date/time value.
	 */
	public function getReceivedAt($format = 'Y-m-d H:i:s')
	{
		if ($this->received_at === null) {
			return null;
		}

		if ($this->received_at === '0000-00-00 00:00:00') {
			// while technically this is not a default value of NULL,
			// this seems to be closest in meaning.
			return null;
		} else {
			try {
				$dt = new DateTime($this->received_at);
			} catch (Exception $x) {
				throw new PropelException("Internally stored date/time/timestamp value could not be converted to DateTime: " . var_export($this->received_at, true), $x);
			}
		}

		if ($format === null) {
			// Because propel.useDateTimeClass is TRUE, we return a DateTime object.
			return $dt;
		} elseif (strpos($format, '%') !== false) {
			return strftime($format, $dt->format('U'));
		} else {
			return $dt->format($format);
		}
	}

	/**
	 * Get the [status_message] column value.
	 *
	 * @return     string
	 */
	public function getStatusMessage()
	{
		return $this->status_message;
	}

	/**
	 * Get the [optionally formatted] temporal [created_at] column value.
	 *
	 *
	 * @param      string $format The date/time format string (either date()-style or strftime()-style).
	 *							If format is NULL, then the raw DateTime object will be returned.
	 * @return     mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL, and 0 if column value is 0000-00-00 00:00:00
	 * @throws     PropelException - if unable to parse/validate the date/time value.
	 */
	public function getCreatedAt($format = 'Y-m-d H:i:s')
	{
		if ($this->created_at === null) {
			return null;
		}

		if ($this->created_at === '0000-00-00 00:00:00') {
			// while technically this is not a default value of NULL,
			// this seems to be closest in meaning.
			return null;
		} else {
			try {
				$dt = new DateTime($this->created_at);
			} catch (Exception $x) {
				throw new PropelException("Internally stored date/time/timestamp value could not be converted to DateTime: " . var_export($this->created_at, true), $x);
			}
		}

		if ($format === null) {
			// Because propel.useDateTimeClass is TRUE, we return a DateTime object.
			return $dt;
		} elseif (strpos($format, '%') !== false) {
			return strftime($format, $dt->format('U'));
		} else {
			return $dt->format($format);
		}
	}

	/**
	 * Get the [optionally formatted] temporal [updated_at] column value.
	 *
	 *
	 * @param      string $format The date/time format string (either date()-style or strftime()-style).
	 *							If format is NULL, then the raw DateTime object will be returned.
	 * @return     mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL, and 0 if column value is 0000-00-00 00:00:00
	 * @throws     PropelException - if unable to parse/validate the date/time value.
	 */
	public function getUpdatedAt($format = 'Y-m-d H:i:s')
	{
		if ($this->updated_at === null) {
			return null;
		}

		if ($this->updated_at === '0000-00-00 00:00:00') {
			// while technically this is not a default value of NULL,
			// this seems to be closest in meaning.
			return null;
		} else {
			try {
				$dt = new DateTime($this->updated_at);
			} catch (Exception $x) {
				throw new PropelException("Internally stored date/time/timestamp value could not be converted to DateTime: " . var_export($this->updated_at, true), $x);
			}
		}

		if ($format === null) {
			// Because propel.useDateTimeClass is TRUE, we return a DateTime object.
			return $dt;
		} elseif (strpos($format, '%') !== false) {
			return strftime($format, $dt->format('U'));
		} else {
			return $dt->format($format);
		}
	}

	/**
	 * Set the value of [id] column.
	 *
	 * @param      int $v new value
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setId($v)
	{
		if ($v !== null) {
			$v = (int) $v;
		}

		if ($this->id !== $v) {
			$this->id = $v;
			$this->modifiedColumns[] = SystemEventInstanceMessagePeer::ID;
		}

		return $this;
	} // setId()

	/**
	 * Set the value of [system_event_instance_id] column.
	 *
	 * @param      int $v new value
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setSystemEventInstanceId($v)
	{
		if ($v !== null) {
			$v = (int) $v;
		}

		if ($this->system_event_instance_id !== $v) {
			$this->system_event_instance_id = $v;
			$this->modifiedColumns[] = SystemEventInstanceMessagePeer::SYSTEM_EVENT_INSTANCE_ID;
		}

		if ($this->aSystemEventInstance !== null && $this->aSystemEventInstance->getId() !== $v) {
			$this->aSystemEventInstance = null;
		}

		return $this;
	} // setSystemEventInstanceId()

	/**
	 * Set the value of [system_event_subscription_id] column.
	 *
	 * @param      int $v new value
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setSystemEventSubscriptionId($v)
	{
		if ($v !== null) {
			$v = (int) $v;
		}

		if ($this->system_event_subscription_id !== $v) {
			$this->system_event_subscription_id = $v;
			$this->modifiedColumns[] = SystemEventInstanceMessagePeer::SYSTEM_EVENT_SUBSCRIPTION_ID;
		}

		if ($this->aSystemEventSubscription !== null && $this->aSystemEventSubscription->getId() !== $v) {
			$this->aSystemEventSubscription = null;
		}

		return $this;
	} // setSystemEventSubscriptionId()

	/**
	 * Sets the value of the [received] column.
	 * Non-boolean arguments are converted using the following rules:
	 *   * 1, '1', 'true',  'on',  and 'yes' are converted to boolean true
	 *   * 0, '0', 'false', 'off', and 'no'  are converted to boolean false
	 * Check on string values is case insensitive (so 'FaLsE' is seen as 'false').
	 *
	 * @param      boolean|integer|string $v The new value
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setReceived($v)
	{
		if ($v !== null) {
			if (is_string($v)) {
				$v = in_array(strtolower($v), array('false', 'off', '-', 'no', 'n', '0')) ? false : true;
			} else {
				$v = (boolean) $v;
			}
		}

		if ($this->received !== $v || $this->isNew()) {
			$this->received = $v;
			$this->modifiedColumns[] = SystemEventInstanceMessagePeer::RECEIVED;
		}

		return $this;
	} // setReceived()

	/**
	 * Sets the value of [received_at] column to a normalized version of the date/time value specified.
	 *
	 * @param      mixed $v string, integer (timestamp), or DateTime value.
	 *               Empty strings are treated as NULL.
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setReceivedAt($v)
	{
		$dt = PropelDateTime::newInstance($v, null, 'DateTime');
		if ($this->received_at !== null || $dt !== null) {
			$currentDateAsString = ($this->received_at !== null && $tmpDt = new DateTime($this->received_at)) ? $tmpDt->format('Y-m-d H:i:s') : null;
			$newDateAsString = $dt ? $dt->format('Y-m-d H:i:s') : null;
			if ($currentDateAsString !== $newDateAsString) {
				$this->received_at = $newDateAsString;
				$this->modifiedColumns[] = SystemEventInstanceMessagePeer::RECEIVED_AT;
			}
		} // if either are not null

		return $this;
	} // setReceivedAt()

	/**
	 * Set the value of [status_message] column.
	 *
	 * @param      string $v new value
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setStatusMessage($v)
	{
		if ($v !== null) {
			$v = (string) $v;
		}

		if ($this->status_message !== $v) {
			$this->status_message = $v;
			$this->modifiedColumns[] = SystemEventInstanceMessagePeer::STATUS_MESSAGE;
		}

		return $this;
	} // setStatusMessage()

	/**
	 * Sets the value of [created_at] column to a normalized version of the date/time value specified.
	 *
	 * @param      mixed $v string, integer (timestamp), or DateTime value.
	 *               Empty strings are treated as NULL.
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setCreatedAt($v)
	{
		$dt = PropelDateTime::newInstance($v, null, 'DateTime');
		if ($this->created_at !== null || $dt !== null) {
			$currentDateAsString = ($this->created_at !== null && $tmpDt = new DateTime($this->created_at)) ? $tmpDt->format('Y-m-d H:i:s') : null;
			$newDateAsString = $dt ? $dt->format('Y-m-d H:i:s') : null;
			if ($currentDateAsString !== $newDateAsString) {
				$this->created_at = $newDateAsString;
				$this->modifiedColumns[] = SystemEventInstanceMessagePeer::CREATED_AT;
			}
		} // if either are not null

		return $this;
	} // setCreatedAt()

	/**
	 * Sets the value of [updated_at] column to a normalized version of the date/time value specified.
	 *
	 * @param      mixed $v string, integer (timestamp), or DateTime value.
	 *               Empty strings are treated as NULL.
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 */
	public function setUpdatedAt($v)
	{
		$dt = PropelDateTime::newInstance($v, null, 'DateTime');
		if ($this->updated_at !== null || $dt !== null) {
			$currentDateAsString = ($this->updated_at !== null && $tmpDt = new DateTime($this->updated_at)) ? $tmpDt->format('Y-m-d H:i:s') : null;
			$newDateAsString = $dt ? $dt->format('Y-m-d H:i:s') : null;
			if ($currentDateAsString !== $newDateAsString) {
				$this->updated_at = $newDateAsString;
				$this->modifiedColumns[] = SystemEventInstanceMessagePeer::UPDATED_AT;
			}
		} // if either are not null

		return $this;
	} // setUpdatedAt()

	/**
	 * Indicates whether the columns in this object are only set to default values.
	 *
	 * This method can be used in conjunction with isModified() to indicate whether an object is both
	 * modified _and_ has some values set which are non-default.
	 *
	 * @return     boolean Whether the columns in this object are only been set with default values.
	 */
	public function hasOnlyDefaultValues()
	{
			if ($this->received !== false) {
				return false;
			}

		// otherwise, everything was equal, so return TRUE
		return true;
	} // hasOnlyDefaultValues()

	/**
	 * Hydrates (populates) the object variables with values from the database resultset.
	 *
	 * An offset (0-based "start column") is specified so that objects can be hydrated
	 * with a subset of the columns in the resultset rows.  This is needed, for example,
	 * for results of JOIN queries where the resultset row includes columns from two or
	 * more tables.
	 *
	 * @param      array $row The row returned by PDOStatement->fetch(PDO::FETCH_NUM)
	 * @param      int $startcol 0-based offset column which indicates which restultset column to start with.
	 * @param      boolean $rehydrate Whether this object is being re-hydrated from the database.
	 * @return     int next starting column
	 * @throws     PropelException  - Any caught Exception will be rewrapped as a PropelException.
	 */
	public function hydrate($row, $startcol = 0, $rehydrate = false)
	{
		try {

			$this->id = ($row[$startcol + 0] !== null) ? (int) $row[$startcol + 0] : null;
			$this->system_event_instance_id = ($row[$startcol + 1] !== null) ? (int) $row[$startcol + 1] : null;
			$this->system_event_subscription_id = ($row[$startcol + 2] !== null) ? (int) $row[$startcol + 2] : null;
			$this->received = ($row[$startcol + 3] !== null) ? (boolean) $row[$startcol + 3] : null;
			$this->received_at = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null;
			$this->status_message = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null;
			$this->created_at = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null;
			$this->updated_at = ($row[$startcol + 7] !== null) ? (string) $row[$startcol + 7] : null;
			$this->resetModified();

			$this->setNew(false);

			if ($rehydrate) {
				$this->ensureConsistency();
			}

			return $startcol + 8; // 8 = SystemEventInstanceMessagePeer::NUM_HYDRATE_COLUMNS.

		} catch (Exception $e) {
			throw new PropelException("Error populating SystemEventInstanceMessage object", $e);
		}
	}

	/**
	 * Checks and repairs the internal consistency of the object.
	 *
	 * This method is executed after an already-instantiated object is re-hydrated
	 * from the database.  It exists to check any foreign keys to make sure that
	 * the objects related to the current object are correct based on foreign key.
	 *
	 * You can override this method in the stub class, but you should always invoke
	 * the base method from the overridden method (i.e. parent::ensureConsistency()),
	 * in case your model changes.
	 *
	 * @throws     PropelException
	 */
	public function ensureConsistency()
	{

		if ($this->aSystemEventInstance !== null && $this->system_event_instance_id !== $this->aSystemEventInstance->getId()) {
			$this->aSystemEventInstance = null;
		}
		if ($this->aSystemEventSubscription !== null && $this->system_event_subscription_id !== $this->aSystemEventSubscription->getId()) {
			$this->aSystemEventSubscription = null;
		}
	} // ensureConsistency

	/**
	 * Reloads this object from datastore based on primary key and (optionally) resets all associated objects.
	 *
	 * This will only work if the object has been saved and has a valid primary key set.
	 *
	 * @param      boolean $deep (optional) Whether to also de-associated any related objects.
	 * @param      PropelPDO $con (optional) The PropelPDO connection to use.
	 * @return     void
	 * @throws     PropelException - if this object is deleted, unsaved or doesn't have pk match in db
	 */
	public function reload($deep = false, PropelPDO $con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("Cannot reload a deleted object.");
		}

		if ($this->isNew()) {
			throw new PropelException("Cannot reload an unsaved object.");
		}

		if ($con === null) {
			$con = Propel::getConnection(SystemEventInstanceMessagePeer::DATABASE_NAME, Propel::CONNECTION_READ);
		}

		// We don't need to alter the object instance pool; we're just modifying this instance
		// already in the pool.

		$stmt = SystemEventInstanceMessagePeer::doSelectStmt($this->buildPkeyCriteria(), $con);
		$row = $stmt->fetch(PDO::FETCH_NUM);
		$stmt->closeCursor();
		if (!$row) {
			throw new PropelException('Cannot find matching row in the database to reload object values.');
		}
		$this->hydrate($row, 0, true); // rehydrate

		if ($deep) {  // also de-associate any related objects?

			$this->aSystemEventInstance = null;
			$this->aSystemEventSubscription = null;
		} // if (deep)
	}

	/**
	 * Removes this object from datastore and sets delete attribute.
	 *
	 * @param      PropelPDO $con
	 * @return     void
	 * @throws     PropelException
	 * @see        BaseObject::setDeleted()
	 * @see        BaseObject::isDeleted()
	 */
	public function delete(PropelPDO $con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("This object has already been deleted.");
		}

		if ($con === null) {
			$con = Propel::getConnection(SystemEventInstanceMessagePeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
		}

		$con->beginTransaction();
		try {
			$ret = $this->preDelete($con);
			// symfony_behaviors behavior
			foreach (sfMixer::getCallables('BaseSystemEventInstanceMessage:delete:pre') as $callable)
			{
			  if (call_user_func($callable, $this, $con))
			  {
			    $con->commit();
			    return;
			  }
			}

			if ($ret) {
				SystemEventInstanceMessageQuery::create()
					->filterByPrimaryKey($this->getPrimaryKey())
					->delete($con);
				$this->postDelete($con);
				// symfony_behaviors behavior
				foreach (sfMixer::getCallables('BaseSystemEventInstanceMessage:delete:post') as $callable)
				{
				  call_user_func($callable, $this, $con);
				}

				$con->commit();
				$this->setDeleted(true);
			} else {
				$con->commit();
			}
		} catch (PropelException $e) {
			$con->rollBack();
			throw $e;
		}
	}

	/**
	 * Persists this object to the database.
	 *
	 * If the object is new, it inserts it; otherwise an update is performed.
	 * All modified related objects will also be persisted in the doSave()
	 * method.  This method wraps all precipitate database operations in a
	 * single transaction.
	 *
	 * @param      PropelPDO $con
	 * @return     int The number of rows affected by this insert/update and any referring fk objects' save() operations.
	 * @throws     PropelException
	 * @see        doSave()
	 */
	public function save(PropelPDO $con = null)
	{
		if ($this->isDeleted()) {
			throw new PropelException("You cannot save an object that has been deleted.");
		}

		if ($con === null) {
			$con = Propel::getConnection(SystemEventInstanceMessagePeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
		}

		$con->beginTransaction();
		$isInsert = $this->isNew();
		try {
			$ret = $this->preSave($con);
			// symfony_behaviors behavior
			foreach (sfMixer::getCallables('BaseSystemEventInstanceMessage:save:pre') as $callable)
			{
			  if (is_integer($affectedRows = call_user_func($callable, $this, $con)))
			  {
			  	$con->commit();
			    return $affectedRows;
			  }
			}

			// symfony_timestampable behavior
			if ($this->isModified() && !$this->isColumnModified(SystemEventInstanceMessagePeer::UPDATED_AT))
			{
			  $this->setUpdatedAt(time());
			}

			if ($isInsert) {
				$ret = $ret && $this->preInsert($con);
				// symfony_timestampable behavior
				if (!$this->isColumnModified(SystemEventInstanceMessagePeer::CREATED_AT))
				{
				  $this->setCreatedAt(time());
				}

			} else {
				$ret = $ret && $this->preUpdate($con);
			}
			if ($ret) {
				$affectedRows = $this->doSave($con);
				if ($isInsert) {
					$this->postInsert($con);
				} else {
					$this->postUpdate($con);
				}
				$this->postSave($con);
				// symfony_behaviors behavior
				foreach (sfMixer::getCallables('BaseSystemEventInstanceMessage:save:post') as $callable)
				{
				  call_user_func($callable, $this, $con, $affectedRows);
				}

				SystemEventInstanceMessagePeer::addInstanceToPool($this);
			} else {
				$affectedRows = 0;
			}
			$con->commit();
			return $affectedRows;
		} catch (PropelException $e) {
			$con->rollBack();
			throw $e;
		}
	}

	/**
	 * Performs the work of inserting or updating the row in the database.
	 *
	 * If the object is new, it inserts it; otherwise an update is performed.
	 * All related objects are also updated in this method.
	 *
	 * @param      PropelPDO $con
	 * @return     int The number of rows affected by this insert/update and any referring fk objects' save() operations.
	 * @throws     PropelException
	 * @see        save()
	 */
	protected function doSave(PropelPDO $con)
	{
		$affectedRows = 0; // initialize var to track total num of affected rows
		if (!$this->alreadyInSave) {
			$this->alreadyInSave = true;

			// We call the save method on the following object(s) if they
			// were passed to this object by their coresponding set
			// method.  This object relates to these object(s) by a
			// foreign key reference.

			if ($this->aSystemEventInstance !== null) {
				if ($this->aSystemEventInstance->isModified() || $this->aSystemEventInstance->isNew()) {
					$affectedRows += $this->aSystemEventInstance->save($con);
				}
				$this->setSystemEventInstance($this->aSystemEventInstance);
			}

			if ($this->aSystemEventSubscription !== null) {
				if ($this->aSystemEventSubscription->isModified() || $this->aSystemEventSubscription->isNew()) {
					$affectedRows += $this->aSystemEventSubscription->save($con);
				}
				$this->setSystemEventSubscription($this->aSystemEventSubscription);
			}

			if ($this->isNew() ) {
				$this->modifiedColumns[] = SystemEventInstanceMessagePeer::ID;
			}

			// If this object has been modified, then save it to the database.
			if ($this->isModified()) {
				if ($this->isNew()) {
					$criteria = $this->buildCriteria();
					if ($criteria->keyContainsValue(SystemEventInstanceMessagePeer::ID) ) {
						throw new PropelException('Cannot insert a value for auto-increment primary key ('.SystemEventInstanceMessagePeer::ID.')');
					}

					$pk = BasePeer::doInsert($criteria, $con);
					$affectedRows += 1;
					$this->setId($pk);  //[IMV] update autoincrement primary key
					$this->setNew(false);
				} else {
					$affectedRows += SystemEventInstanceMessagePeer::doUpdate($this, $con);
				}

				$this->resetModified(); // [HL] After being saved an object is no longer 'modified'
			}

			$this->alreadyInSave = false;

		}
		return $affectedRows;
	} // doSave()

	/**
	 * Array of ValidationFailed objects.
	 * @var        array ValidationFailed[]
	 */
	protected $validationFailures = array();

	/**
	 * Gets any ValidationFailed objects that resulted from last call to validate().
	 *
	 *
	 * @return     array ValidationFailed[]
	 * @see        validate()
	 */
	public function getValidationFailures()
	{
		return $this->validationFailures;
	}

	/**
	 * Validates the objects modified field values and all objects related to this table.
	 *
	 * If $columns is either a column name or an array of column names
	 * only those columns are validated.
	 *
	 * @param      mixed $columns Column name or an array of column names.
	 * @return     boolean Whether all columns pass validation.
	 * @see        doValidate()
	 * @see        getValidationFailures()
	 */
	public function validate($columns = null)
	{
		$res = $this->doValidate($columns);
		if ($res === true) {
			$this->validationFailures = array();
			return true;
		} else {
			$this->validationFailures = $res;
			return false;
		}
	}

	/**
	 * This function performs the validation work for complex object models.
	 *
	 * In addition to checking the current object, all related objects will
	 * also be validated.  If all pass then <code>true</code> is returned; otherwise
	 * an aggreagated array of ValidationFailed objects will be returned.
	 *
	 * @param      array $columns Array of column names to validate.
	 * @return     mixed <code>true</code> if all validations pass; array of <code>ValidationFailed</code> objets otherwise.
	 */
	protected function doValidate($columns = null)
	{
		if (!$this->alreadyInValidation) {
			$this->alreadyInValidation = true;
			$retval = null;

			$failureMap = array();

			// We call the validate method on the following object(s) if they
			// were passed to this object by their coresponding set
			// method.  This object relates to these object(s) by a
			// foreign key reference.

			if ($this->aSystemEventInstance !== null) {
				if (!$this->aSystemEventInstance->validate($columns)) {
					$failureMap = array_merge($failureMap, $this->aSystemEventInstance->getValidationFailures());
				}
			}

			if ($this->aSystemEventSubscription !== null) {
				if (!$this->aSystemEventSubscription->validate($columns)) {
					$failureMap = array_merge($failureMap, $this->aSystemEventSubscription->getValidationFailures());
				}
			}

			if (($retval = SystemEventInstanceMessagePeer::doValidate($this, $columns)) !== true) {
				$failureMap = array_merge($failureMap, $retval);
			}

			$this->alreadyInValidation = false;
		}

		return (!empty($failureMap) ? $failureMap : true);
	}

	/**
	 * Retrieves a field from the object by name passed in as a string.
	 *
	 * @param      string $name name
	 * @param      string $type The type of fieldname the $name is of:
	 *                     one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
	 *                     BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM
	 * @return     mixed Value of field.
	 */
	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
	{
		$pos = SystemEventInstanceMessagePeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
		$field = $this->getByPosition($pos);
		return $field;
	}

	/**
	 * Retrieves a field from the object by Position as specified in the xml schema.
	 * Zero-based.
	 *
	 * @param      int $pos position in xml schema
	 * @return     mixed Value of field at $pos
	 */
	public function getByPosition($pos)
	{
		switch($pos) {
			case 0:
				return $this->getId();
				break;
			case 1:
				return $this->getSystemEventInstanceId();
				break;
			case 2:
				return $this->getSystemEventSubscriptionId();
				break;
			case 3:
				return $this->getReceived();
				break;
			case 4:
				return $this->getReceivedAt();
				break;
			case 5:
				return $this->getStatusMessage();
				break;
			case 6:
				return $this->getCreatedAt();
				break;
			case 7:
				return $this->getUpdatedAt();
				break;
			default:
				return null;
				break;
		} // switch()
	}

	/**
	 * Exports the object as an array.
	 *
	 * You can specify the key type of the array by passing one of the class
	 * type constants.
	 *
	 * @param     string  $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
	 *                    BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
	 *                    Defaults to BasePeer::TYPE_PHPNAME.
	 * @param     boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
	 * @param     array $alreadyDumpedObjects List of objects to skip to avoid recursion
	 * @param     boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE.
	 *
	 * @return    array an associative array containing the field names (as keys) and field values
	 */
	public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false)
	{
		if (isset($alreadyDumpedObjects['SystemEventInstanceMessage'][$this->getPrimaryKey()])) {
			return '*RECURSION*';
		}
		$alreadyDumpedObjects['SystemEventInstanceMessage'][$this->getPrimaryKey()] = true;
		$keys = SystemEventInstanceMessagePeer::getFieldNames($keyType);
		$result = array(
			$keys[0] => $this->getId(),
			$keys[1] => $this->getSystemEventInstanceId(),
			$keys[2] => $this->getSystemEventSubscriptionId(),
			$keys[3] => $this->getReceived(),
			$keys[4] => $this->getReceivedAt(),
			$keys[5] => $this->getStatusMessage(),
			$keys[6] => $this->getCreatedAt(),
			$keys[7] => $this->getUpdatedAt(),
		);
		if ($includeForeignObjects) {
			if (null !== $this->aSystemEventInstance) {
				$result['SystemEventInstance'] = $this->aSystemEventInstance->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
			}
			if (null !== $this->aSystemEventSubscription) {
				$result['SystemEventSubscription'] = $this->aSystemEventSubscription->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
			}
		}
		return $result;
	}

	/**
	 * Sets a field from the object by name passed in as a string.
	 *
	 * @param      string $name peer name
	 * @param      mixed $value field value
	 * @param      string $type The type of fieldname the $name is of:
	 *                     one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME
	 *                     BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM
	 * @return     void
	 */
	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
	{
		$pos = SystemEventInstanceMessagePeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
		return $this->setByPosition($pos, $value);
	}

	/**
	 * Sets a field from the object by Position as specified in the xml schema.
	 * Zero-based.
	 *
	 * @param      int $pos position in xml schema
	 * @param      mixed $value field value
	 * @return     void
	 */
	public function setByPosition($pos, $value)
	{
		switch($pos) {
			case 0:
				$this->setId($value);
				break;
			case 1:
				$this->setSystemEventInstanceId($value);
				break;
			case 2:
				$this->setSystemEventSubscriptionId($value);
				break;
			case 3:
				$this->setReceived($value);
				break;
			case 4:
				$this->setReceivedAt($value);
				break;
			case 5:
				$this->setStatusMessage($value);
				break;
			case 6:
				$this->setCreatedAt($value);
				break;
			case 7:
				$this->setUpdatedAt($value);
				break;
		} // switch()
	}

	/**
	 * Populates the object using an array.
	 *
	 * This is particularly useful when populating an object from one of the
	 * request arrays (e.g. $_POST).  This method goes through the column
	 * names, checking to see whether a matching key exists in populated
	 * array. If so the setByName() method is called for that column.
	 *
	 * You can specify the key type of the array by additionally passing one
	 * of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
	 * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
	 * The default key type is the column's phpname (e.g. 'AuthorId')
	 *
	 * @param      array  $arr     An array to populate the object from.
	 * @param      string $keyType The type of keys the array uses.
	 * @return     void
	 */
	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
	{
		$keys = SystemEventInstanceMessagePeer::getFieldNames($keyType);

		if (array_key_exists($keys[0], $arr)) $this->setId($arr[$keys[0]]);
		if (array_key_exists($keys[1], $arr)) $this->setSystemEventInstanceId($arr[$keys[1]]);
		if (array_key_exists($keys[2], $arr)) $this->setSystemEventSubscriptionId($arr[$keys[2]]);
		if (array_key_exists($keys[3], $arr)) $this->setReceived($arr[$keys[3]]);
		if (array_key_exists($keys[4], $arr)) $this->setReceivedAt($arr[$keys[4]]);
		if (array_key_exists($keys[5], $arr)) $this->setStatusMessage($arr[$keys[5]]);
		if (array_key_exists($keys[6], $arr)) $this->setCreatedAt($arr[$keys[6]]);
		if (array_key_exists($keys[7], $arr)) $this->setUpdatedAt($arr[$keys[7]]);
	}

	/**
	 * Build a Criteria object containing the values of all modified columns in this object.
	 *
	 * @return     Criteria The Criteria object containing all modified values.
	 */
	public function buildCriteria()
	{
		$criteria = new Criteria(SystemEventInstanceMessagePeer::DATABASE_NAME);

		if ($this->isColumnModified(SystemEventInstanceMessagePeer::ID)) $criteria->add(SystemEventInstanceMessagePeer::ID, $this->id);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::SYSTEM_EVENT_INSTANCE_ID)) $criteria->add(SystemEventInstanceMessagePeer::SYSTEM_EVENT_INSTANCE_ID, $this->system_event_instance_id);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::SYSTEM_EVENT_SUBSCRIPTION_ID)) $criteria->add(SystemEventInstanceMessagePeer::SYSTEM_EVENT_SUBSCRIPTION_ID, $this->system_event_subscription_id);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::RECEIVED)) $criteria->add(SystemEventInstanceMessagePeer::RECEIVED, $this->received);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::RECEIVED_AT)) $criteria->add(SystemEventInstanceMessagePeer::RECEIVED_AT, $this->received_at);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::STATUS_MESSAGE)) $criteria->add(SystemEventInstanceMessagePeer::STATUS_MESSAGE, $this->status_message);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::CREATED_AT)) $criteria->add(SystemEventInstanceMessagePeer::CREATED_AT, $this->created_at);
		if ($this->isColumnModified(SystemEventInstanceMessagePeer::UPDATED_AT)) $criteria->add(SystemEventInstanceMessagePeer::UPDATED_AT, $this->updated_at);

		return $criteria;
	}

	/**
	 * Builds a Criteria object containing the primary key for this object.
	 *
	 * Unlike buildCriteria() this method includes the primary key values regardless
	 * of whether or not they have been modified.
	 *
	 * @return     Criteria The Criteria object containing value(s) for primary key(s).
	 */
	public function buildPkeyCriteria()
	{
		$criteria = new Criteria(SystemEventInstanceMessagePeer::DATABASE_NAME);
		$criteria->add(SystemEventInstanceMessagePeer::ID, $this->id);

		return $criteria;
	}

	/**
	 * Returns the primary key for this object (row).
	 * @return     int
	 */
	public function getPrimaryKey()
	{
		return $this->getId();
	}

	/**
	 * Generic method to set the primary key (id column).
	 *
	 * @param      int $key Primary key.
	 * @return     void
	 */
	public function setPrimaryKey($key)
	{
		$this->setId($key);
	}

	/**
	 * Returns true if the primary key for this object is null.
	 * @return     boolean
	 */
	public function isPrimaryKeyNull()
	{
		return null === $this->getId();
	}

	/**
	 * Sets contents of passed object to values from current object.
	 *
	 * If desired, this method can also make copies of all associated (fkey referrers)
	 * objects.
	 *
	 * @param      object $copyObj An object of SystemEventInstanceMessage (or compatible) type.
	 * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
	 * @param      boolean $makeNew Whether to reset autoincrement PKs and make the object new.
	 * @throws     PropelException
	 */
	public function copyInto($copyObj, $deepCopy = false, $makeNew = true)
	{
		$copyObj->setSystemEventInstanceId($this->getSystemEventInstanceId());
		$copyObj->setSystemEventSubscriptionId($this->getSystemEventSubscriptionId());
		$copyObj->setReceived($this->getReceived());
		$copyObj->setReceivedAt($this->getReceivedAt());
		$copyObj->setStatusMessage($this->getStatusMessage());
		$copyObj->setCreatedAt($this->getCreatedAt());
		$copyObj->setUpdatedAt($this->getUpdatedAt());
		if ($makeNew) {
			$copyObj->setNew(true);
			$copyObj->setId(NULL); // this is a auto-increment column, so set to default value
		}
	}

	/**
	 * Makes a copy of this object that will be inserted as a new row in table when saved.
	 * It creates a new object filling in the simple attributes, but skipping any primary
	 * keys that are defined for the table.
	 *
	 * If desired, this method can also make copies of all associated (fkey referrers)
	 * objects.
	 *
	 * @param      boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
	 * @return     SystemEventInstanceMessage Clone of current object.
	 * @throws     PropelException
	 */
	public function copy($deepCopy = false)
	{
		// we use get_class(), because this might be a subclass
		$clazz = get_class($this);
		$copyObj = new $clazz();
		$this->copyInto($copyObj, $deepCopy);
		return $copyObj;
	}

	/**
	 * Returns a peer instance associated with this om.
	 *
	 * Since Peer classes are not to have any instance attributes, this method returns the
	 * same instance for all member of this class. The method could therefore
	 * be static, but this would prevent one from overriding the behavior.
	 *
	 * @return     SystemEventInstanceMessagePeer
	 */
	public function getPeer()
	{
		if (self::$peer === null) {
			self::$peer = new SystemEventInstanceMessagePeer();
		}
		return self::$peer;
	}

	/**
	 * Declares an association between this object and a SystemEventInstance object.
	 *
	 * @param      SystemEventInstance $v
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 * @throws     PropelException
	 */
	public function setSystemEventInstance(SystemEventInstance $v = null)
	{
		if ($v === null) {
			$this->setSystemEventInstanceId(NULL);
		} else {
			$this->setSystemEventInstanceId($v->getId());
		}

		$this->aSystemEventInstance = $v;

		// Add binding for other direction of this n:n relationship.
		// If this object has already been added to the SystemEventInstance object, it will not be re-added.
		if ($v !== null) {
			$v->addSystemEventInstanceMessage($this);
		}

		return $this;
	}

	/**
	 * Get the associated SystemEventInstance object
	 *
	 * @param      PropelPDO Optional Connection object.
	 * @return     SystemEventInstance The associated SystemEventInstance object.
	 * @throws     PropelException
	 */
	public function getSystemEventInstance(PropelPDO $con = null)
	{
		if ($this->aSystemEventInstance === null && ($this->system_event_instance_id !== null)) {
			$this->aSystemEventInstance = SystemEventInstanceQuery::create()->findPk($this->system_event_instance_id, $con);
			/* The following can be used additionally to
				guarantee the related object contains a reference
				to this object.  This level of coupling may, however, be
				undesirable since it could result in an only partially populated collection
				in the referenced object.
				$this->aSystemEventInstance->addSystemEventInstanceMessages($this);
			 */
		}
		return $this->aSystemEventInstance;
	}

	/**
	 * Declares an association between this object and a SystemEventSubscription object.
	 *
	 * @param      SystemEventSubscription $v
	 * @return     SystemEventInstanceMessage The current object (for fluent API support)
	 * @throws     PropelException
	 */
	public function setSystemEventSubscription(SystemEventSubscription $v = null)
	{
		if ($v === null) {
			$this->setSystemEventSubscriptionId(NULL);
		} else {
			$this->setSystemEventSubscriptionId($v->getId());
		}

		$this->aSystemEventSubscription = $v;

		// Add binding for other direction of this n:n relationship.
		// If this object has already been added to the SystemEventSubscription object, it will not be re-added.
		if ($v !== null) {
			$v->addSystemEventInstanceMessage($this);
		}

		return $this;
	}

	/**
	 * Get the associated SystemEventSubscription object
	 *
	 * @param      PropelPDO Optional Connection object.
	 * @return     SystemEventSubscription The associated SystemEventSubscription object.
	 * @throws     PropelException
	 */
	public function getSystemEventSubscription(PropelPDO $con = null)
	{
		if ($this->aSystemEventSubscription === null && ($this->system_event_subscription_id !== null)) {
			$this->aSystemEventSubscription = SystemEventSubscriptionQuery::create()->findPk($this->system_event_subscription_id, $con);
			/* The following can be used additionally to
				guarantee the related object contains a reference
				to this object.  This level of coupling may, however, be
				undesirable since it could result in an only partially populated collection
				in the referenced object.
				$this->aSystemEventSubscription->addSystemEventInstanceMessages($this);
			 */
		}
		return $this->aSystemEventSubscription;
	}

	/**
	 * Clears the current object and sets all attributes to their default values
	 */
	public function clear()
	{
		$this->id = null;
		$this->system_event_instance_id = null;
		$this->system_event_subscription_id = null;
		$this->received = null;
		$this->received_at = null;
		$this->status_message = null;
		$this->created_at = null;
		$this->updated_at = null;
		$this->alreadyInSave = false;
		$this->alreadyInValidation = false;
		$this->clearAllReferences();
		$this->applyDefaultValues();
		$this->resetModified();
		$this->setNew(true);
		$this->setDeleted(false);
	}

	/**
	 * Resets all references to other model objects or collections of model objects.
	 *
	 * This method is a user-space workaround for PHP's inability to garbage collect
	 * objects with circular references (even in PHP 5.3). This is currently necessary
	 * when using Propel in certain daemon or large-volumne/high-memory operations.
	 *
	 * @param      boolean $deep Whether to also clear the references on all referrer objects.
	 */
	public function clearAllReferences($deep = false)
	{
		if ($deep) {
		} // if ($deep)

		$this->aSystemEventInstance = null;
		$this->aSystemEventSubscription = null;
	}

	/**
	 * Return the string representation of this object
	 *
	 * @return string
	 */
	public function __toString()
	{
		return (string) $this->exportTo(SystemEventInstanceMessagePeer::DEFAULT_STRING_FORMAT);
	}

	/**
	 * Catches calls to virtual methods
	 */
	public function __call($name, $params)
	{
		// symfony_behaviors behavior
		if ($callable = sfMixer::getCallable('BaseSystemEventInstanceMessage:' . $name))
		{
		  array_unshift($params, $this);
		  return call_user_func_array($callable, $params);
		}

		if (preg_match('/get(\w+)/', $name, $matches)) {
			$virtualColumn = $matches[1];
			if ($this->hasVirtualColumn($virtualColumn)) {
				return $this->getVirtualColumn($virtualColumn);
			}
			// no lcfirst in php<5.3...
			$virtualColumn[0] = strtolower($virtualColumn[0]);
			if ($this->hasVirtualColumn($virtualColumn)) {
				return $this->getVirtualColumn($virtualColumn);
			}
		}
		return parent::__call($name, $params);
	}

} // BaseSystemEventInstanceMessage


text:
import { Effector } from './Effector';
export declare type EqualizerParams = {
    state?: boolean;
    bass?: number;
    middle?: number;
    treble?: number;
    presence?: number;
};
/**
 * Effector's subclass for Equalizer.
 * @constructor
 * @extends {Effector}
 */
export declare class Equalizer extends Effector {
    private bass;
    private middle;
    private treble;
    private presence;
    /**
     * @param {AudioContext} context This argument is in order to use Web Audio API.
     **/
    constructor(context: AudioContext);
    /** @override */
    connect(): GainNode;
    /**
     * This method gets or sets parameters for equalizer.
     * This method is overloaded for type interface and type check.
     * @param {keyof EqualizerParams|EqualizerParams} params This argument is string if getter. Otherwise, setter.
     * @return {EqualizerParams[keyof EqualizerParams]|Equalizer} Return value is parameter for equalizer if getter.
     *     Otherwise, return value is for method chain.
     */
    param(params: 'state'): boolean;
    param(params: 'bass'): number;
    param(params: 'middle'): number;
    param(params: 'treble'): number;
    param(params: 'presence'): number;
    param(params: EqualizerParams): Equalizer;
    /** @override */
    params(): Required<EqualizerParams>;
    /** @override */
    activate(): Equalizer;
    /** @override */
    deactivate(): Equalizer;
}
//# sourceMappingURL=Equalizer.d.ts.map


text:
from django.template import Context, loader
from django.http import HttpResponse
from meetup import MeetupUtil

def index(request):
    util = MeetupUtil()
    params = "group_id=" + util.get_group_id()
    results = util.call_remote('events',params)
    t = loader.get_template('events/index.html')
    c = Context({ 'event_info': results['results']})
    return HttpResponse(t.render(c))


text:
var Base = require("../base.js");
var C = require("../interface/constants.js");

//----------------------------------------------------------------------------------------------------------------------
// registerOperator && getOperator
//----------------------------------------------------------------------------------------------------------------------

var operators = {};

    /**
     * Registers Xflow operator.
     * The operators are stored in collections using their platform as a key. If no platform is defined, the operator
     * will be registered as a JavaScript-based operator.
     *
     * @param name
     * @param data
     */

var registerOperator = function(name, data){
    var opCollection, platform;

    initOperator(data, name);
    if(!operators[name]) {
        operators[name] = {};
    }

    platform = data['platform'] || C.PLATFORM.JAVASCRIPT;

    opCollection = operators[name];

    if (!name) {
        XML3D.logWarning("Xflow.registerOperator: Operator name undefined.");
        return;
    }

    if (!data) {
        XML3D.logWarning("Xflow.registerOperator: Operator data undefined.");
        return;
    }

    data.name = name;
    if(!opCollection[platform])
        opCollection[platform] = [];

    opCollection[platform].push(data);
};

var initAnonymousOperator = function(name, data){
    initOperator(data);
    data.name = name;
    return data;
};

var isOperatorAsync = function(operator){
    return !!operator.evaluate_async;
};

var getOperators = function(name, platform){
    platform = platform || C.PLATFORM.JAVASCRIPT;

    if (name && !operators[name]) {
        return null;
    }

    if(!operators[name][platform] || operators[name][platform].length == 0) {
        return null;
    }

    return operators[name][platform];
};

function initOperator(operator, name){
    var indexMap = {};
    // Init types of outputs and params
    for(var i= 0; i < operator.outputs.length; ++i){
        if (operator.outputs[i].type === undefined) {
            XML3D.debug.logError("Xflow operator '"+name+"' is missing required attribute 'type' for output parameter "+i);
        }
        operator.outputs[i].type = C.DATA_TYPE_MAP[operator.outputs[i].type];
    }
    for(var i= 0; i < operator.params.length; ++i){
        if (operator.params[i].source === undefined) {
            XML3D.debug.logError("Xflow operator '"+name+"' is missing required attribute 'source' for input parameter "+i);
        }
        if (operator.params[i].type === undefined) {
            XML3D.debug.logError("Xflow operator '"+name+"' is missing required attribute 'type' for input parameter "+i);
        }
        operator.params[i].type = C.DATA_TYPE_MAP[operator.params[i].type];
        indexMap[operator.params[i].source] = i;
    }
    if(!operator.mapping)
        operator.mapping = operator.params;

    // Init interTypes of mapping
    for(var i = 0; i < operator.mapping.length; ++i){
        var mapping = operator.mapping[i];
        var paramIdx = indexMap[mapping.source];
        mapping.paramIdx = paramIdx;
        var type = operator.params[paramIdx].type;
        if(mapping.sequence)
            mapping.keyParamIdx = indexMap[mapping.keySource];
        if(mapping.sequence == C.SEQUENCE.LINEAR_WEIGHT)
            type = C.DATA_TYPE.FLOAT;
        mapping.internalType = type;
        mapping.name = mapping.name || mapping.source;
    }

    //Check/init platform
    operator.platform = operator.platform || C.PLATFORM.JAVASCRIPT;
}

//window.Xflow.registerOperator = registerOperator;

module.exports = {
    registerOperator: registerOperator,
    initAnonymousOperator: initAnonymousOperator,
    isOperatorAsync: isOperatorAsync,
    getOperators: getOperators
};


text:
/*global describe, it, expect, afterEach, beforeEach, runs, spyOn, waitsFor, require */
/*global AudioContext, AudioTestFramework, console, xit*/
describe("The Audio51 framework", function () {
    'use strict';

    var audio51 = null,
        context = null,
        contextTypes = [1, 2],
        contextType = null,
        i
    ;

    require(["audio51"], function(a51) {
        audio51 = a51;
        context = audio51.getContext();
    });

    beforeEach(function () {

        waitsFor(function () {

            return audio51 !== null;

        }, "waiting for require to load up our context and silence to commense", 500);

        runs(function () {

            if (context === null) {
                context = audio51.getContext();
            }

        });

    });

    describe("can load a sound in ", function () {

        //TODO Figure out why this test causes 'loud silence'
        //(volume over 80 while no sound is playing)
        xit("webaudio context", function () {

            runs(function () {

                context = audio51.getContext( 1 );

            });

        });

        it("audiotag context", function () {

            runs(function () {

                context = audio51.getContext( 2 );

            });

        });

        afterEach(function () {

            var sound = null;

            runs(function () {

                context.loadSound('test/js/pulse.wav').then(
                    function(s) {
                        sound = s;
                    },
                    function(e) {
                        sound = false;
                        console.warn(e);
                    }
                );

            });

            waitsFor(function () {

                return sound !== null;

            }, "sound to finish loading", 2000);

            runs(function () {

                console.debug( sound );
                expect( sound.play ).toBeTruthy( );
                sound.play();

            });

            waitsFor(function () {

                return AudioTestFramework.getVolumeAverage() > 0;

            }, "sound to start playing", 2000);

            runs(function () {

                sound.stop();

            });
            waitsFor(function () {

                return AudioTestFramework.getVolumeAverage() === 0;

            }, "silence", 1500);

        });

    });

    describe("can play a sprite in ", function () {

        it("webaudio context", function () {

            runs(function () {

                context = audio51.getContext( audio51.WEBAUDIO );

            });

        });

        it("audiotag context", function () {

            runs(function () {

                context = audio51.getContext( audio51.AUDIOTAG );

            });

        });

        it("restricted audiotag context", function () {

            runs(function () {

                context = audio51.getContext( audio51.RESTRICTED );

            });

        });

        afterEach( function () {

            var parsed = null,
                sound = null;

            runs(function () {

                audio51.loadSoundSet("test/js/testsprite.json").then(
                    function( set ) {
                        parsed = set;
                    },
                    function( fail ) {
                        console.error( fail );
                    }
                );

            });

            waitsFor(function () {

                return parsed !== null;

            }, "sound-set to finish loading", 1000);

            runs(function () {

                expect( typeof parsed ).toBe( 'object' );
                sound = audio51.play('saw');

            });

            waitsFor(function () {

                return AudioTestFramework.getVolumeAverage() > 0;

            }, "sound to start playing", 1000);

            runs(function () {

                sound.stop();

            });

        } );

    });

    it("can play multiple streams", function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

    it("can do fade-in", function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

    it("can do fade-out", function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

    it("can do cross-fade", function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

    it("can override existing stream, when only 1 stream is allowed", function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

    it("can be configured to prefer existing sprite, when only 1 stream is allowed",
        function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

    it("can determine which sound is preferred based on priority", function () {

        expect( "Not Yet Implemented" ).toBe( false );

    });

});


text:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- From: file:/Volumes/Backup/Projetos/TakePonto/Application/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-xlarge-land-v4/values.xml -->
    <eat-comment/>
    <dimen name="abc_search_view_text_min_width">256dip</dimen>
</resources>