Skip to content

Instantly share code, notes, and snippets.

View burkeholland's full-sized avatar

Burke Holland burkeholland

  • Microsoft
  • Franklin, TN
View GitHub Profile
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
var express = require('express');
var path = require('path');
var favicon = require('static-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var routes = require('./routes/index');
var users = require('./routes/users');
var themes = require('./routes/themes');

Hello, Welcome, Greetings, thank you so much for joining us for today's LIVE Kendo UI Q3 release webinar. We've got folks joining us from all over so thanks so much to those of you who got up early, those who stayed up far too late, and those of you taking time out of your hectic schedules to be with us today. We've got some exciting things to show you, some great demos, as well as some fantastic prizes.

You can connect with us on Twitter by following the official Kendo UI twitter account at @kendoui. We would love to connect with you there so we can keep you up to date with all of the things we're working on. You can also follow the official @telerik account on twitter to find out about all the other mind blowing things we're working on - and trust me - there's a lot of them.

This is a LIVE webcast with several thousand registrants from all over the globe and sometimes there are issues. If you are having trouble, use the Q&A log to let us know what's going on. We've got some folks standing by and ded

@burkeholland
burkeholland / gist:e3b46f11256d47deaa89
Created March 19, 2015 20:27
Try/Catch Debugging Snippet For NativeScript
<snippet>
<content><![CDATA[
try {
$1
}
catch (e) {
alert(JSON.stringify(e));
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
@burkeholland
burkeholland / gist:9685773dcbcedd4ed615
Created March 31, 2015 15:25
Hiding Back Button / Add Button
exports.loaded = function(args) {
var page = args.object;
page.bindingContext = feedModel;
page.ios.title = 'Feed';
var controller = frameModule.topmost().ios.controller;
var navigationItem = controller.visibleViewController.navigationItem;
@burkeholland
burkeholland / gist:b4580106f11d29236218
Last active August 29, 2015 14:18
Navigation / Status Bar Tweaks

Tweaking The Navigation / Status Bar In NativeScript

exports.loaded = function(args) {

  var page = args.object;
  page.bindingContext = feedModel;

var controller = frameModule.topmost().ios.controller;

@burkeholland
burkeholland / nativescript-ios-emulator
Created April 14, 2015 15:28
NativeScript ST2 Build System For iOS Emulator
{
"working_dir": "${project_path}",
"cmd": ["tns emulate ios --device iPhone-6"],
"shell": true
}
function User(user_info) {
return new observableModule.observable({
username: user_info.username,
email: user_info.email,
password: user_info.password,
login: function() {
var http = require("http");
var config = require("../../shared/config");
var observableModule = require("data/observable");
function User(username, email, password) {
var userViewModel = new observableModule.Observable();
userViewModel.username = username;
var http = require("http");
var config = require("../../shared/config");
var observableModule = require("data/observable");
function User(info) {
// you can add properties to observables on creation
var userViewModel = new observableModule.Observable({
username: info.username,