Skip to content

Instantly share code, notes, and snippets.

Andrew Connell andrewconnell

Block or report user

Report or block andrewconnell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ExtractAssessmentQuestions.ps1
# =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# Script: ExtractAssessmentQuestions.ps1
#
# Author: Andrew Connell
# http://www.AndrewConnell.com
#
# Description: Extracts assessment questions from a specified course module.
#
# Parameters: $CourseId - Course ID to extract the questions from.
# ex: "sharepoint2013-workflow-fundamentals"
@andrewconnell
andrewconnell / Logger.ps1
Created Sep 26, 2013
Standardized logger library for PowerShell scripts.
View Logger.ps1
# =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# Script: Logger.ps1
#
# Author: Andrew Connell
# http://www.AndrewConnell.com
#
# Description: Standardized logging library.
#
# =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
View StageModule.ps1
# =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# Script: StageModule.ps1
#
# Author: Andrew Connell
# http://www.AndrewConnell.com
#
# Description: Extracts a course module assets for submission to Pluralsight.
#
# Parameters: $VideoClipStorePath - Fully qualified path to the location where the video clips are stored
# $BuildPath - Fully qualified path to the location where the files will be staged
@andrewconnell
andrewconnell / spAppUtils.js
Created Oct 22, 2013
SharePoint REST script library for obtaining common paths in client-side SharePoint 2013 development.
View spAppUtils.js
(function() {
var module = {
getAppAbsoluteUrl: getAppAbsoluteUrl,
getAppRelativeUrl: getAppRelativeUrl,
getAppODataApiUrl: getAppODataApiUrl
};
return module;
function getAppAbsoluteUrl() {
return _spPageContextInfo.webAbsoluteUrl;
@andrewconnell
andrewconnell / oDataUtils.js
Created Oct 22, 2013
OData utility library for working with SharePoint 2013 REST API.
View oDataUtils.js
(function() {
var baseRequest = {
url: "",
type: ""
};
var module = {
getRequest: getRequest,
newItemRequest: newItemRequest,
@andrewconnell
andrewconnell / SharePoint 2013 SPA UX Template - QuickLanch
Created Feb 18, 2014
HTML template of the Quick Launch for used to create a SharePoint 2013 Hosted App (SPH) Single Page App (SPA).
View SharePoint 2013 SPA UX Template - QuickLanch
<div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList">
<div class="ms-core-navigation" role="navigation">
<a id="startNavigation" name="startNavigation"></a>
<div class="ms-core-sideNavBox-removeLeftMargin">
<div class="noindex ms-core-listMenu-verticalBox">
<ul class="noindex ms-core-listMenu-root static">
<li class="static selected">
<a href="#" class="static selected menu-item ms-core-listMenu-item ms-displayInline ms-core-listMenu-selected ms-navedit-linkNode">Selected Link 1</a>
</li>
<li class="static">
@andrewconnell
andrewconnell / SharePoint 2013 SPA UX Template - Header
Created Feb 18, 2014
HTML template of the header for used to create a SharePoint 2013 Hosted App (SPH) Single Page App (SPA).
View SharePoint 2013 SPA UX Template - Header
<div id="s4-titlerow" class="ms-dialogHidden" style="display:block;">
<div id="titleAreaBox" class="ms-noList ms-table ms-core-tableNoSpace">
<div id="titleAreaRow" class="ms-tableRow">
<div id="siteIcon" class="ms-tableCell ms-verticalAlignTop" style="width:180px;">
app logo goes here
</div>
<div class="ms-breadcrumb-box ms-tableCell ms-verticalAlignTop">
<div class="ms-breadcrumb-top">
<div class="ms-breadcrumb-dropdownBox" style="display:none;">
<span id="DeltaBreadcrumbDropdown"></span>
@andrewconnell
andrewconnell / SharePoint 2013 SPA UX Template - Working On It
Last active Aug 29, 2015
HTML template of the busy dialog for used to create a SharePoint 2013 Hosted App (SPH) Single Page App (SPA).
View SharePoint 2013 SPA UX Template - Working On It
<div id="lpm-workingOnIt-container"
class="dissolve-animation">
<div id="lpm-workingOnIt-message">
<img src="data:image/gif;base64,R0lGODlhGAAYAJECAP///5mZmf///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgACACwAAAAAGAAYAAACQJQvAGgRDI1SyLnI5jr2YUQx10eW5hmeB6Wpkja5SZy6tYzn+g5uMhuzwW6lFtF05CkhxGQm+HKuoDPplOlDFAAAIfkEBQoAAgAsFAAGAAQABAAAAgVUYqeXUgAh+QQFCgACACwUAA4ABAAEAAACBVRip5dSACH5BAUKAAIALA4AFAAEAAQAAAIFVGKnl1IAIfkEBQoAAgAsBgAUAAQABAAAAgVUYqeXUgAh+QQFCgACACwAAA4ABAAEAAACBVRip5dSACH5BAUKAAIALAAABgAEAAQAAAIFVGKnl1IAIfkECQoAAgAsBgAAAAQABAAAAgVUYqeXUgAh+QQJCgACACwAAAAAGAAYAAACJZQvEWgADI1SyLnI5jr2YUQx10eW5omm6sq27gvH8kzX9o3ndAEAIfkECQoAAgAsAAAAABgAGAAAAkCULxFoAAyNUsi5yOY69mFEMddHluYZntyjqY3Vul2yucJo5/rOQ6lLiak0QtSEpvv1lh8l0lQsYqJHaO3gFBQAACH5BAkKAAIALAAAAAAYABgAAAJAlC8RaAAMjVLIucjmOvZhRDHXR5bmGZ7co6mN1bpdsrnCaOf6zkOpzJrYOjHV7Gf09JYlJA0lPBQ/0ym1JsUeCgAh+QQJCgACACwAAAAAGAAYAAACQJQvEWgADI1SyLnI5jr2YUQx10eW5hme3KOpjdW6XbK5wmjn+s5Dqcya2Dox1exn9PSWJeRNSSo+cR/pzOSkHgoAIfkECQoAAgAsAAAAABgAGAAAAkCULxFoAAyNUsi5yOY69mFEMd
@andrewconnell
andrewconnell / SP2013 SPA UX Template - List View
Last active Aug 29, 2015
HTML template of the list view for used to create a SharePoint 2013 Hosted App (SPH) Single Page App (SPA).
View SP2013 SPA UX Template - List View
<table border="0" cellspacing="0" cellpadding="1" class="ms-listviewtable">
<thead>
<tr valign="top" class="ms-viewheadertr ms-vhltr">
<th scope="col" style="max-width: 500px" class="ms-vh2">
<div displayname="Title" class="ms-vh-div">
<a class="ms-headerSortTitleLink">Title</a>
</div>
</th>
<th scope="col" style="max-width: 500px" class="ms-vh2">
<div displayname="Title" class="ms-vh-div">
@andrewconnell
andrewconnell / SP2013 SPA UX Template - Item View
Last active Aug 29, 2015
HTML template of the item view for used to create a SharePoint 2013 Hosted App (SPH) Single Page App (SPA).
View SP2013 SPA UX Template - Item View
<div style="padding-left:5px;">
<table class="ms-core-tableNoSpace">
<tbody>
<tr>
<td>
<div class="ms-webpart-zone ms-fullWidth">
<div class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical ms-fullWidth">
<div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth">
<div width="100%" class="noindex">
<table>
You can’t perform that action at this time.