CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Virtual
XML
NameVirtualHost www.domain.local
<VirtualHost www.domain.local>
    DocumentRoot "C:\Documents and Settings\Aria Radmand\"
    ServerName www.domain.local
</VirtualHost>
<Directory "C:\Documents and Settings\Aria Radmand\">
    DirectoryIndex index.php
    AllowOverride All
    Order allow,deny
    Allow from all
by Aria Radmand   October 18, 2011 @ 12:19am
64 Views
no comments
 
C#
private IEnumerable<MemberInfo> GetImportMembers(Type type)
        {
            var local = new HashSet<string>();
            if (type.IsAbstract)
            {
                yield break;
            }
 
            foreach (var member in GetDeclaredOnlyImportMembers(type))
            {
309 Views
no comments
 
C#
namespace Entity
{
public interface IBase
{
    string Name { get; }    
}
 
[Export("Base2", typeof(IBase))]
[PartCreationPolicy(CreationPolicy.NonShared)]
public class Base2 : IBase
by codding4fun   June 08, 2010 @ 1:55am
368 Views
no comments
 
C#
//this is the MEF Team Code
namespace System.ComponentModel.Composition.AttributedModel
{
    internal class AttributedPartCreationInfo : IReflectionPartCreationInfo
    {
private IEnumerable<MemberInfo> GetImportMembers(Type type)
{
    if (type.IsAbstract)
    {
        yield break;
by codding4fun   June 08, 2010 @ 1:32am
314 Views
no comments
 
C#
 
by codding4fun   June 08, 2010 @ 1:27am
239 Views
no comments
 
C#
using System;
 
namespace SharpVM
{
    /// <summary>
    /// http://pastebin.com/f22e2c91
    /// 
    /// A little playground for VM and JIT testing.  The basic idea is to have an instruction set that is
    /// EXTREMELY EASY to decode: we prefer more instructions versus complex decoding logic.  For example, 
    /// most opcodes have a W version that lets the last argument (usually a word) take up an entire
by Fred Rosenbaum   January 05, 2010 @ 8:41am
220 Views
no comments
 
************************************************************************
* wwProcess :: GetUrlBasePath
****************************************
***  Function: Method responsible for establishing the base path
***            for this application. 
***    Assume:
***      Pass:
***    Return:
************************************************************************
FUNCTION GetUrlBasePath()
by Rick Strahl   December 16, 2009 @ 2:43pm
404 Views
no comments
 
*-- CLASS IasWebServer
 
*--  Some test code, demonstrating how the class works
*--  Make sure that webserver.vcx can be found by this program
*--  Also make sure that wwipstuff.dll can be found by this program
 
CLEAR
o = CREATEOBJECT("IasWebServer")
 
*-- Ask for the physical path of the virtual root for the default website:
by Phil Connolly   December 16, 2009 @ 11:22am
346 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate