Skip to content

Instantly share code, notes, and snippets.

@shailen
shailen / talkback.sh
Created May 23, 2022 20:05 — forked from benbaxter/talkback.sh
Talkback enable/disable script
# Copyright 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
function talkback() {
if [[ -z $1 ]]; then
echo "Usage: $0 [on/off]"
exit
fi
if [[ $1 == 'on' ]]; then
@shailen
shailen / test.md
Last active August 29, 2015 14:11

| col 3 is | right-aligned | | col 2 is | centered | | zebra stripes | are neat |

Dart Style Guide

Author: Shailen Tuli Reviewers: Trevor Johns, Kathy Walrath

Existing guide

All sample code must comply with the official Dart Style Guide.

Python Style Guide

Author: Shailen Tuli
Reviewers: Trevor Johns, Ali Afshar, Wesley Chun

Existing guide

All Dev Platform Python code must comply with Pep8.

How to Write DevPlatform Style Guides

Author: Shailen Tuli
Reviewers: Trevor Johns, Kathy Walrath

This is an early draft. Please give us your feedback.

Introduction

This document provides guidelines for creating style guides for

We couldn’t find that file to show.
my_element.html
---------------
<link rel="import" href="packages/polymer/polymer.html">
<link rel="import" href="packages/core_elements/core_selector.html">
<polymer-element name="my-element">
<template>
<style>
.core-selected {
<polymer-element name="my-element">
<template>
<div on-change="{{updateSelectedColor}}">
<template repeat="{{color in colors}}">
<label>{{color}}
<input type="radio" name="colors" value="{{color}}">
</label>
</template>
</div>
<div>{{selectedColor}}</div>
// The Polymer element.
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<template if="{{!showAnswer}}">
<div id="question">What is the answer to "The Ultimate Question of Life, the Universe, and Everything"?
</div>
<div id="show" on-click="{{enableShowAnswer}}">Show</div>
</template>
-rw-r--r-- 1 shailentuli 5000 18B Mar 31 09:55 animation.dart.html_reference
-rw-r--r-- 1 shailentuli 5000 809K Mar 31 09:55 animation.dart.js
-rw-r--r-- 1 shailentuli 5000 1.1M Mar 31 09:55 animation.dart.precompiled.js
-rw-r--r-- 1 shailentuli 5000 1.6K Mar 31 09:55 animation.html
-rw-r--r-- 1 shailentuli 5000 23B Mar 31 09:55 bouncing_balls.dart.html_reference
-rw-r--r-- 1 shailentuli 5000 790K Mar 31 09:55 bouncing_balls.dart.js
-rw-r--r-- 1 shailentuli 5000 1.1M Mar 31 09:55 bouncing_balls.dart.precompiled.js
-rw-r--r-- 1 shailentuli 5000 1.9K Mar 31 09:55 bouncing_balls.html
drwxr-xr-x 5 shailentuli 5000 170B Mar 31 09:55 css
-rw-r--r-- 1 shailentuli 5000 20B Mar 31 09:55 hello_world.dart.html_reference