This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package javafxapplication1; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import javafx.animation.Transition; | |
import javafx.animation.TranslateTransition; | |
import javafx.beans.property.DoubleProperty; | |
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:syncfusionria="clr-namespace:Syncfusion.Windows.Controls.Grid.Ria;assembly=Syncfusion.Grid.Ria.Silverlight" | |
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Controls.Grid;assembly=Syncfusion.Grid.Silverlight" | |
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" | |
xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" | |
xmlns:web="clr-namespace:SilverlightSyncfusionGridTest.Web" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obj/ | |
Bin/ | |
Properties/ | |
Tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<script type="text/javascript" src="spLoadScripts.js"> | |
Readify.SiteUrl = "/sites/MySite"; | |
Readify.loadScriptsAsync( | |
"SiteAssets/pageStyle.css", | |
"SiteAssets/lodash.js" | |
); | |
</script> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WebApplication1 | |
{ | |
using Nancy; | |
public class HomeModule: NancyModule | |
{ | |
public HomeModule() | |
{ | |
Get["/"] = _ => "Goodbye from Nancy"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Data.SqlClient; | |
using DbUp; | |
using DbUp.Builder; | |
using DbUp.Engine.Output; | |
using Serilog; | |
namespace JJRichards.JTrack.Domestic.DCMSMasterMock.Migrations.Serilog | |
{ | |
internal static class DbUpExtensions | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomHostFactory : ServiceHostFactory | |
{ | |
protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) | |
{ | |
ServiceHost host = new ServiceHost(serviceType, baseAddresses); | |
// ... now can configure endpoints programmatically if required | |
return host; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="AfterBuild"> | |
<Message Text="@(Content)" Importance="high" Condition="%(Content.Extension) == '.sql'" /> | |
<Error Condition="%(Content.Extension) == '.sql'" Text="Nothing should be marked as Content, check your scripts are marked as Embedded Resource" /> | |
</Target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Notes = | |
| A = 0 | |
| ASharp = 1 | |
| B = 2 | |
| C = 3 | |
| CSharp = 4 | |
| D = 5 | |
| DSharp = 6 | |
| E = 7 | |
| F = 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* substitute links etc for ad campaigns */ | |
jQuery.ready(function() { | |
jQuery("a[href][rel=m_PageScroll2id]"). | |
each(function(index) { | |
this.attr("href", this.attr("href").replace("/#", "#")); | |
}); | |
jQuery("a[href]"). |
OlderNewer