Format:
Recent snippets matching tags of C
Atificial Inteligen http://www.wupload.com/file/48757914 http://www.wupload.com/file/48757244 http://www.wupload.com/file/48757461 http://www.wupload.com/file/48757243 http://www.wupload.com/file/48757242 http://www.wupload.com/file/48758435 http://www.wupload.com/file/48757376 http://www.wupload.com/file/48758161 http://www.wupload.com/file/48758916
51 Views
no comments
function IsPageValid() { var validated = Page_ClientValidate('UserComments'); if (validated) { //Its valid return true; } else
9 Views
no comments
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="PublishWeb" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" /> <UsingTask TaskName="TransformXml" AssemblyFile="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.Tasks.dll"/> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <ClassLibraryOutputDirectory>bin$(Configuration)</ClassLibraryOutputDirectory> <WebProjectFile>$(ProjectFolder)\$(ProjectFile)</WebProjectFile> </PropertyGroup>
11 Views
no comments
using System; using System.Collections.Generic; using System.Linq; using System.Dynamic; using System.Reflection; using System.Collections; namespace Westwind.Utilities.Dynamic { /// <summary>
356 Views
2 comments
@foreach(var pic in Model.stfuGalleryImage.Where( "Visible" ) ) { <figure> <img src="@pic.galleryImage" alt="@pic.galleryImageTitle" data-tags="@pic.galleryImageTags" /> @if ( @pic.galleryImageDescription != "" ) { <figcaption class="opaque">@pic.galleryImageDescription</figcaption> } </figure> } @foreach(var vid in Model.stfuGalleryVideo.Where( "Visible" ) ) { <figure title="@vid.galleryImageTitle" data-tags="@vid.galleryImageTags">
12 Views
2 comments
using System; using System.IO; class Program { static void Main() { // // It will free resources on its own. //
21 Views
no comments
http://filevelocity.com/sfp3zcy422x6/Dream Hause 2011 DVDRip.part1.rar.html http://filevelocity.com/gehr1px6sw2k/Dream Hause 2011 DVDRip.part2.rar.html http://filevelocity.com/wi5tmc1l12q9/Dream Hause 2011 DVDRip.part3.rar.html http://filevelocity.com/b2e1c5h25e9y/Dream Hause 2011 DVDRip.part4.rar.html http://filevelocity.com/mbscjvmr44vn/Dream Hause 2011 DVDRip.part5.rar.html http://filevelocity.com/igeaqml05mlt/Dream Hause 2011 DVDRip.part6.rar.html http://filevelocity.com/ngidojk8agwk/Dream Hause 2011 DVDRip.part7.rar.html http://filevelocity.com/gfs54dqtrcqa/Dream Hause 2011 DVDRip.part8.rar.html
16 Views
no comments
public static int Main(params string[] args) { List<string> filesList = new List<string>(); foreach (string arg in args) { if (arg.StartsWith("-")) { if (arg.ToLower().Contains("nogui")) ...; else if (arg.ToLower().Contains("autostart"))
15 Views
no comments
$(document).ready(function () { if (window.location.protocol == 'https:') { $("a[href^='http:\/\/" + window.location.hostname + "']").each(function() { this.href = this.href.replace(/^http:/i, "https:"); }); }; });
18 Views
no comments
/////////////////////////////////////////// //From the service.cs side// /////////////////////////////////////////// //Make sure u include these namespaces using System.Web.Script.Services; using System.Web.Script.Serialization; //Have the webservice class have this Attribute to allow ajax calls [System.Web.Script.Services.ScriptService]
12 Views
no comments
protected void Page_Load(object sender, EventArgs e) { if (HttpContext.Current.Request.IsAuthenticated) { ResetFormsAuthenticationTicket(); } else { Response.Redirect("~/logout.aspx"); }
15 Views
no comments
@inherits umbraco.MacroEngines.DynamicNodeContext
<ul>
@foreach (var item in @Model.Product.Where("Visible"))
{
<li><a href="@item.Url">@item.Name</a>
@if (item.Media("image", "umbracoFile") != null) {
<img src='@item.Media("image", "umbracoFile")' />
}
</li>
18 Views
no comments
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; namespace System.Text { public static class StringTransformer { static readonly string linkFormat = "<a href=\"{0}\" title=\"{0}\" target=\"{2}\" class=\"{3}\">{1}</a>"; /// <summary>
35 Views
no comments
try { document.execCommand("BackgroundImageCache", false, true); } catch (e) { } var popUpWin; function PopUpCenterWindow(URLStr, width, height, newWin, scrollbars) { var popUpWin = 0; if (typeof (newWin) == "undefined") { newWin = false; } if (typeof (scrollbars) == "undefined") { scrollbars = 0; }
20 Views
no comments
public class AuthOperationHandler : HttpOperationHandler<HttpRequestMessage, HttpRequestMessage> { public AuthOperationHandler() : base("response") { } protected override HttpRequestMessage OnHandle(HttpRequestMessage request) { var credentials = ExtractCredentials(request.Headers.Authorization); var authenticated = IsAuthenticated(credentials);
25 Views
no comments
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Web; /// <summary> /// Summary description for OrderByHelper /// </summary>
21 Views
no comments
public class MatchConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo c) { if (value == null && Match == null) return Then; // convert Match to the value's type if (Match != null && value != null)
36 Views
no comments
ACCESSORY_IDs = {
ACCESSORY_GOGGLES = 1,
ACCESSORY_CATTYHAIRBAND = 2,
ACCESSORY_GLASS = 3,
ACCESSORY_FLOWER = 4,
ACCESSORY_FLORALHAIRBAND = 5,
ACCESSORY_HOOD = 6,
ACCESSORY_ROUNDCAP = 7,
ACCESSORY_FLUMASK = 8,
ACCESSORY_HAIRBAND = 9,
29 Views
no comments
public static class TypeEx { public static string GetFriendlyName(this Type t) { using (var provider = new CSharpCodeProvider()) { var typeRef = new CodeTypeReference(t); return provider.GetTypeOutput(typeRef); } }
28 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
