This file contains hidden or 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
diff --git a/lib/albacore/cross_platform_cmd.rb b/lib/albacore/cross_platform_cmd.rb | |
index dd7f58c..acec3d0 100644 | |
--- a/lib/albacore/cross_platform_cmd.rb | |
+++ b/lib/albacore/cross_platform_cmd.rb | |
@@ -191,8 +191,8 @@ module Albacore | |
cmd = ::Rake::Win32.windows? ? 'where' : 'which' | |
parameters = [] | |
- parameters << Paths.normalise_slashes(file) if dir == '.' | |
- parameters << Paths.normalise_slashes("#{dir}:#{file}") unless dir == '.' |
This file contains hidden or 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 DFS | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class Control | |
{ | |
public Control(string id) | |
{ |
This file contains hidden or 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
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> | |
<asp:DropDownList ID="monthDropDown" runat="server"> | |
<asp:ListItem Value="1">Jan</asp:ListItem> | |
<asp:ListItem Value="2">Feb</asp:ListItem> | |
<asp:ListItem Value="3">Mar</asp:ListItem> | |
<asp:ListItem Value="4">Apr</asp:ListItem> | |
<asp:ListItem Value="5">May</asp:ListItem> | |
<asp:ListItem Value="6">Jun</asp:ListItem> | |
<asp:ListItem Value="7">Jul</asp:ListItem> | |
<asp:ListItem Value="8">Aug</asp:ListItem> |
This file contains hidden or 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
protected void btnRefresh_Click(object sender, EventArgs e) | |
{ | |
selectSource.SelectParameters["userName"].DefaultValue = User.Identity.Name; | |
results.DataBind(); | |
} |
This file contains hidden or 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
routes.Add(New CustomRoute("Issue{IssueNumber}-{PageNumber}", _ | |
New With { Key .IssueNumber = 1, Key .PageNumber = 1 }, _ | |
New With { Key .IssueNumber = "\d+", Key .PageNumber = "\d+" _ | |
})) |
This file contains hidden or 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
Imports System.Web | |
Imports System.Web.Routing | |
Public Class CustomRoute | |
Inherits Route | |
Public Sub New(url As String, defaults As Object, constraints As Object) | |
MyBase.New(url, New RouteValueDictionary(defaults), New RouteValueDictionary(constraints), New PageRouteHandler("~/Dummy.aspx")) | |
End Sub | |
Public Overrides Function GetRouteData(httpContext As HttpContextBase) As RouteData |