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
[11:40:21][Execute xbuild] Bad call to mono_mutex_lock result 22 | |
[11:40:21][Execute xbuild] * Assertion at mini-generic-sharing.c:1318, condition `ret == 0' not met | |
[11:40:21][Execute xbuild] Stacktrace: | |
[11:40:21][Execute xbuild] at <unknown> <0xffffffff> | |
[11:40:21][Execute xbuild] at System.Linq.Expressions.Expression`1.Create (System.Linq.Expressions.Expression,string,bool,System.Collections.ObjectModel.ReadOnlyCollection`1<System.Linq.Expressions.ParameterExpression>) <0x00027> | |
[11:40:21][Execute xbuild] at System.Linq.Expressions.Expression.CreateLambda (System.Type,System.Linq.Expressions.Expression,string,bool,System.Collections.ObjectModel.ReadOnlyCollection`1<System.Linq.Expressions.ParameterExpression>) <0x0023e> | |
[11:40:21][Execute xbuild] at System.Linq.Expressions.Expression.Lambda (System.Linq.Expressions.Expression,string,bool,System.Collections.Generic.IEnumerable`1<System.Linq.Expressions.ParameterExpression>) <0x0021b> | |
[11:40:21][Execute xbuild] at S |
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
inline fun Int.divides(d: Int) : Boolean { return this % d == 0 } | |
fun main(args: Array<String>) : Unit { | |
var i = 0 | |
iterate { i++ } take 100 forEach { | |
println( | |
when (true) { | |
it.divides(15) -> "fizzbuzz" | |
it.divides(3) -> "fizz" |
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
ERROR: System.NotImplementedException: The requested feature is not implemented. | |
at Microsoft.Build.Evaluation.ProjectCollection.GetLoadedProjects (System.String fullPath) [0x00000] in <filename unknown>:0 | |
at NuGet.Common.MSBuildProjectSystem.GetProject (System.String projectFile) [0x00000] in <filename unknown>:0 | |
at NuGet.Common.MSBuildProjectSystem..ctor (System.String projectFile) [0x00000] in <filename unknown>:0 | |
at ripple.Nuget.NugetService.buildProjectManager (ripple.Local.Project project) [0x00000] in <filename unknown>:0 | |
at ripple.Nuget.NugetService.Update (ripple.Local.Project project, IEnumerable`1 dependencies) [0x00000] in <filename unknown>:0 | |
at FubuCore.Util.Cache`2[ripple.Local.Project,System.Collections.Generic.IList`1[ripple.Local.NugetDependency]].Each (System.Action`2 action) [0x00000] in <filename unknown>:0 | |
at ripple.Commands.NugetUpdatePlan.Apply (INugetService service) [0x00000] in <filename unknown>:0 | |
at ripple.Commands.UpdateCommand.updateSolution (ripple.Comman |
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
annotation class UriTemplate(uri : String) | |
open class Get(properties : TGet) { | |
{ | |
println(properties.javaClass.getAnnotation(javaClass<UriTemplate>())) | |
} | |
} | |
open class Post() { | |
} |
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
[2013-02-05 13:33:15,584] WARN [on=editVcsRoot ] - jetbrains.buildServer.VCS - Error occurred in test connection | |
jetbrains.buildServer.vcs.VcsException: List remote refs failed: java.net.ConnectException: Connection time out: github.com | |
at jetbrains.buildServer.buildTriggers.vcs.git.OperationContext.wrapException(OperationContext.java:134) | |
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getRemoteRefs(GitVcsSupport.java:497) | |
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.getCurrentState(GitVcsSupport.java:128) | |
at jetbrains.buildServer.buildTriggers.vcs.git.TestConnectionCommand.checkFetchConnection(TestConnectionCommand.java:100) | |
at jetbrains.buildServer.buildTriggers.vcs.git.TestConnectionCommand.testConnection(TestConnectionCommand.java:68) | |
at jetbrains.buildServer.buildTriggers.vcs.git.GitVcsSupport.testConnection(GitVcsSupport.java:412) | |
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:171) | |
at jetbrains.b |
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
var writer = new StreamWriter(File.Create("c:\\temp\\debug3.txt")); | |
codeProvider.GenerateCodeFromCompileUnit(razorResult.GeneratedCode, writer, new System.CodeDom.Compiler.CodeGeneratorOptions()); | |
writer.Flush(); | |
writer.WriteLine(); | |
writer.Close(); |
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
Simple.Web.Razor.RazorCompilerException | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(38,7) : error CS1026: ) expected | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(38,7) : error CS1525: Invalid expression term ',' | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(38,12) : error CS1002: ; expected | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(38,12) : error CS1525: Invalid expression term '=>' | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(38,15) : error CS1002: ; expected | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(42,2) : error CS1525: Invalid expression term ')' | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(46,7) : error CS1026: ) expected | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(46,7) : error CS1525: Invalid expression term ',' | |
c:\Users\ian\AppData\Local\Temp\bfesxmbj.0.cs(46,12) : error CS1002: ; expected |
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
#!/bin/bash | |
# THESE ARE NOTES, NOT TESTED AS SCRIPT! | |
# We need the following to get and run teamcity agent | |
sudo apt-get install openjdk-7-jre-headless | |
sudo apt-get install unzip #For unzipping buildAgent.zip | |
# For compiling Simple.Web | |
sudo apt-get install ruby1.9.1 |
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
$vmm = Get-SCVMMServer -ComputerName "my-vmm-host" | |
$ls = Get-SCLibraryServer -ComputerName "my-vmm-host" | |
Import-SCVirtualMachine -ImportVMPath "c:\temp\myovf.ovf" -LibraryServerObject $ls -VMMServerObject $vmm -LibrarySharePath "\\my-vmm-host\MSSCVMMLibrary\Import\" -VHDSourcePath "C:\Virtual Machines\BlankVHD.vhd" -VMName "MY-VM" | |
Import-SCVirtualMachine : Method not found: 'Int32 Microsoft.VirtualManager.Utils.MonitorResolutionLimits.GetMonitorResolutionIndex(Int32, System.String)'. | |
At line:1 char:1 | |
+ Import-SCVirtualMachine -ImportVMPath | |
"C:\Temp\GitHubEnterprise\ReExport\github- ... | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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
// In an old skool way we might have considered simple polymorphic inheritance to | |
// demonstrate OCP, like so.. | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace SOLID_is_a_guideline.OCP.IansSimpleWithVersion | |
{ | |
public inteface IBasket | |
{ |