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
@echo off
@echo -- Updating the desktop wallpaper
C:\Utils\System\Bginfo.exe /ic:\utils\bginfoSettings.bgi /timer:0
@echo off
@echo -- Updating the desktop wallpaper
C:\Utils\System\Bginfo.exe /ic:\utils\bginfoSettings.bgi /timer:0
<?xml version="1.0" encoding="utf-8" ?>
<!-- _lcid="1033" _version="11.0.5510" _dal="1" -->
<!-- _LocalBinding -->
<Project Title="myTeam Web Site" ListDir="Lists" xmlns:ows="Microsoft SharePoint">
<NavBars>
<NavBar Name="SharePoint Top Navbar" Separator="&amp;nbsp;&amp;nbsp;&amp;nbsp;" Body="&lt;a ID='onettopnavbar#LABEL_ID#' href='#URL#' accesskey='J'&gt;#LABEL#&lt;/a&gt;" ID="1002">
<NavBarLink Name="Documents and Lists" Url="_layouts/[%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%]/viewlsts.aspx"> </NavBarLink>
<NavBarLink Name="Create" Url="_layouts/[%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%]/create.aspx"> </NavBarLink>
<NavBarLink Name="Site Settings" Url="_layouts/[%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%]/settings.aspx"> </NavBarLink>
@andrewconnell
andrewconnell / teams-manifest.json
Created April 24, 2019 20:28
Microsoft Teams Manifest file
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.2/MicrosoftTeams.schema.json",
"manifestVersion": "1.2",
"packageName": "{{SPFX_COMPONENT_ALIAS}}",
"id": "aa3fecf0-1fd0-4751-aba1-12314dc3a22f",
"version": "0.1",
"developer": {
"name": "Parker Porcupine",
"websiteUrl": "https://products.office.com/en-us/sharepoint/collaboration",
"privacyUrl": "https://privacy.microsoft.com/en-us/privacystatement",
@andrewconnell
andrewconnell / jest.config.json
Created April 15, 2019 19:35
Jest v24.* configuration with code coverage for SPFx projects
{
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/**/*.{ts,tsx}",
"!<rootDir>/**/*.scss.*",
"!<rootDir>/loc/**/*.*"
],
"coverageDirectory": "<rootDir>/../temp/test",
"coverageReporters": [
"json",
npm install @microsoft/rush-stack-compiler-3.3@0.1.6 typescript@3.3 --save-dev --exact
npm install @types/react@16.7.22 --save-dev --exact
@andrewconnell
andrewconnell / jest.config.json
Last active April 15, 2019 19:30
Jest v23.* configuration with code coverage for SPFx projects
{
"collectCoverage": true,
"coverageDirectory": "<rootDir>/../temp/test",
"coverageReporters": [
"json",
"lcov",
"text-summary"
],
"coverageThreshold": {
"global": {
@andrewconnell
andrewconnell / jest.config.json
Last active April 15, 2019 19:26
Jest basic configuration for SPFx projects
{
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy",
"^resx-strings/en-us.json": "<rootDir>/../node_modules/@microsoft/sp-core-library/lib/resx-strings/en-us.json"
const auth = {
token: '...', // get from your user settings in Drip admin
accountId: 007
};
const client = require('drip-nodejs')(auth);
const payload = {
subscribers:[{
email:'voitanosllc@contoso.com',
eu_consent:'granted'