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
| .sans-ui{ | |
| font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif; | |
| } | |
| .sans{ | |
| font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif; | |
| } | |
| .serif{ | |
| font-family: Cambria, Georgia, serif; | |
| } | |
| .mono{ |
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"?> | |
| <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
| <CodeSnippet Format="1.0.0"> | |
| <Header> | |
| <Title>Task</Title> | |
| <Author>Daniel Fisher(lennybacon)</Author> | |
| <Description>Task</Description> | |
| <Shortcut>task</Shortcut> | |
| <SnippetTypes> | |
| <SnippetType>Expansion</SnippetType> |
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
| public static partial class StringExtensions | |
| { | |
| /// <summary> | |
| /// Sanitizes the string according to Windows Client Certificate Enrollment | |
| /// Protocol: http://msdn.microsoft.com/en-us/library/cc249879.aspx | |
| /// </summary> | |
| /// <param name="input">The input.</param> | |
| /// <returns>System.String.</returns> | |
| /// <remarks> | |
| /// All disallowed characters in the original name MUST be replaced with |
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
| angularModule. | |
| factory( | |
| 'callChain', | |
| [ | |
| function() { | |
| return function () { | |
| var cs; | |
| cs = []; | |
| this.add = function (call) { | |
| cs.push(call); |
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 f1(callback) { | |
| console.log('f1'); | |
| if (callback != null) { | |
| console.log('hasCallback'); | |
| callback(); | |
| } | |
| } | |
| function f2(callback) { | |
| console.log('f2'); | |
| if (callback != 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
| /// <summary> | |
| /// Ipmi remote interface to control supermicro super server via ATEN IPMI. | |
| /// </summary> | |
| public class Ipmi | |
| { | |
| private readonly string _hostName; | |
| private readonly CookieContainer _cookieContainer; | |
| private const string LoginUrlFormat = | |
| "https://{0}/cgi/login.cgi"; |
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
| REGEDIT4 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions] | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Extensions] | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths] | |
| "P:\\"=dword:00000000 | |
| "C:\\Windows\\assembly"=dword:00000000 | |
| "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0"=dword:00000000 |
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
| SET IDENTITY_INSERT [LogEntry2] ON; | |
| GO | |
| WHILE (SELECT COUNT(*) FROM [LogEntry2]) < 2500000 | |
| BEGIN | |
| INSERT INTO [LogEntry2] | |
| ( | |
| [LogEntry2].[Id] | |
| , [LogEntry2].[Culture] | |
| , [LogEntry2].[Created] | |
| , [LogEntry2].[CreatedBy] |
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
| Set-Alias iiscfg Edit-ApplicationHostsConfig | |
| function Edit-ApplicationHostsConfig { | |
| $file = Get-ApplicationHostsConfig | |
| edit $file | |
| } | |
| function Get-ApplicationHostsConfig(){ | |
| $appHostConfig = "C:\Windows\sysnative\inetsrv\config\applicationHost.config" | |
| $exists = Test-Path $appHostConfig |
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 Search-ItemsRecursive($projectItems, $list){ | |
| ForEach ($item in $projectItems) { | |
| $itemName = $item.Name | |
| Write-Host "Getting all project items for $itemName" | |
| $list.Add($item); | |
| if($item.ProjectItems -ne $null){ | |
| Search-ItemsRecursive -projectItems $item.ProjectItems -list $list | |
| } | |
| if($item.SubProject -ne $null -and $item.SubProject.ProjectItems -ne $null){ | |
| Search-ItemsRecursive -projectItems $item.SubProject.ProjectItems -list $list |
OlderNewer