Skip to content

Instantly share code, notes, and snippets.

Avatar

Pascal Berger pascalberger

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am pascalberger on github.
  • I am pberger (https://keybase.io/pberger) on keybase.
  • I have a public key ASDroHTw2jazELJBbTRkxGsygTc63ruCbsZzDO8f-SGIcAo

To claim this, I am signing this object:

@pascalberger
pascalberger / gist:3607bbb7c9dd94431f85a31b892fd3e0
Last active Jul 3, 2017
SQL Server Double.MaxValue default value issue
View gist:3607bbb7c9dd94431f85a31b892fd3e0
-- It is not possible to use .NET Double.MaxValue=1.7976931348623157E+308 as default value for a float field.
-- Error: The floating point value '1.797693134862316e+308' is out of the range of computer representation (8 bytes).
-- CREATE TABLE FloatDefaultReproduction (FieldInt integer, FieldFloat float DEFAULT (1.7976931348623157E+308));
-- Same error if max value representation as returned by SQL Server is used.
-- Error: The floating point value '1.79769313486232E+308' is out of the range of computer representation (8 bytes).
-- CREATE TABLE FloatDefaultReproduction (FieldInt integer, FieldFloat float DEFAULT (1.79769313486232E+308));
-- Workaround 1:
-- CREATE TABLE FloatDefaultReproduction (FieldInt integer, FieldFloat float DEFAULT ((CONVERT(float,'1.7976931348623157E+308'))));
View docfx-fenced-code-block-inside-list.md

Rendered as inline code block:

  • Foo
    foo
    Bar
    

Rendered as fenced code block:

View keybase.io
### Keybase proof
I hereby claim:
* I am pascalberger on github.
* I am pberger (https://keybase.io/pberger) on keybase.
* I have a public key whose fingerprint is 55E7 52F1 68F0 82F7 4AD2 FE08 692A 845B 7CA6 DA68
To claim this, I am signing this object:
View git config
core.symlinks=false
core.autocrlf=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
View lfs env
git-lfs/1.1.0 (GitHub; windows amd64; go 1.5.1; git 258acf1)
git version 2.7.4.windows.1
Endpoint=https://OAuth:Token@mytenant.visualstudio.com:443/DefaultCollection/_git/Test-Repo.git/info/lfs (auth=none)
LocalWorkingDir=D:\work\1\s
LocalGitDir=D:\work\1\s\.git
LocalGitStorageDir=D:\work\1\s\.git
LocalMediaDir=D:\work\1\s\.git\lfs\objects
TempDir=D:\work\1\s\.git\lfs\tmp
ConcurrentTransfers=3
View gist:4404c74124234a714226
2016-03-01T15:35:35.2261106Z Set workingFolder to default: D:\BuildAgent\tasks\GitVersion\3.4.1
2016-03-01T15:35:35.2886084Z Executing the powershell script: D:\BuildAgent\tasks\GitVersion\3.4.1\GitVersion.ps1
2016-03-01T15:35:35.7418061Z Current Directory: D:\BuildAgent\tasks\GitVersion\3.4.1
2016-03-01T15:35:35.7418061Z Sources Directory: d:\work\138\s
2016-03-01T15:35:35.7418061Z Check/Set GitVersion path
View gist:3e74ab6f52ba3ccf3663
2016-02-11T15:49:34.8693853Z Set workingFolder to default: D:\BuildAgent\tasks\GitVersion\3.4.1
2016-02-11T15:49:34.9162321Z Executing the powershell script: D:\BuildAgent\tasks\GitVersion\3.4.1\GitVersion.ps1
2016-02-11T15:49:35.3849885Z Current Directory: D:\BuildAgent\tasks\GitVersion\3.4.1
2016-02-11T15:49:35.4006414Z Sources Directory: d:\work\1ba5cac2\NuGetPackage.Addins.SharePoint.Authentication
2016-02-11T15:49:35.4006414Z Check/Set GitVersion path
View git checkout
2016-02-11T09:55:12.8316321Z Syncing repository: Extension.IntranetDisplayTemplates (Git)
2016-02-11T09:55:13.0657112Z Running 'git clean -fdx' on d:\work\46\s.
2016-02-11T09:55:13.5657118Z Removing .sonar/
2016-02-11T09:55:13.5657118Z Removing dist/
2016-02-11T09:55:13.5657118Z Removing node_modules/
View GitVersionLog
2016-02-11T09:39:37.9749018Z Set workingFolder to default: D:\BuildAgent\tasks\GitVersion\3.4.1
2016-02-11T09:39:38.0530377Z Executing the powershell script: D:\BuildAgent\tasks\GitVersion\3.4.1\GitVersion.ps1
2016-02-11T09:39:38.4436557Z Current Directory: D:\BuildAgent\tasks\GitVersion\3.4.1
2016-02-11T09:39:38.4436557Z Sources Directory: d:\work\46\s
2016-02-11T09:39:38.4436557Z Check/Set GitVersion path