Skip to content

Instantly share code, notes, and snippets.

View jbristowe's full-sized avatar
👨‍💻
"It's complicated."

John Bristowe jbristowe

👨‍💻
"It's complicated."
View GitHub Profile
@jbristowe
jbristowe / ListView-Links-with-ActionSheet.html
Created May 23, 2012 02:05
Simple ActionSheet for TeamThing
@jbristowe
jbristowe / ActionSheet-Definition.html
Created May 24, 2012 01:36
ActionSheet in Kendo UI Mobile
<ul id="actions" data-role="actionsheet">
<li class="km-actionsheet-title">Monday's meeting</li>
<li><a href="#" data-action="reply>Reply</a></li>
<li><a href="#" data-action="replyAll>Reply All</a></li>
<li><a href="#" data-action="archive>Archive</a></li>
</ul>
@jbristowe
jbristowe / Calendar HTML Helper (ASPX)
Created June 15, 2012 04:40
HTML Helper Basics of Kendo UI for ASP.NET MVC Beta
<%: Html.Kendo().Calendar()
.Name("calendar")
%>
.burndown-wrap {
height: 50px;
width: 100px;
...
}
@jbristowe
jbristowe / html5-forms-support.html
Created July 6, 2012 03:20
HTML5 Forms Support in Kendo UI Mobile
<div id="..." data-role="view" data-title="...">
<ul data-role="listview" data-style="inset">
<li>
<!-- search -->
<input type="search" value="search" />
Search:
</li>
<li>
<!-- url -->
<input type="url" value="http://www.kendoui.com" />
@jbristowe
jbristowe / Get-AllUsers
Last active December 21, 2015 22:19
PowerShell script for getting all users from a particular Sitefinity site.
function Get-AllUsers {
param (
[string] $siteUrl = "",
[string] $username = "",
[string] $password = ""
)
if ($siteUrl -eq "")
{
$siteUrl = Read-Host "Site URL";
using System;
using EQATEC.Analytics.Monitor;
sealed partial class App : Application
{
public static IAnalyticsMonitor Monitor;
public App()
{
this.Suspending += OnSuspending;
using EQATEC.Analytics.Monitor;
using System.Diagnostics;
public class DebugLogger : ILogAnalyticsMonitor
{
public void LogMessage(string message)
{
Debug.WriteLine("MESSAGE: " + message);
}

Notes: PhoneGap/Cordova, Visual Studio 2013 Update 2, and Windows Phone 8.1

Based on observations made with PhoneGap/Cordova 3.4, Visual Studio 2013 Update 2 (RTM), and Windows Phone 8.1.

  • Projects generated via the PhoneGap or the Cordova CLI can run (unmodified) in emulators for Windows Phone 8.0 and Windows Phone 8.1
  • Windows Phone 8.0 projects must be re-targeted to Windows Phone 8.1 for script debugging within the Windows Phone 8.1 emulator
  • Projects generated via the PhoneGap or the Cordova CLI that are re-targeted to Windows Phone 8.1 are converted to Windows Phone Silverlight 8.1 projects
    • Windows Phone Silverlight 8.1 projects do not support script debugging in Visual
[
{
"City": "Sofia",
"Country": "Bulgaria",
"Country_ISO3": "BGR",
"Pop1950": 520,
"Pop1955": 620,
"Pop1960": 710,
"Pop1965": 810,
"Pop1970": 890,