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 ie
SQL
 
 
 
 /*************************************************************************************
  *
  *        Copyright 2012 Davide Orazio Montersino http://www.davidemontersino.com
  *
  *        This program is free software: you can redistribute it and/or modify
  *        it under the terms of the GNU General Public License as published by
  *        the Free Software Foundation, either version 3 of the License, or
by Davide Orazio Montersino   January 10, 2012 @ 2:19am
24 Views
no comments
 
C#
// compile in release mode
bool stop = false;
bool toggle = false;
ThreadPool.QueueUserWorkItem(delegate
{
    while (!stop)
    {
        toggle = !toggle;
        //Thread.MemoryBarrier();
    }
by bnaya   January 04, 2012 @ 6:59am
14 Views
no comments
 
<!DOCTYPE html>
<html>
<head>
<style>
.boxshadow
{
     box-shadow: 4px 4px 5px #535353;
}
.roundbox
{
by Rick Strahl   January 03, 2012 @ 4:58pm
Tags: HTML, IE9, Bug
231 Views
no comments
 
C#
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
using System.Windows.Threading;
 
namespace Behaviors
{
    /// <summary>
    /// On ListBoxes using CanContentScroll=True (virtualized), WPF layout changes will make the scrollviewer reset to zero.
by SandRock   October 26, 2011 @ 12:01am
40 Views
no comments
 
/*
@ Navigator Detect Function (JavaScript)
@author Luca Provenzano (mailto: hiimluca@gmail.com)
*/
 
