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
| Alias /wordpress/wp-content /var/lib/wordpress/wp-content/ | |
| Alias /wordpress /usr/share/wordpress/ | |
| <Directory "/usr/share/wordpress"> | |
| Options FollowSymLinks MultiViews | |
| </Directory> | |
| <Directory "/var/lib/wordpress"> | |
| Options Includes FollowSymLinks MultiViews |
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
| /// <reference path="../Scripts/typings/jquery/jquery.d.ts" /> | |
| $('a').click(function () { | |
| alert('clicked'); | |
| }); |
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
| class Foo { | |
| static baseTime: Date; | |
| private static Ctor = (() => | |
| { | |
| Foo.baseTime = new Date(); | |
| Foo.baseTime.setMilliseconds(0); | |
| return null; | |
| })(); | |
| } |
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
| class Foo { | |
| static baseTime: Date; | |
| static constructor() { | |
| Foo.baseTime = new Date(); | |
| Foo.baseTime.setMilliseconds(0); | |
| } | |
| } |
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
| #!/bin/bash | |
| # | |
| # git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
| # modified by mike@mikepearce.net | |
| # modified by aconway@[redacted] - handle diffs that introduce new files | |
| # | |
| # Generate an SVN-compatible diff against the tip of the tracking branch | |
| # Get the tracking branch (if we're on a branch) | |
| TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'` |
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
| --@max_other_orders is a parameter to stored proc | |
| select top (@max_other_orders) | |
| OH.SalesOrderID, | |
| OH.CustomerId, | |
| OH.SalesOrderNumber, | |
| OH.Status, | |
| count(*) over(partition by OH.CustomerId) as OtherOrdersCount | |
| from Sales.SalesOrderHeader OH | |
| where | |
| OH.CustomerID = @customer_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
| void FillOtherOrdersSection(int maxOtherOrders) { | |
| GetOtherOrders(maxOtherOrders); //Calls stored procedure to fill _otherOrders | |
| foreach (var otherOrder in _otherOrders) { | |
| if (string.IsNullOrEmpty(otherOrder.Status)) { | |
| status = ""; | |
| } else { | |
| status = " - " + otherOrder.Status; | |
| } | |
| MakeOrderLink(otherOrder); | |
| } |
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
| void FillOtherOrdersSection() { | |
| GetOtherOrders(); //Calls stored procedure to fill _otherOrders | |
| foreach (var otherOrder in _otherOrders) { | |
| if (string.IsNullOrEmpty(otherOrder.Status)) { | |
| status = ""; | |
| } else { | |
| status = " - " + otherOrder.Status; | |
| } | |
| MakeOrderLink(otherOrder); | |
| } |
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
| select top 3 | |
| OH.SalesOrderID, | |
| OH.CustomerId, | |
| OH.SalesOrderNumber, | |
| OH.Status | |
| from Sales.SalesOrderHeader OH | |
| where | |
| OH.CustomerID = @customer_id | |
| and OH.SalesOrderID <> @current_sales_id | |
| order by OH.OrderDate |
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
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.Diagnostics; | |
| using OpenQA.Selenium; | |
| using OpenQA.Selenium.Support.PageObjects; | |
| using OpenQA.Selenium.Support.UI; | |
| using Selenium.ExtJs.Support.Locators; |