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
andrewconnell / azure-pipelines.yml
Created Feb 11, 2020
(blog) Update to my Azure Pipelines Templates for SPFx Projects (v1.3.0)
View azure-pipelines.yml
# azure-pipelines.yml
- repository: azure-pipelines-spfx-templates
type: github
name: voitanos/azure-pipelines-spfx-templates
ref: refs/tags/v1.0.3
endpoint: github
andrewconnell / activity.json
Created Dec 25, 2019
Copying files based on file content between two locations with Azure Data Factory
View activity.json
"activities": [
"name": "RawMetadata",
"type": "GetMetadata",
"dependsOn": [],
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
View azure-pipelines.yml
- '*'
- group: office365credentials
- stage: Build
andrewconnell / azure-pipelines.yml
Last active Oct 19, 2019
Add Search to Hugo Sites with Azure Search
View azure-pipelines.yml
- stage: live_site_post_deploy
displayName: Live site post deployment
- live_site_build_deploy
# always build on pushes to master
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
- deployment: exec_search_reindex
displayName: Reindex Azure Search
View onClickHandler.tsx
export default class HelloWorld extends React.Component<IHelloWorldProps, {}> {
private foo: string = "some string";
public render(): React.ReactElement<IHelloWorldProps> {
return (
<button type="button" onClick={ this.onClickHandler }>
trigger problem
andrewconnell / repository.yml
Last active Sep 16, 2019
Automate Building, Testing and Deploying SharePoint Framework Projects with Azure Pipelines in Two Steps
View repository.yml
- repository: azure-pipelines-spfx-templates
type: github
name: voitanos/azure-pipelines-spfx-templates
endpoint: voitanos-github
View VS Settings - Normal.cmd
@echo off
echo Setting Visual Studio Settings to: "AC Settings.settings"
"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /ResetSettings
"C:\Documents and Settings\\[PROFILE_NAME\]\My Documents\Visual Studio 2005\Settings\AC.vssettings"
View OnLoad.js
protected override void OnLoad(EventArgs e) {
// fully qualified name of the script
string scriptName ="JAXCC2006WebParts.CustomVerbsMenu.js"
// obtain reference to the page's client script manager
ClientScriptManager csMgr = Page.ClientScript;
// obtain the URL to the embedded JavaScript file in this assembly
string scriptURL = csMgr.GetWebResourceUrl(this.GetType(), scriptName);
View package.json wish
"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
You can’t perform that action at this time.