Skip to content

Instantly share code, notes, and snippets.

View agross's full-sized avatar
🔪
Sharpening the saw

Alexander Groß agross

🔪
Sharpening the saw
View GitHub Profile
// Quick hack!
internal static class DPRegistration
{
public static DependencyProperty Register<T>(Expression<Func<T, object>> member)
{
PropertyInfo property = GetProperty(member);
return DependencyProperty.Register(property.Name,
property.PropertyType,
jetbrains.buildServer.serverSide.ExecutionException: Unable to collect changes
jetbrains.buildServer.serverSide.ExecutionException: Unable to collect changes
at jetbrains.buildServer.serverSide.impl.BuildChangesCollector.collectChanges(BuildChangesCollector.java:11)
at jetbrains.buildServer.serverSide.impl.BuildStarter$1.run(BuildStarter.java:24)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
--- a/src/FubuMVC.Tests/Controller/DictionaryConverterTester.cs
+++ b/src/FubuMVC.Tests/Controller/DictionaryConverterTester.cs
@@ -147,6 +147,7 @@ namespace FubuMVC.Tests.Controller
[Test]
public void safe_create_and_populate_should_throw_meaningful_error_message_with_all_problems()
{
+ System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.InvariantCulture;
try
{
# When taking contributions, always make sure that the contributor's work allows for a "fast forward" merge.
# That is, their changes "start" at the current FubuMVC master branch (HEAD) and thus will not cause merge
# conflicts.
# If that is not the case, do not take the contribution and ask the contributor to "rebase" against the FubuMVC
# master, loading the merge work off to the contributor.
# Also, see here: http://gitcasts.com/posts/distributed-workflow (also see the second comment)
# Add a remote for my fork
git remote add agross git://github.com/agross/FubuMVC.git
using System;
using MbUnit.Framework;
namespace Rhino.Mocks.Tests.FieldsProblem
{
[TestFixture]
public class FieldProblem__Alex
{
[Test]
public void CanMockMethodWithEnvironmentPermissions()
Index: Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Alex.cs
===================================================================
--- Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Alex.cs (Revision 0)
+++ Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Alex.cs (Revision 0)
@@ -0,0 +1,43 @@
+using System;
+using MbUnit.Framework;
+
+namespace Rhino.Mocks.Tests.FieldsProblem
+{
using System.Collections.Generic;
using Indigo.Domain.Model.Employees;
using Indigo.Tools;
using NHibernate;
using NHibernate.Criterion;
using NHibernate.LambdaExtensions;
using Rhino.Commons;
using System;
using Castle.Core;
using Indigo.ApplicationLayer.Commands;
using Indigo.ApplicationLayer.Messages;
using Indigo.ApplicationLayer.Properties;
using Indigo.BackEnd;
using Indigo.Domain.Model.Employees;
using Indigo.Domain.Queries.Employees;
wget http://download.jetbrains.com/resharper/ReSharperSetup.4.5.1274.1.msi
--15:19:53-- http://download.jetbrains.com/resharper/ReSharperSetup.4.5.1274.1.msi
=> `ReSharperSetup.4.5.1274.1.msi'
Resolving download.jetbrains.com... 174.143.250.23
Connecting to download.jetbrains.com|174.143.250.23|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download-ln.jetbrains.com/resharper/ReSharperSetup.4.5.1274.1.msi [following]
--15:19:55-- http://download-ln.jetbrains.com/resharper/ReSharperSetup.4.5.1274.1.msi
=> `ReSharperSetup.4.5.1274.1.msi'
Resolving download-ln.jetbrains.com... 87.248.201.204, 87.248.201.227
diff --git a/src/Tarantino.Core/DatabaseManager/SqlFiles/DropConnections.sql b/src/Tarantino.Core/DatabaseManager/SqlFiles/DropConnections.sql
index 46c7f7f..96fd0e0 100644
--- a/src/Tarantino.Core/DatabaseManager/SqlFiles/DropConnections.sql
+++ b/src/Tarantino.Core/DatabaseManager/SqlFiles/DropConnections.sql
@@ -15,6 +15,7 @@ SELECT
spid
FROM Master.dbo.SYSPROCESSES
WHERE dbid IN (SELECT dbid FROM Master.dbo.SYSDATABASES WHERE name = '||DatabaseName||')
+ AND hostprocess <> ''
AND spid <> @@SPID