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
| <!-- 50 MB limit --> | |
| <system.web> | |
| <httpRuntime maxRequestLength="51200" /> | |
| </system.web> | |
| <system.webServer> | |
| <security> | |
| <requestFiltering> | |
| <requestLimits maxAllowedContentLength="52428800" /> | |
| </requestFiltering> | |
| </security> |
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
| <!-- | |
| interface Organization { | |
| name: string; | |
| url: string; | |
| children: Organization[]; | |
| } | |
| org: Organization[]; | |
| --> | |
| <div class="invid-tree"> | |
| <ng-template #recursiveList let-list> |
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
| git ls-files | % { "$(git log -1 --format="%ai" -- $_) $_" } |
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
| using System; | |
| using System.Windows; | |
| using System.Windows.Media; | |
| using System.Windows.Media.Animation; | |
| public class AnimationHelpers | |
| { | |
| public static void Fade(UIElement incoming, UIElement outgoing, int seconds) | |
| { | |
| Storyboard story = new Storyboard(); |
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
| $cfg = Get-SPServiceHostConfig | |
| $cfg.Provision() | |
| $services = Get-SPServiceApplication | |
| foreach ($srv in $services) { | |
| $srv.Provision() | |
| Write-Host $srv.Name | |
| } |
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 parseCSV(src, sep) { | |
| if (!sep) { | |
| sep = "\t"; | |
| } | |
| var data = []; | |
| var isQuoteEscaped = false; | |
| var row = []; | |
| var value = ""; | |
| for (var i = 0; i < src.length; i++) { | |
| var chr = src[i]; |
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
| CREATE PROC SearchAllTables | |
| ( | |
| @SearchStr nvarchar(100) | |
| ) | |
| AS | |
| BEGIN | |
| CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630)) | |
| SET NOCOUNT ON |
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
| declare @id int | |
| declare @imstkt char(1) | |
| declare cur cursor local static read_only forward_only for | |
| select id, jdeimstkt from models where jdeimstkt is not null | |
| open cur | |
| fetch next from cur into @id, @imstkt | |
| while @@fetch_status = 0 | |
| begin | |
| print 'update Models set jdeimstkt=' + convert(nvarchar(50), @imstkt) + ' where id=' + convert(nvarchar(50), @id) |
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
| .centered { | |
| position: fixed; | |
| top: 50%; | |
| left: 50%; | |
| -webkit-transform: translate(-50%, -50%); | |
| -moz-transform: translate(-50%, -50%); | |
| -ms-transform: translate(-50%, -50%); | |
| transform: translate(-50%, -50%); | |
| } |