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>
29 Views
no comments
#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 }; };
117 Views
no comments
#include "for_each.h" #include <iostream> #include <string> #include <tuple> using namespace std; struct Functor { template<typename T>
95 Views
1 comments
// ===================================================================================== // // Filename: for_each.h // // ===================================================================================== #ifndef FOR_EACH_INC #define FOR_EACH_INC
111 Views
1 comments
// ===================================================================================== // // Filename: indexes.h // // ===================================================================================== #ifndef INDEXES_INC #define INDEXES_INC
116 Views
2 comments
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
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
#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; }
1256 Views
no comments
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using FooBar.Models; namespace FooBar.Controllers { [HandleError]
122 Views
no comments
<#@ assembly name="$(SolutionDir)lib\dotless.Core.dll" #>
194 Views
no comments
using System; using System.Runtime.Serialization; public class ArgumentExceptionTemplate : ArgumentException { public ArgumentExceptionTemplate() { } public ArgumentExceptionTemplate(string message)
236 Views
no comments
using System; using System.Runtime.Serialization; public class ExceptionTemplate : Exception { public ExceptionTemplate() { } public ExceptionTemplate(string message)
320 Views
no comments
#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 >
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>
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 = {
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/ *
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();
802 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
