Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
IronRuby - A brave new world for .Net (NDC2010)
1. IronRuby – A brave new world! Meerkatalyst @Ben_HallBen@BenHall.me.ukBlog.BenHall.me.ukCodeBetter.com/blogs/BenHall
2. London (UK) based C# MVPWeb Developer @ 7digital.com Working on a number of Open Source Projects Co-Author of Testing ASP.net Web Applications http://www.testingaspnet.com
3. Today... Intro to Ruby IronRuby Taking advantage with existing frameworks 7digital, scripting, DSLs and the real world Embedding IronRuby into C#
4. Tomorrow... Testing C# and ASP.net Applications using Ruby Track 6 (Here) 13:40 Lunch-time Ruby meet-up
5. Why are we here? http://www.flickr.com/photos/wwworks/2222523486/sizes/l/
21. kill ‘ps aux | grepmongrel_rails | grep -v grep | cut -c 10-20’ Rush.processes.filter(:cmdline => /mongrel_rails/).kill Created using Rush Bash Ruby
22. Created using Rudy defaults do color true environment :test role :windows zone :'eu-west-1b' bucket 'rudy-ami-eu' end machines do region :'us-east-1' do ami 'ami-de4daab7' # Amazon Windows Server 2003 (US) size 'm1.small' end region :'eu-west-1' do ami 'ami-8696bef2' # Rudy Windows 2009-08-24 (EU) end end
23. @hourly cd C:/temp/ && script/runner -e production "SomeModel.ladeeda" >> C:/temp/cron_log.log 2>&10 0,3,6,9,12,15,18,21 * * * cd C:/temp/ && script/runner -e production "MyModel.some_process" >> C:/temp/cron_log.log 2>&10 0,3,6,9,12,15,18,21 * * * cd C:/temp/ && RAILS_ENV=production /usr/bin/env rake my:rake:task >> C:/temp/cron_log.log 2>&10 0,3,6,9,12,15,18,21 * * * /usr/bin/my_great_command >> C:/temp/cron_log.log 2>&130 4 * * * cd C:/temp/ && script/runner -e production "MyModel.task_to_run_at_four_thirty_in_the_morning" >> C:/temp/cron_log.log 2>&10 12 * * 0 cd C:/temp/ && script/runner -e production "Task.do_something_great" >> C:/temp/cron_log.log 2>&1 Corn jobask
24. set :path, 'C:/temp/‘set :output, "C:/temp/cron_log.log"every 3.hours do runner "MyModel.some_process" rake "my:rake:task" command "/usr/bin/my_great_command“endevery 1.day, :at => '4:30 am' do runner "MyModel.task_to_run_at_four_thirty_in_the_morning“endevery :hour do runner "SomeModel.ladeeda“endevery :sunday, :at => '12pm' do runner "Task.do_something_great“end Created using Whenever
25. http://albacorebuild.net/ Created using Albacore desc "Run a sample build using the MSBuildTask" msbuild do |msb| msb.properties :configuration => :Debug msb.targets :Clean, :Build msb.solution = "spec/support/TestSolution/TestSolution.sln" enddesc "NUnit Test Runner Example" nunit do |nunit|nunit.path_to_command = "NUnit/nunit-console.exe" nunit.assemblies "assemblies/TestSolution.Tests.dll" end
26. desc "Create Website" create_site :create => :delete do |w| w.name = 'Meerpush_Website' w.home = 'C:netpubwwroot' end desc "Start Website" start_site :start do |w| w.name = 'Meerpush_Website' end http://www.github.com/benhall/meerpush Created using Meerpush