function NavDetect(Navegador){
        var Navegador = navigator.appName;
        switch(Navegador){
            case 'Netscape':
            alert('Usted está utilizando Mozilla Firefox o Chrome');
75 Views
no comments
 
SQL
USE <%DatabaseName%>
GO
SELECT t.name AS table_name,
SCHEMA_NAME(schema_id) AS schema_name,
c.name AS column_name
FROM sys.tables AS t
INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID
WHERE c.name LIKE '%UserName%'
ORDER BY schema_name, table_name; 
by Egli   August 25, 2011 @ 4:50pm
47 Views
no comments
 
C#
var previousNumber = 1;
var twoNumberTotal = 1;
var currentNumber = 0;
for (int i = 0; i < 10; i++)
{
    twoNumberTotal = previousNumber + currentNumber;
    currentNumber = previousNumber;
    previousNumber = twoNumberTotal;
    Console.WriteLine(twoNumberTotal);
}
by Rajesh   July 20, 2011 @ 11:10am
62 Views
no comments
 
<asp:ListView ID="ListView_Example" runat="server" >
    <LayoutTemplate>
        <ul>
           <asp:PlaceHolder ID="PlaceHolder_Example" runat="server" />
        </ul>
    </LayoutTemplate>
    <ItemTemplate>
        <li>
           <a href="<%=Eval("ExampleLink")%>"><%=Eval("ExampleName")%></a><%=Eval("ExampleSeparator")%>
        </li>
by Egli   July 19, 2011 @ 7:10pm
Tags: .NET, ListView
68 Views
no comments
 
C#
//
// Besides some IoC container hookup and the plumbing for
// EventAggregator and Azure ServiceBus this is what an
// Event Driven Architecture application suited for 
// Continuous Client may look like.
//
// This was not done in an MVVM pattern as it would just
// introduce complexity for people unfamiliar. I wanted to
// focus on the Event Driven Architecture.
//
by Kelly Sommers   June 04, 2011 @ 5:55pm
799 Views
no comments
 
package juddiv3admin.juddiv3;
 
/**
 * Abbreviations from <code>org.apache.juddi.query.util.FindQualifiers</code>.
 * @author Martynas
 */
public class FindQualifiersAbbreviations
{
    public static final String AND_ALL_KEYS = "andAllKeys";
by Martynas   March 29, 2011 @ 5:36am
90 Views
no comments
 
C#
/// <summary>
/// Add in item to a collection if it does not contain the specified element by using a IEqualityComparer<>. 
/// </summary>
/// <typeparam name="T">Type of the items in a collection</typeparam>
/// <param name="collection">The collection to add  the item</param>
/// <param name="item">The item to add to the collection</param>
/// <param name="comparer">An equality comparer to compare values.</param>
/// <returns>true if the item was added to the collection; otherwise, false.</returns>
public static bool Add<T>(this ICollection<T> collection, T item, IEqualityComparer<T> comparer)
{
by brentj   February 18, 2011 @ 7:26am
150 Views
no comments
 
C#
namespace WindowsFormsApplication1
{
    public partial class Form1 : System.Windows.Forms.Form
    {
        public Form1()
        {
            InitializeComponent();
 
            // create list of data
            var _List = new System.Collections.Generic.List<Data> 
by Jerry Nixon   January 24, 2011 @ 2:17pm
1371 Views
1 comments
 
C#
namespace Test
{
public static class MyExtensions
{
    public static IEnumerable<T> Where<T> (this IEnumerable<T> source, Func<T, bool> predicate)
    {
        foreach(var item in source)
        {
            if(predicate(item))
            {
by Vijay Sharma   January 06, 2011 @ 8:11am
203 Views
no comments
 
<a href="http://drury.blog.sector.sk/blogclanok/8720/sector_awards_2010.htm"><img title="2. Najväčší troll za rok 2010" src="http://i.imgur.com/z3Zq0.png" alt="2. Najväčší troll za rok 2010" border="0"></a>
<a href="http://drury.blog.sector.sk/blogclanok/8720/sector_awards_2010.htm"><img title="1. Člen, ktorému by ste nekúpili ani kofolu za rok 2010" src="http://i.imgur.com/TtbLS.png" alt="1. Člen, ktorému by ste nekúpili ani kofolu za rok 2010" border="0"></a>
<a href="http://drury.blog.sector.sk/blogclanok/8720/sector_awards_2010.htm"><img title="3. Najpravdepodobnejšie skončí za mrežami za rok 2010" src="http://i.imgur.com/jIOe1.png" alt="3. Najpravdepodobnejšie skončí za mrežami za rok 2010" border="0"></a>
<a href="http://drury.blog.sector.sk/blogclanok/8720/sector_awards_2010.htm"><img title="1. Užívateľ, ktorému by ste kúpili žiletku za rok 2010" src="http://i.imgur.com/hVTV5.png" alt="1. Užívateľ, ktorému by ste kúpili žiletku za rok 2010" border="0"></a>
by Drury   December 26, 2010 @ 3:18am
102 Views
no comments
 
C#
public interface IView
{
    event EventHandler Load;
}
 
public class Presenter
{
    private IView _View;
 
    public Presenter(IView view)
by Cat   October 22, 2010 @ 3:11am
192 Views
no comments
 
C#
void _ShowItemDistribution()
{
    this.Text = "Item Distribution";
    ShowItemDistribution(new List<ItemDistributionSeries>()
    {
        new ItemDistributionSeries{Name = "Item 1", Value = 123},
        new ItemDistributionSeries{Name = "Item 2", Value = 234},
        new ItemDistributionSeries{Name = "Item 3", Value = 312}
    }, " Items");
}
by Jerry Nixon   October 12, 2010 @ 7:27pm
432 Views
no comments
 
C#
static readonly List<Author> quotes = new List<Author>();
 
        public static void GetAuthors()
        {
            quotes.Add(new Author() { AuthorInfo = "", FirstName = "Devin", LastName = "Rader" });
 
            quotes.Add(new Author() { AuthorInfo = "", FirstName = "Bill", LastName = "Evjen" });
 
            quotes.Add(new Author() { AuthorInfo = "", FirstName = "Devin", LastName = "Rader" });
by Zubair   September 29, 2010 @ 10:39am
169 Views
no comments
 
• 4-Starred Ladybug Of Doom 83994646 
• 7 Colored Fish 23771716 
• 7 Completed 86198326 
• Abyss Flower 40387124 
• Acid Crawler 77568553 
• Acid Trap Hole 41356845 
• Air Marmot of Nefa 75889523 
• Akakieisu 38035986 
• Akihiron 36904469 
• Alinsection 70924884 
by cris   July 16, 2010 @ 8:14pm
188 Views
no comments
 
 
 
1 Card 1 301D0250 0063
2 Card 2 301D0251 0063
3 Card 3 301D0252 0063
4 Card 4 301D0253 0063
5 Card 5 301D0254 0063
6 Card 6 301D0255 0063
7 Card 7 301D0256 0063
8 Card 8 301D0257 0063
by cris   July 16, 2010 @ 8:11pm
83 Views
no comments
 
<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Jerry Nixon">
  <Page.Resources>
 
   <Style TargetType="Border" x:Key="BorderStyle">
   
      <!-- Outer Border Style -->
      <Setter Property="Opacity" Value=".5" />
by Jerry Nixon   June 30, 2010 @ 10:06pm
1998 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