This is an example for the blog post 'KnockoutJS for XAML Developers' - http://www.rahulpnath.com/blog/knockoutjs-for-xaml-developers/
A Pen by Rahul P Nath on CodePen.
This is an example for the blog post 'KnockoutJS for XAML Developers' - http://www.rahulpnath.com/blog/knockoutjs-for-xaml-developers/
A Pen by Rahul P Nath on CodePen.
This is an example for the blog post 'KnockoutJS for XAML Developers' - http://www.rahulpnath.com/blog/knockoutjs-for-xaml-developers/
A Pen by Rahul P Nath on CodePen.
This is an example for the blog post 'KnockoutJS for XAML Developers' - http://www.rahulpnath.com/blog/knockoutjs-for-xaml-developers/
A Pen by Rahul P Nath on CodePen.
# This powershell script helps remove all NuGet configurations and files that got added while enabling NuGet Restore. | |
# More details @ http://rahulpnath.com/blog/disable-nuget-package-restore-for-a-net-poject/ | |
param([Parameter(Mandatory=$true)][string]$solutionDirectory) | |
$importNugetTargetsTag= [regex]::escape(@' | |
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> | |
'@) | |
$restorePackagesTag = '<RestorePackages>.*?</RestorePackages>' | |
$nuGetPackageImportStamp = '<NuGetPackageImportStamp>.*?</NuGetPackageImportStamp>' |
void Main() | |
{ | |
//DECLARE @binaryContent VARBINARY(MAX) | |
//SELECT @binaryContent = Model FROM[__MigrationHistory] where MigrationId = '' | |
//SELECT CAST('' AS XML).value('xs:base64Binary(sql:variable(''@binaryContent''))', 'varchar(max)') AS base64Content | |
var modelBase64 = "<base64Content>"; | |
var bytes = Convert.FromBase64String(modelBase64); | |
var uncompressed = Decompress(bytes); | |
var edmx = Encoding.UTF8.GetString(uncompressed); |
#I @"C:\Program Files\Microsoft SQL Server\140\SDK\Assemblies\";; | |
#I @"C:\Program Files (x86)\Microsoft SQL Server\140\SDK\Assemblies";; | |
#r "Microsoft.SqlServer.Smo.dll";; | |
#r "Microsoft.SqlServer.ConnectionInfo.dll";; | |
#r "Microsoft.SqlServer.Management.Sdk.Sfc.dll";; | |
open System.IO | |
open Microsoft.SqlServer.Management.Smo |
function Get-GitStatus { & git status -sb $args } | |
New-Alias -Name s -Value Get-GitStatus -Force -Option AllScope | |
function Get-GitCommit { & git commit -ev $args } | |
New-Alias -Name c -Value Get-GitCommit -Force -Option AllScope | |
function Get-GitAdd { & git add --all $args } | |
New-Alias -Name ga -Value Get-GitAdd -Force -Option AllScope | |
function Get-GitTree { & git log --graph --oneline --decorate $args } |
$aliasFilePath = "<Alias file path>" | |
function New-CommandAlias { | |
param( | |
[parameter(Mandatory=$true)]$CommandName, | |
[parameter(Mandatory=$true)]$Command, | |
[parameter(Mandatory=$true)]$CommandAlias | |
) | |
$functionFormat = "function $commandName { & $command $args } |
import * as React from "react"; | |
import { render } from "react-dom"; | |
const styles = { | |
margin: "10px" | |
}; | |
export type PaymentOption = FullPaymentOption | PartPaymentOption; | |
export interface FullPaymentOption { | |
type: "full"; |
Make sure to set maz-http-header-size like below since the AD token size is large
set NODE_OPTIONS=--max-http-header-size=120000&& npx cypress open
References: