These diffs were taken from the following two locations:
It shows what the expected diff would look like for a successful migration of a reasonably complex smart contract.
To see the diff view the diff of this gist.
These diffs were taken from the following two locations:
It shows what the expected diff would look like for a successful migration of a reasonably complex smart contract.
To see the diff view the diff of this gist.
Following https://mdavies.net/2014/11/27/migrating-wpjekyll/#migrate-from-wordpress you can convert your posts across to Jekyll format, but it adds superfluous metadata and also doesn't correctly handle Wordpress shorttags. This program helps with that.
Fair warning: it's deliberately dirty / hacky code. I ran it with the posts in a Git repo and inspected file-by-file tweaking as I went.
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; | |
| using TestStack.BDDfy; | |
| using TestStack.BDDfy.Configuration; | |
| namespace {SomeProject}.Tests.TestHelpers | |
| { |
All public gists in this account are Public Domain unless a separate license is included in the Gist.
| # If you want to give owner access to the whole server to a particular user account this is how | |
| exec sp_addrolemember 'db_owner', 'NT AUTHORITY\NETWORK SERVICE'; | |
| GO | |
| # If you want to idempotently ensure a particular database with name DatabaseName exists this is how | |
| IF NOT db_id('DatabaseName') IS NOT NULL BEGIN | |
| PRINT 'Creating database...' | |
| CREATE DATABASE [DatabaseName] | |
| PRINT 'Created database.' |
| function Install-AppInsights($instrumentationKey) { | |
| mkdir c:\tempappinsights -Force | |
| pushd c:\tempappinsights | |
| try { | |
| (New-Object Net.WebClient).DownloadFile('http://appinsightsstatusmonitor.blob.core.windows.net/statusmonitor/ApplicationInsights.ps1.zip',"c:\tempappinsights\ApplicationInsights.ps1.zip") | |
| Expand-ZipFile C:\tempappinsights\ApplicationInsights.ps1.zip c:\tempappinsights | |
| . C:\tempappinsights\ApplicationInsights.ps1 | |
| ApplicationInsightsConfig $instrumentationKey | |
| Start-DscConfiguration -Path C:\tempappinsights\ApplicationInsightsConfig -ComputerName localhost | |
| } finally { |
I hereby claim:
To claim this, I am signing this object:
| $(function() { | |
| $("form").each(function() { | |
| $(this).find("[data-val-requiredif]").each(function() { | |
| var $field = $(this); | |
| var comparisonValue = $field.data("val-requiredif-dependentvalue"); | |
| var operator = $field.data("val-requiredif-operator"); | |
| var passonnull = $field.data("val-requiredif-passonnull"); | |
| var dependentPropertyName = $field.data("val-requiredif-dependentproperty"); | |
| var dependentProperties = $("[name=" + dependentPropertyName + "]"); |