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
def tick args | |
args.outputs.labels << [640, 360, "Hello World.", 0, 1] | |
end |
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
desc 'creates an initial dev.yml file for, this file is needed if you want to run an asp.net mvc app using IISExpress' | |
task :init_dev_yml do | |
File.open("dev.yml", 'w') { |f| f.write("database: (local)\\sqlexpress\niisexpress: C:\\Program Files (x86)\\IIS Express") } | |
end | |
task :server do | |
if dev_yml_exists | |
start_iis_express_with_config "applicationHost.config" | |
else | |
puts "it doesn't look like dev.yml exists on this machine. You need to have this file to run your mvc app in IIS Express, run the dev:init_dev_yml rake task to create the dev.yml. After the file is created, you'll want to inspect the file and change the default values." |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Ant sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Copyright (c) Rich Hickey. All rights reserved. | |
; The use and distribution terms for this software are covered by the | |
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php) | |
; which can be found in the file CPL.TXT at the root of this distribution. | |
; By using this software in any fashion, you are agreeing to be bound by | |
; the terms of this license. | |
; You must not remove this notice, or any other, from this software. | |
;dimensions of square world |
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
using System; | |
using NUnit.Framework; | |
using NSpec.Domain; | |
using System.Reflection; | |
using NSpec; | |
namespace DynamicBlog.Tests | |
{ | |
[TestFixture] | |
public class DebuggerShim |