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
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": [
"json",
"lcov",
"text-summary"
],
"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
---
...
changelog:
  - 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](http://www.jacksonvilleofficegeeks.net) for more information.'
---

https://example.com

https://example.com

Required Endpoint Why
https://*.blob.core.usgovcloudapi.net Migration API Azure Government requirement
https://*.queue.core.usgovcloudapi.net Migration API Azure Government requirement
https://*.queue.core.usgovcloudapi.net Migration API Azure Government requirement
@andrewconnell
andrewconnell / azure-pipelines.yml
Created October 24, 2019 13:50
PnP SPFx + JS SIG
trigger:
branches:
include:
- '*'
variables:
- group: office365credentials
stages:
- 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
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="Delete SVN Folders"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="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
@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