I hereby claim:
- I am lennybacon on github.
- I am lennybacon (https://keybase.io/lennybacon) on keybase.
- I have a public key ASA16UO09lZtVNlUgJ6ZBwhCPv0a9WnCypehkdhNFdyFmAo
To claim this, I am signing this object:
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project ToolsVersion="15.0" DefaultTargets="GetCredentials" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <UsingTask | |
| TaskName="CredentialManager" | |
| TaskFactory="CodeTaskFactory" | |
| AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll" > | |
| <ParameterGroup> | |
| <Target ParameterType="System.String" Required="true" /> | |
| <UserName ParameterType="System.String" Output="true" /> | |
| <Password ParameterType="System.String" Output="true" /> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project ToolsVersion="15.0" DefaultTargets="TellIfBranchIsPullRequest" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <BUILD_SOURCEBRANCH>refs/pull/1/merge</BUILD_SOURCEBRANCH> | |
| <IsPullRequest Condition="$(BUILD_SOURCEBRANCH.IndexOf(`/pull/`)) != -1">true</IsPullRequest> | |
| <IsPullRequest Condition="$(BUILD_SOURCEBRANCH.IndexOf(`/pull/`)) == -1">false</IsPullRequest> | |
| </PropertyGroup> | |
| <Target Name="TellIfBranchIsPullRequest"> |
I hereby claim:
To claim this, I am signing this object:
| <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <NugetFixUpTaskPaths>$([System.IO.Directory]::GetFiles("$(UserProfile)\.nuget\packages\nugetfixuptasks", "*.targets", SearchOption.AllDirectories))</NugetFixUpTaskPaths> | |
| <LatestNugetFixUpTaskImport>$(NugetFixUpTaskPaths.Remove(0, $([MSBuild]::Add( $(NugetFixUpTaskPaths.LastIndexOf(";")), 1 )) ))</LatestNugetFixUpTaskImport> | |
| </PropertyGroup> | |
| <Import Project="$(LatestNugetFixUpTaskImport)" /> | |
| <Target Name="Build"> | |
| <Message Text="LatestNugetFixUpTaskImport: $(LatestNugetFixUpTaskImport)" /> | |
| </Target> | |
| </Project> |
| function Get-LatestMsBuild{ | |
| $msbuild = Get-ChildItem -Path "C:\Program Files (x86)\Microsoft Visual Studio" | | |
| ? { !$PsIsContainer -and $_.Name.StartsWith("20") } | | |
| % { @([System.IO.Path]::Combine($_.FullName, "Enterprise", "MsBuild"), [System.IO.Path]::Combine($_.FullName, "Professional", "MsBuild"), [System.IO.Path]::Combine($_.FullName, "Community", "MsBuild"))} | | |
| ? { (Test-Path -Path $_) } | | |
| % { Get-ChildItem -Path $_ | ? { !$PsIsContainer -and $_.Name.StartsWith("1") } | Select-Object -Expand FullName } | | |
| % { Get-ChildItem -Path $_ -Recurse | ? { !$PsIsContainer -and $_.FullName.EndsWith("amd64\msbuild.exe", "OrdinalIgnoreCase") } } | | |
| Select-Object -First 1 | |
| if($msbuild -ne $null){ |
| Get-Content -Path <Path> -Wait -Tail 10 | |
| # Print whole file and wait for appended lines and print them | |
| cat <Path> -Wait | |
| # Print last 10 lines and wait for appended lines and print them | |
| cat <Path> -Tail 10 -Wait |
| $setupPath = [System.IO.Path]::Combine($installLocation, "SQL2016", "SSMS-Setup-ENU.exe"); | |
| $argumentList = ` | |
| "/install " +` | |
| "/quiet " +` | |
| "/norestart" | |
| $process = Start-Process $setupPath -ArgumentList $argumentList -PassThru -NoNewWindow -Wait -RedirectStandardOutput $pwd\ssms_stdout.txt -RedirectStandardError $pwd\ssms_stderr.txt |
| $serviceAccount = ""; | |
| $serviceAccountPassword = ""; | |
| $key = ""; | |
| $instanceName = "MSSQLSERVER"; | |
| $sqlRootDir = ""; | |
| $setupPath = [System.IO.Path]::Combine($installLocation, "SQL2016", "Setup.exe"); | |
| $argumentList = ` | |
| "/Q " +` | |
| "/ACTION=`"Install`" " +` |
| class TimeTest { | |
| constructor(name) { | |
| this.name = name; | |
| } | |
| start() { | |
| var x = new Date('2016-01-29T14:00:00'); | |
| return "Project " + this.name + ": " + x.getTime(); | |
| } | |
| } |
| cmd /c mklink /D M:\Library F:\Music\ |