Format:
Recent snippets matching tags of ie
/************************************************************************************* * * 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
24 Views
no comments
// compile in release mode bool stop = false; bool toggle = false; ThreadPool.QueueUserWorkItem(delegate { while (!stop) { toggle = !toggle; //Thread.MemoryBarrier(); }
14 Views
no comments
<!DOCTYPE html> <html> <head> <style> .boxshadow { box-shadow: 4px 4px 5px #535353; } .roundbox {
231 Views
no comments
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.
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
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;
47 Views
no comments
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); }
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>
68 Views
no comments
// // 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. //
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";
90 Views
no comments
/// <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) {
150 Views
no comments
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>
1371 Views
1 comments
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)) {
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>
102 Views
no comments
public interface IView { event EventHandler Load; } public class Presenter { private IView _View; public Presenter(IView view)
192 Views
no comments
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"); }
432 Views
no comments
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" });
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
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
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" />
1998 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
