Skip to content

Instantly share code, notes, and snippets.

View andrewconnell's full-sized avatar
Building courses for @Voitanos

Andrew Connell andrewconnell

Building courses for @Voitanos
View GitHub Profile
andrewconnell / jest.config_spfx-1.14_ts-3.9.json
Last active July 5, 2022 18:53
Jest configuration (with code coverage) - SEE COMMENT IN FRIST LINE FOR IMPORTANT VERSION DETAILS
// for SPFx <= v1.14 projects & TypeScript <= v3.9
"collectCoverage": true,
"coverageDirectory": "<rootDir>/../temp/test",
"coverageReporters": [
"coverageThreshold": {
{{ $s := newScratch }}
{{/* ARCHIVE */}}
{{ $s.Set "archive" slice }}
{{ $s.Set "years" slice }}
{{ range sort (index .Site.Taxonomies "blog/archive") "Page.Title" "desc" }}
{{ $splitted_date := split .Page.Title "/" }}
{{ $year := index $splitted_date 0 }}
{{ $month := index $splitted_date 1 }}
Error in user YAML: (<unknown>): did not find expected node content while parsing a block node at line 1 column 1
  - timestamp: 2007-05-24T18:43:03-04:00
    description: 'This event has been cancelled because the speaker (me) is not available due to illness. We''ve rescheduled the session for our June meeting. See the [JOG website]( for more information.'

Required Endpoint Why
https://* Migration API Azure Government requirement
https://* Migration API Azure Government requirement
https://* Migration API Azure Government requirement
andrewconnell / azure-pipelines.yml
Created October 24, 2019 13:50
- '*'
- group: office365credentials
- stage: Build
"name": "iPityDaFool",
"version": "0.0.1",
"private": true,
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
"dependencies": {

<%= libraryName %>

This is where you include your project's documentation.

Building the code

Requires Gulp globally installed:

npm install --global gulp
Windows Registry Editor Version 5.00
@="Delete SVN Folders"
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""
' This routine attaches to the ASP.NET worker process:
Sub AttachTo_ASPNETWP()
Dim attached AsBoolean = False
Dim proc As EnvDTE.Process
Dim processToAttachTo AsString
' name of the process to attach to
processToAttachTo = "aspnet_wp.exe"
' iterate through all processes running on the local machine
ForEach proc In DTE.Debugger.LocalProcesses
@echo off
@echo -- Stopping unnecessary services for optimal VPC speed
@echo -- ... Stopping "Help and Support" service
net stop "Help and Support"
@echo -- ... Stopping "Print Spooler" service
net stop "Print Spooler"
@echo -- ... Stopping "Error Reporting Service" service
net stop "Error Reporting Service"
@echo -- ... Stopping "Task Scheduler" service