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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
<script> |
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
-- https://www.simple-talk.com/sql/learn-sql-server/understanding-full-text-indexing-in-sql-server/ | |
IF OBJECT_ID (N'ProductDocs', N'U') IS NOT NULL | |
DROP TABLE ProductDocs | |
GO | |
CREATE TABLE ProductDocs ( | |
DocID INT NOT NULL IDENTITY, | |
DocTitle NVARCHAR(50) NOT NULL, | |
DocFilename NVARCHAR(400) NOT NULL, | |
FileExtension NVARCHAR(8) NOT NULL, | |
DocSummary NVARCHAR(MAX) 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> | |
/// See https://coderwall.com/p/app3ya/read-excel-file-in-c | |
/// </summary> | |
namespace App | |
{ | |
using System; | |
using System.Runtime.InteropServices; | |
using Excel = Microsoft.Office.Interop.Excel; //microsoft Excel 14 object in references-> COM tab | |
public class Program |
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
See https://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx | |
Service lifecycle: | |
Install service: C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe TasksService.exe | |
Start service: NET START TasksRunnerService | |
Stop service: NET STOP TasksRunnerService | |
Uninstall service: C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u TasksService.exe |
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.Diagnostics; | |
using System.Text; | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
if (args.Length < 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
#!/bin/bash | |
find . -type f -exec chmod -x {} \; |
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
#!/bin/bash | |
find . -type d -empty -delete |
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 TRANSACTION ISOLATION LEVEL READ UNCOMMITTED |
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
<# | |
Import-Module *.psm1 | |
#> | |
function Select-Color | |
{ | |
param | |
( | |
[System.ConsoleColor] | |
$Color | |
) |