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
DECLARE @TableName varchar(255); | |
DECLARE TableCursor CURSOR FOR | |
SELECT table_name | |
FROM information_schema.tables | |
WHERE table_type = 'base table' | |
OPEN TableCursor | |
FETCH NEXT FROM TableCursor INTO @TableName |
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
DECLARE @TableName varchar(255); | |
DECLARE TableCursor CURSOR FOR | |
SELECT table_name | |
FROM information_schema.tables | |
WHERE table_type = 'base table' | |
OPEN TableCursor | |
FETCH NEXT FROM TableCursor INTO @TableName |
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
DECLARE @TableName varchar(255); | |
DECLARE TableCursor CURSOR FOR | |
SELECT table_name | |
FROM information_schema.tables | |
WHERE table_type = 'base table' | |
OPEN TableCursor | |
FETCH NEXT FROM TableCursor INTO @TableName |
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
using System; | |
using UnityEngine; | |
public class GameManager : MonoBehaviour { | |
public IInputSystem Input; | |
public static GameManager Instance; | |
void Awake() { |
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
<#@ Include File="SaveOutput.tt" #> | |
<#@ Assembly Name="System.Xml" #> | |
<#@ Assembly Name="System.Text.RegularExpression" #> | |
<#@ Assembly Name="Microsoft.SqlServer.ConnectionInfo" #> | |
<#@ Assembly Name="Microsoft.SqlServer.Management.Sdk.Sfc" #> | |
<#@ Assembly Name="Microsoft.SqlServer.Smo" #> | |
<#@ Import Namespace="Microsoft.SqlServer.Management.Smo" #> | |
<#@ Import Namespace="System.Xml.Serialization" #> | |
<#@ Import Namespace="System.Collections" #> | |
<#@ Import Namespace="System.Collections.Generic" #> |
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
void Main() | |
{ | |
var testCases = new[] { | |
null, | |
"", | |
"localhost", | |
"johnnycode.com", | |
"blog.johnnycode.com", | |
"a.b.c.blog.johnnycode.com" | |
}; |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace CallStackExample | |
{ | |
class Program | |
{ |
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
module Jekyll | |
class TestGenerator < Generator | |
def generate(site) | |
print "Testing generator\n" | |
end | |
end | |
end |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SoAlgorithms | |
{ | |
class BinarySearch | |
{ |