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
| /*************************************************** | |
| jQuery UI Flyout widget like in Facebook | |
| ******************************************************/ | |
| (function($, undefined) { | |
| $.widget("ui.flydowns", { | |
| ///<summary>This is a custom jQuery widget | |
| ///for flydowns (flyout dropdowns) | |
| ///usage: $("your_selector").flydowns(); | |
| ///</summary> | |
| _create: function() { |
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
| "use strict"; | |
| window.tolle = window.tolle || {}; | |
| tolle.utils = tolle.utils || {}; | |
| tolle.utils.renderLike = (function() { | |
| var like = { item: undefined, container: undefined}; | |
| var onSuccess = function() { | |
| var count = like.item.get_item("LikesCount") == null ? "0" : String(like.item.get_item("LikesCount")); | |
| var likerLookupItems = like.item.get_item("LikedBy"); | |
| var likers = []; | |
| if (likerLookupItems != null) { |
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
| # Install Chocolatey | |
| iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
| # Install Tools | |
| # choco install ulsviewer & | |
| choco install GoogleChrome -y | |
| choco install vim -y | |
| choco install SharePointDesigner2013x64 -y | |
| choco install ilspy -y | |
| choco install fiddler4 -y |
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
| #Add links into a Top Navigation Bar in SharePoint Central Admin | |
| if(-not(gsnp | ? { $_.Name -eq "Microsoft.SharePoint.PowerShell"})) { asnp Microsoft.SharePoint.PowerShell } | |
| $url = "http://dev:2013" | |
| $web = Get-SPWeb $url | |
| $links = @{ | |
| "Farm Solutions" = "/_admin/Solutions.aspx" | |
| "Service Applications" = "/_admin/ServiceApplications.aspx" | |
| "Site Collection Owners" = "/_admin/owners.aspx" | |
| "UPA" = "/_layouts/15/ManageUserProfileServiceApplication.aspx?ApplicationID=c32b96b6%2D7c34%2D4113%2D9982%2Df4e47aad1e50" | |
| "SSA" = "/searchadministration.aspx?appid=5f037fe9-0cde-4bbb-a3a0-30f2605a0220" |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> | |
| <!-- Parent ContentType: Item (0x01) --> | |
| <ContentType ID="0x010019DBC07DC85E425FAC393333BE5C537A" | |
| Name="TolleCT" | |
| Group="Tolle" | |
| Description="My Content Type" | |
| Inherits="FALSE" Version="0"> | |
| <FieldRefs> | |
| <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Hidden="TRUE" Required="FALSE" /> |
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
| function ResizeIFrame(height, width) { | |
| if (!window.parent) | |
| return; | |
| var senderId = decodeURIComponent(getQueryStringParameter("SenderId")); | |
| var message = "<Message senderId=" + senderId + " >" | |
| + "resize(" + width + "," + height + ")</Message>"; | |
| parent.postMessage(message, '*'); | |
| } |
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 (!(Test-Path $profile)) { | |
| New-Item $profile -Type File -Force | |
| } |
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
| msgid "" | |
| msgstr "" | |
| "Project-Id-Version: \n" | |
| "POT-Creation-Date: \n" | |
| "PO-Revision-Date: 2008-01-26 23:14+0100\n" | |
| "Last-Translator: mirontoli <mirontoli@gmail.com>\n" | |
| "Language-Team: Chuvash Soft <mirontoli@gmail.com>\n" | |
| "MIME-Version: 1.0\n" | |
| "Content-Type: text/plain; charset=utf-8\n" | |
| "Content-Transfer-Encoding: 8bit\n" |
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
| //This is a workaround for search language. Please remove this after the August Patch has been installed (SharePoint 2013, 2013 CU) | |
| //A control for changing the language adds a url fragment: #l=1033 (for English) | |
| // bug #2319 | |
| (function() { | |
| var href = window.location.href; | |
| var url = window._tpContextInfo.SearchCenterUrl; | |
| var searchCenter = href.indexOf(url + "/results.aspx") === 0 || href.indexOf(url + "/peopleresults.aspx") === 0; | |
| if (searchCenter) { | |
| var hash = window.location.hash; | |
| var langRegexPattern = "#l=\\d{4}"; |
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
| function Minify { | |
| <# | |
| .Synopsis | |
| Short description | |
| .DESCRIPTION | |
| Long description | |
| .EXAMPLE | |
| Example of how to use this cmdlet | |
| .EXAMPLE | |
| Another example of how to use this cmdlet |