This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Disable the dblclick event listener which creates a new item on the calendar | |
ExecuteOrDelayUntilScriptLoaded(MyCalendarHook,'SP.UI.ApplicationPages.Calendar.js'); | |
function MyCalendarHook(){ | |
var calendarCreate = SP.UI.ApplicationPages.CalendarContainerFactory.create; | |
SP.UI.ApplicationPages.CalendarContainerFactory.create = function (elem,cctx,viewType,date,startupData) { | |
cctx.canUserCreateItem = false; | |
calendarCreate(elem, cctx, viewType, date, startupData); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Select everything before the occurance: ^(.*?)\ | |
Usage: (find and replace everything before and including "VM911.1") : ^(.*?)\VM911:1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From the root of your project folder | |
1.) git init | |
2.) git add . | |
3.) git commit -m "initial commit" | |
(the next two are from DevOps once the Repo has been established) | |
4.) git remote add origin https://[email protected]/tenant/ProjectName/_git/ProjectName | |
5.) git push -u origin –all | |
To update the repo from your local project : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#If NPM is throwing errors about permissions issues: | |
npm config set unsafe-perm=true | |
# error : "Error: EPERM: operation not permitted, rename" ... includes cache clear twice | |
npm cache clean --force | |
npm install -g npm@latest --force | |
npm cache clean --force |
OlderNewer