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
[Test] | |
public void UsersWithListContains_MutatingListDoesNotBreakOtherSessions() | |
{ | |
using (var firstSession = OpenSession ()) { | |
var names = new List<string> { "ayende", "rahien" }; | |
var query = (from user in firstSession.Query<User> () | |
where names.Contains(user.Name) | |
select user).ToList(); |
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
<script src="/scripts/require.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
requirejs.config({ | |
paths: { | |
'jquery': 'jquery-1.9.1.min', | |
'jquery.mobile': 'jquery.mobile-1.3.0.min' | |
}, | |
shim: { | |
'jquery.mobile': ['jquery', 'jquery.mobile-config'] | |
} |
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
Imports System | |
Imports EnvDTE | |
Imports EnvDTE80 | |
Imports EnvDTE90 | |
Imports EnvDTE90a | |
Imports EnvDTE100 | |
Imports System.Diagnostics | |
Public Module Module1 | |
Sub UseTabs() |
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
-- This behavior is correct, just surprising if you havn't designed your trigger correctly. | |
-- Standard cause is designing a trigger that expects exactly 1 row and only 1 row to be changed | |
-- and doesn't account for if no rows are updated, or more than 1 row is updated. | |
create table foo (id int primary key, value nvarchar(255)); | |
go | |
create trigger t_foo_update on foo for update as | |
set nocount on |
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
void Main() | |
{ | |
var stream = new StringReader("<begin><test>1</test> <test>2</test> <test>"); | |
var reader = XmlReader.Create(stream); | |
// find the root element | |
MoveToNextElement(reader); | |
// find the first content element | |
MoveToNextElement(reader); |
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
<html> | |
<head> | |
<title></title> | |
<meta http-equiv="X-UA-Compatible" content="IE=8"> | |
</head> | |
<body> | |
<h1>Test</h1> | |
<pre id="testout"></pre> |
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
(gi SOURCE).Property | ?{$_ -like "Colour*"} | %{cpp SOURCE TARGET -Name $_} |
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
D:. | |
\---Pyrus-2.0.0a4 | |
+---.xmlregistry | |
| \---packages | |
| \---pyrus.net | |
| \---Pyrus | |
+---data | |
| +---pear2.php.net | |
| | \---PEAR2_Console_CommandLine | |
| \---pyrus.net |
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
SELECT | |
os.orders_status_id, | |
os.date_added, | |
os.customer_notified, | |
os.comments, | |
o.customers_id, | |
o.customers_email_address, | |
o.orders_status, | |
o.date_purchased, | |
c.customers_id, |
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
/* | |
* FullCalendar v1.5.1 Stylesheet | |
* | |
* Copyright (c) 2011 Adam Shaw | |
* Dual licensed under the MIT and GPL licenses, located in | |
* MIT-LICENSE.txt and GPL-LICENSE.txt respectively. | |
* | |
* Date: Sat Apr 9 14:09:51 2011 -0700 | |
* | |
*/ |