This file contains 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
// shows related pages in SharePoint 2013 or Office 365 | |
// via https://gist.github.com/chrisobriensp/4375519 | |
// requires (minified under 10k): underscorejs, es6-promise (ES6 polyfill), fetch (ES6 polyfill) | |
function(element, title, count) { | |
var header = '<b>'+title+'</b><br/>'; | |
var _linkTmpl = _.template('<a href="<%=Cells.results[6].Value%>"><%=Cells.results[3].Value%></a>'); | |
var linkJoin = '<br/>'; | |
var linkCount = count; | |
This file contains 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
/* | |
spfDropDowns v.1 by @alirobe - gist: 1312059 | |
To use this, just structure your top-menu bar links by using a leading '-- ' | |
to denote submenu items, e.g. | |
Menu Item | |
-- Submenu Item | |
Menu Item | |
-- Submenu Item | |
-- Submenu Item |
This file contains 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
// kyleschaeffer.com's Responsive SP2010 (sans HTML5, via @alirobe) | |
// add me to the bottom of v5.js | |
// via gist @ http://github.com/alirobe | |
window.onresize = function(){ | |
var w=800, t=" lt-800 ", cw, h; | |
h = document.getElementsByTagName("html")[0]; | |
cw = window.outerWidth||h.clientWidth; | |
if (cw<=w) {if(h.className.indexOf(t)==-1) {h.className+=t}} | |
else {h.className=h.className.replace(/lt-800/g,'').replace(/[\s]{2,}/g,' ');} |
This file contains 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
# run on exchange machine | |
add-pssnapin Microsoft.Exchange.Management.PowerShell.SnapIn | |
$serviceAccountName = "CrmEmailServiceAcct" | |
$serviceAccountUser = Get-User -Identity $serviceAccountName | |
Get-ExchangeServer | where {$_.IsClientAccessServer -eq $TRUE} | ForEach-Object { | |
Add-ADPermission -Identity $_.distinguishedname -User $serviceAccountUser.identity -AccessRights ExtendedRight -ExtendedRight ms-Exch-EPI-Impersonation | |
Add-ADPermission -Identity $_.distinguishedname -User $serviceAccountUser.identity -AccessRights ExtendedRight -ExtendedRight ms-Exch-EPI-May-Impersonate | |
} | |
Get-MailboxDatabase | ForEach-Object {Add-ADPermission -Identity $_.DistinguishedName -User $serviceAccountName -ExtendedRights ms-Exch-EPI-May-Impersonate} |
This file contains 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
# This script downloads weather forecasts from BOM | |
# Please ensure you comply with their usage terms and copyright... | |
# & to keep up with changes to this API | |
# - follow BOM here: https://data.gov.au/organization/bureauofmeteorology | |
# - star and fork this gist. | |
# New South Wales and ACT | |
curl ftp://ftp2.bom.gov.au/anon/gen/fwo/IDN11060.xml > NSW-ACT.xml | |
# Victoria | |
curl ftp://ftp2.bom.gov.au/anon/gen/fwo/IDV10753.xml > VIC.xml |
This file contains 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
Verifying that +alirobe is my blockchain ID. https://onename.com/alirobe |
This file contains 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
//via http://withinsharepoint.com/archives/256 or http://withinsharepoint.com/archives/210 | |
if (jQuery.browser.webkit) { | |
jQuery(document).ready(function () { | |
var interval; | |
function loopCheck() { | |
if (typeof (_spBodyOnLoadWrapper) !== "undefined" && _spBodyOnLoadCalled == false) | |
_spBodyOnLoadWrapper(); | |
else | |
window.clearInterval(interval); |
This file contains 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
{ | |
"recommendations": [ | |
"eg2.tslint", | |
"rbbit.typescript-hero", | |
"pmneo.tsimporter", | |
"esbenp.prettier-vscode", | |
"christian-kohler.path-intellisense", | |
"CoenraadS.bracket-pair-colorizer", | |
"eamodio.gitlens", | |
"ryu1kn.partial-diff", |
OlderNewer