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 Template
/*MENU*/
This is menu:
<ul>
<li><a href="#">aaa</a></li>
<li><a href="#">bbb</a></li>
<li><a href="#">ccc</a></li>
</ul>
 
/*MAIN_PAGE*/
<html>
by rgb   December 29, 2011 @ 3:55am
29 Views
no comments
 
C++
#include "for_each.h"
#include <iostream>
#include <tuple>
 
// ------- Fibonacii number generator ---------
template<int N>
struct Fib
{
    enum { value = Fib<N-1>::value + Fib<N-2>::value };
};
by sigidagi   June 18, 2011 @ 2:27am
117 Views
no comments
 
C++
#include "for_each.h"
#include <iostream>
#include <string>
#include <tuple>
 
using namespace std;
 
struct Functor 
{
    template<typename T>
by sigidagi   June 17, 2011 @ 1:12pm
95 Views
1 comments
 
C++
// =====================================================================================
// 
//       Filename:  for_each.h
// 
// =====================================================================================
 
 
#ifndef  FOR_EACH_INC
#define  FOR_EACH_INC
by sigidagi   June 17, 2011 @ 12:31pm
111 Views
1 comments
 
C++
// =====================================================================================
// 
//       Filename:  indexes.h
//
// =====================================================================================
 
 
#ifndef  INDEXES_INC
#define  INDEXES_INC
by sigidagi   June 17, 2011 @ 12:08pm
116 Views
2 comments
 
C#
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using FizzWare.NBuilder;
using Microsoft.VisualStudio.TestTools.UnitTesting;
 
namespace Tests.Reporting
{
    [TestClass]
    public class DynamicXmlFormatting
128 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using FizzWare.NBuilder;
using Microsoft.VisualStudio.TestTools.UnitTesting;
 
namespace Tests.Reporting
{
    [TestClass]
    public class DynamicTextFormatting
    {
133 Views
no comments
 
C++
#include <boost/type_traits/is_arithmetic.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/utility/enable_if.hpp>
 
namespace boost {
 
// Never defined
extern void* enabler;
 
}
by Matt Calabrese   April 11, 2011 @ 9:42am
1256 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FooBar.Models;
 
namespace FooBar.Controllers
{
    [HandleError]
by Andrew Hawken   January 10, 2011 @ 12:23pm
122 Views
no comments
 
<#@ assembly name="$(SolutionDir)lib\dotless.Core.dll" #>
by Viktar   August 09, 2010 @ 2:43pm
194 Views
no comments
 
C#
using System;
using System.Runtime.Serialization;
 
public class ArgumentExceptionTemplate
    : ArgumentException
{
    public ArgumentExceptionTemplate()
    { }
 
    public ArgumentExceptionTemplate(string message)
by Al Gonzalez   April 07, 2010 @ 12:53pm
236 Views
no comments
 
C#
using System;
using System.Runtime.Serialization;
 
public class ExceptionTemplate
    : Exception
{
    public ExceptionTemplate()
    { }
 
    public ExceptionTemplate(string message)
by Al Gonzalez   April 07, 2010 @ 12:48pm
320 Views
no comments
 
C++
#include <utility>
 
// Note: I've revised my implementation of AUTO_FUN here
// to make its use look more like a function definition
 
#define AUTO_FUN_IMPL( ... ) decltype( __VA_ARGS__ ) { return __VA_ARGS__; }
 
#define AUTO_FUN( name_and_param_list ) auto name_and_param_list-> AUTO_FUN_IMPL
 
template< typename SourceType >
by Matt Calabrese   January 27, 2010 @ 9:55pm
475 Views
no comments
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Html Template</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
    <style type="text/css">
    
    </style>
    
by jwwishart   November 04, 2009 @ 7:32pm
389 Views
3 comments
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Redirect Link Using jQuery</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
    <script type="text/javascript">
        
        // Custom Library Function
        var Library = {
by jwwishart   November 04, 2009 @ 5:34pm
382 Views
no comments
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Simle Html Template</title>
 
    <script type="text/javascript">
        /*
         * jQuery JavaScript Library v1.3.2
         * http://jquery.com/
         *
by jwwishart   November 03, 2009 @ 9:01pm
498 Views
no comments
 
/// <script type="text/html" id="script">
/// <div> 
///   <#= content #>
///   <# for(var i=0; i < names.length; i++) { #>
///   Name: <#= names[i] #> <br/>
///   <# } #>
/// </div>
/// </script>
///
/// var tmpl = $("#itemtemplate").html();
by Rick Strahl   August 31, 2009 @ 5:20pm
802 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