Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Odegard codegard1

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am codegard1 on github.
  • I am ciaervo (https://keybase.io/ciaervo) on keybase.
  • I have a public key whose fingerprint is C4CF DDB9 767A CFBB C291 E57A 735B CF29 F4DB 1552

To claim this, I am signing this object:

@codegard1
codegard1 / Configure OOS on DEV.md
Last active Oct 15, 2021
Notes on configuring Office Online Server with SharePoint 2016
View Configure OOS on DEV.md

#Gist This page includes notes about the installation and setup of Office Online Server

Target Server

CONTOSO-DEV-SQL2

Steps

  1. Remove DEV-SQL2 from the DEV Farm through Central Admin.
View Reilly Windows Test 2.csv
ID Parent
EJXYVVPGMKJMKYUK
IBPDEOFAMMPEQXCY EJXYVVPGMKJMKYUK
BZENSGDSKZOTKMKA IBPDEOFAMMPEQXCY
FADPHYHRHCPQRLQA
JCKGBXNGKXNWDQOE FADPHYHRHCPQRLQA
LDTHJBETLOMGIYSQ FADPHYHRHCPQRLQA
DOLYLNQVEUPBRYZE LDTHJBETLOMGIYSQ
LNTOQJQUFCSMYCKW
VYRFVSWBMOAIRKCQ LNTOQJQUFCSMYCKW
@codegard1
codegard1 / Macrov2.ps1
Last active Mar 3, 2020
Flatten List Test
View Macrov2.ps1
Function Get-ParentRows {
<#
.SYNOPSIS
Returns rows that have no Parent ID and where Comments is not blank
#>
[CmdletBinding()]
param (
[Parameter(Mandatory = $true, ValueFromPipeline = $true)]
[Array]$CSVData
@codegard1
codegard1 / scrfrmt4.rtf
Last active Feb 7, 2020
Sub Station Alpha v4.00 Script Format
View scrfrmt4.rtf
{\rtf1\ansi \deff4\deflang1033{\fonttbl{\f4\froman\fcharset0\fprq2 Times New Roman;}{\f5\fswiss\fcharset0\fprq2 Arial;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;
\red192\green192\blue192;}{\stylesheet{\widctlpar \f4\fs20 \snext0 Normal;}{\*\cs10 \additive Default Paragraph Font;}}{\info{\author Kotus}{\operator SEWP 3.0 Development}{\creatim\yr1998\mo8\dy30\hr23\min30}{\revtim\yr1998\mo12\dy18\hr13\min13}
{\version2}{\edmins104}{\nofpages18}{\nofwords4155}{\nofchars23686}{\*\company }{\vern57443}}\paperw11909\paperh16834\margl1080\margr1080\margt1080\margb1080 \widowctrl\ftnbj\aenddoc\hyphcaps0 \fet0\sectd \linex0\headery706\footery706\colsx709
{\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\p
@codegard1
codegard1 / DimDate.sql
Created Dec 16, 2019
Sql script to create DimDate table
View DimDate.sql
USE AWDataWarehouse
GO
-- Create DimDate dimension table
CREATE TABLE [dbo].[DimDate](
[DateKey] [int] NOT NULL PRIMARY KEY NONCLUSTERED,
[FullDateAlternateKey] [date] NOT NULL,
[DayNumberOfWeek] [tinyint] NOT NULL,
[DayNameOfWeek] [nvarchar](10) NOT NULL,
[DayNumberOfMonth] [tinyint] NOT NULL,
@codegard1
codegard1 / GenerateDates.sql
Created Dec 16, 2019
SQL Script to populate DimDate
View GenerateDates.sql
USE AWDataWarehouse
GO
-- Populate DimDate dimension table with values from 1/1/2000 to 1/1/2003
-- declare variables to hold the start and end date
DECLARE @StartDate datetime
DECLARE @EndDate datetime
--- assign values to the start date and end date we
-- want our reports to cover (this should also take
View sharepointmenu.css
.ms-core-listMenu-horizontalBox {
border: 1px lime solid;
}
.ms-core-listMenu-horizontalBox::before {
content: "Menu";
color: red;
}
.ms-core-listMenu-horizontalBox .ms-core-listMenu-root {
display: none;
View matrix-multiplication-output.txt
Build project .\matrix-multiplication from .\matrix-multiplication.lid
...
Opened project matrix-multiplication (C:\Users\n5014\Documents\git\algorithms\matrix-multiplication\matrix-multiplication.hdp)Loading namespace for library matrix-multiplicationUpdating definitions for library matrix-multiplication
C:\Users\n5014\Documents\git\algorithms\matrix-multiplication\matrix-multiplication.dylan:34: Serious warning - Unexpected token ")".
-
if (j < (rows(m)) - 1))
-
Computing data models for library matrix-multiplication
Computing code models for library matrix-multiplication
View test.html
<div id="results"></div>
<script type="text/javascript">
console.time('initialize');
function retrieveWebSiteProperties(siteUrl) {
var clientContext = SP.ClientContext.get_current();
this.oWebsite = clientContext.get_web();
this.collList = oWebsite.get_lists();
this.listInfoCollection = clientContext.load(collList);