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.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Machine.Specifications.FailingExample | |
{ | |
[Concern("Scott Bellware")] | |
public class at_any_given_moment | |
{ |
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
# build_tools.rb | |
@nant = ".\\tools\nant-0.86\nant.exe" | |
def nant(build_file = 'default.build', *tasks) | |
tasks_to_run = tasks.map {|t| t.to_s}.join(', ') | |
sh "#{@nant} -f:#{build_file} #{tasks_to_run}" | |
end |
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
require 'rake' | |
require 'build_tools' | |
task :default => :build | |
task :build => [:assembly_info, :compile, :create_db] | |
task :compile do | |
nant :compile | |
end |
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
# rakefile.rb with new 'compile' task... | |
require 'build_tools' | |
task :compile do | |
msbuild :my_sln | |
end | |
# build_tools.rb | |
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
# rakefile.rb with new 'compile' task... | |
require 'build_tools' | |
task :compile do | |
msbuild :my_sln | |
end | |
# build_tools.rb | |
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
cat script.txt | say -v "Good News" |
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
require.paths.unshift './vendor' | |
app = require('express').createServer() | |
app.get '/', (request, response) -> | |
response.send 'hello world' | |
app.listen 3000 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style> | |
body { background-color: #000; background-image: url(http://www.equalizergraphics.com/images/anaglyph.png)} |
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
while (true) { alert('DAN LASH!'); } |
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
on '5/1/2007' do | |
as member.find('administrator') | |
@local_developer_group = insert :member_label do | |
name "Local Developers" # method missing | |
end | |
@local_developer_group = insert :member_label do | |
name "Java Developers" |
OlderNewer