I hereby claim:
- I am jsm85 on github.
- I am jsm85 (https://keybase.io/jsm85) on keybase.
- I have a public key ASACm5w3kliuGVE11JrA6on15ilUGaNlxVY4qbur0Nrg5Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
select distinct | |
ROW_NUMBER() over (Order by s.name, t.name) as Id, | |
s.name as SchemaName, | |
t.name as TableName, | |
c.name as ColumnName, | |
typ.name as DataType, | |
case c.precision | |
when 0 then 'Max' | |
else cast(c.precision as nvarchar(75)) | |
end as DataTypeValue, |
select | |
sd.dbid as DatabaseID, | |
sd.[name] as DatabaseName, | |
sd.crdate as CreationDate, | |
saf.[name] as DatabaseFile, | |
saf.[filename] as DatabaseFileLocation, | |
(saf.[size] * 8 / 1024) as [Size], | |
'USE MASTER BACKUP LOG ' + sd.[name] + ' WITH TRUNCATE_ONLY | |
GO USE ' + sd.[name] + ' DBCC SHRINKFILE(' + saf.[name] + ',100) | |
GO' as TruncateLog_Sql2008, |
declare @tableName nvarchar(75) | |
Select @tableName = '' | |
select | |
'public ' + | |
case c.system_type_id | |
when 127 then 'Int64' | |
when 108 then 'decimal' | |
when 56 then 'int' | |
when 52 then 'int' |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
cinst fiddler4 | |
cinst git-credential-winstore | |
cinst console-devel | |
cinst sublimetext2 | |
cinst poshgit | |
cinst dotpeek |
class FooType | |
def *(other) | |
6 | |
end | |
end | |
testing = DuckTyping.new | |
testing.ThisShouldInTheoryTakeInANumber FooType.new |
testing = DuckTyping.new | |
testing.ThisShouldInTheoryTakeInANumber "4" |
testing = DuckTyping.new | |
testing.ThisShouldInTheoryTakeInANumber 4 |
class DuckTyping | |
def ThisShouldInTheoryTakeInANumber (number) | |
puts "BEFORE ===> number is of type: " + number.class.to_s | |
number = number * 2 | |
puts number | |
puts "AFTER ===> number is of type: " + number.class.to_s | |
end | |
end |