Skip to content

Instantly share code, notes, and snippets.

<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@sporcina
sporcina / Object_Inititalizer_example.cs
Created October 18, 2013 23:24
Using an object initializer to tighten-up the code
// from
var customer = new Customer();
customer.Name = name;
customer.Address = address;
customer.Notes = notes;
// to
var customer = new Customer {Name = name, Address = address, Notes = notes};
@sporcina
sporcina / gist:7033255
Created October 17, 2013 22:16
How to convert an XML file to a C# class
:: - Converts my.xml to my.cs file. This assumes that xsd.exe is in your Windows PATH environment variable.
xsd.exe my.xml /o:.
xsd my.xsd /c
@sporcina
sporcina / about.md
Created April 24, 2012 03:02 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer