Skip to content

Instantly share code, notes, and snippets.

1. Launch Titanium Studio.
2. Click **Help** > **Install New Software**.
3. In the **Work with** field, enter the update URL for the package you want to install
and press <Enter>. The update URLs are:
* PHP - http://download.appcelerator.com/aptana/studio3/php/update/stable
* Ruby - http://download.appcelerator.com/aptana/studio3/ruby/update/stable
* Pydev - http://download.appcelerator.com/aptana/studio3/pydev/update/stable
4. In the **Available Software** dialog, select the checkbox next to the package name and click **Next**.
@arthurevans
arthurevans / dynamic-import.html
Created October 3, 2014 16:44
Dynamic import
<link rel="import" href="components/polymer/polymer.html">
<polymer-element name="dynamic-element" attributes="description">
<template>
<style>
:host {
display: block;
}
</style>
<p>I'm {{description}}, now!</p>
</template>
@arthurevans
arthurevans / my-view1.html
Last active December 1, 2016 21:04
Very basic polymerfire integration
<!--
@license
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
// Import lit-html functions
import {html, render, directive, NodePart, createMarker} from 'lit-html';
// duplicate directive takes a single value, and renders it in the DOM twice
const duplicate = directive((value) => {
let part1;
let part2;
const createAndAppendPart = (containerPart) => {
// create markers surrounding content managed by the new part