Web site security helper
1. Google security web, replace site part and we will get everything. http://www.google.com/safebrowsing/diagnostic?site=http://malware.testing.google.test/testing/malware/
2. Google webmaster console or msn web master console.
3. Blacklistdoctor-still in beta version.
Revalation
AST abstract syntax tree is the parse tree. Sucks, i have been mixing them together.
Declarative vs Procedural Programming
Procedural programming requires that the programmer tell the computer what to do. That is, how to get the output for the range of required inputs. The programmer must know an appropriate algorithm.
Declarative programming requires a more descriptive style. The programmer must know what relationships hold between various entities.
Hello World WPF with IfElse
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Workflow.Runtime;
using System.Workflow.Runtime.Hosting;
namespace MyHelloWorld2
{
class Program
{
static void Main(string[] args)
{
using(WorkflowRuntime workflowRuntime = new WorkflowRuntime())
{
AutoResetEvent waitHandle = new AutoResetEvent(false);
string message = string.Empty;
Dictionary<String, Object> inParams = new Dictionary<string, Object>();
//inParams.Add(“FirstName”, “Todd”);
workflowRuntime.WorkflowCompleted += delegate(object sender, WorkflowCompletedEventArgs e)
{
message = (string)e.OutputParameters["Message"];
waitHandle.Set();
};
workflowRuntime.WorkflowTerminated += delegate(object sender, WorkflowTerminatedEventArgs e)
{
Console.WriteLine(e.Exception.Message);
waitHandle.Set();
};
WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(MyHelloWorld2.Workflow1), inParams);
instance.Start();
waitHandle.WaitOne();
Console.WriteLine(message);
}
}
}
}
-
Recent
-
Links
-
Archives
- August 2009 (1)
- July 2009 (2)
- April 2009 (4)
- March 2009 (6)
- February 2009 (5)
- January 2009 (4)
- December 2008 (3)
- November 2008 (35)
- October 2008 (20)
-
Categories
-
RSS
Entries RSS
Comments RSS