New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
C#
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
Today @ 2:40pm
Tags:
3 Views
no comments
 
C#
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
Today @ 2:22pm
Tags:
5 Views
no comments
 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="banner_700x130" width="700" height="130" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="scale" value="exactfit" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="wmode" value="normal" />
<param name="bgcolor" value="#000" />
<param name="flashvars" value="myLink=http://klikvip.com/signup.php?refid=16129" />
<param name="movie" value="http://klikvip.com/banners/flash/banner-klik2.swf" />
Today @ 2:14pm
Tags:
6 Views
no comments
 
C#
shapecollage
Today @ 1:43pm
Tags:
4 Views
no comments
 
#include <stdio.h>
#include <string.h>
 
struct country {
        char name[32];
        char capital[32];
        char continent[32];
};
 
int main() {
Today @ 1:04pm
Tags:
11 Views
no comments
 
CREATE TABLE  quinto_po_meas_calc_exine  
Select t.pollen_id,(t.name + c.name + n.name) as name
from po_meas_tectum t,po_meas_columellae c,po_meas_nexine n
Where 1=1
And t.pollen_id = c.pollen_id 
And t.pollen_id = n.pollen_id ;
 
insert into po_meas_calc_exine(pollen_id,name)  select pollen_id,name from quinto_po_meas_calc_exine ;
drop table quinto_po_meas_calc_exine;
by q   Today @ 12:57pm
Tags:
4 Views
no comments
 
<input id="pname" type="text" autocomplete="off" />
<input id="pname_h" type="text" />
<input id="vname" type="text" autocomplete="off"/>
<script type="text/javascript">
    function formatItem(row) {
        return row[0] + " (<strong>id: " + row[1] + "</strong>)";
    }
    function findValueCallback(event, data, formatted) {
        $("#pname").val(data.Name);
        $("#pname_h").val(data.Id);
by Rob   Today @ 10:51am
Tags:
4 Views
no comments
 
XML
 
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://purl.org/net/xbiblio/csl http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?revision=513" xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="note">
  <info>
    <title>Ethnologie Goettingen Tom Mod03</title>
    <id>http://www.zotero.org/styles/ethnogoe Tom Mod03</id>
    <link href="http://www.uni-goettingen.de/de/28822.html"/>
    <author>
      <name>Jan Kaluza</name>
      <email>jkaluza@gwdg.de</email>
Today @ 10:45am
Tags:
6 Views
no comments
 
XML
 
 
=====================================
 
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://purl.org/net/xbiblio/csl http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/trunk/csl.rnc?revision=513" xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="note">
  <info>
    <title>Ethnologie Goettingen Tom Mod03</title>
    <id>http://www.zotero.org/styles/ethnogoe Tom Mod03</id>
    <link href="http://www.uni-goettingen.de/de/28822.html"/>
Today @ 10:43am
Tags:
5 Views
no comments
 
SQL
SELECT s.skl_id, skl.skl_name,
COUNT(usr_id) as employees,
    IFNULL( SUM(personal = num_cmp) ,0) as personal,
    IFNULL( SUM(global = num_cmp) ,0) as global
FROM (
SELECT skl_id, usr_id,
    COUNT(skl_id) as num_cmp,
    IFNULL( SUM(num_evaluations = evaluations_personal) ,0) as personal,
    IFNULL( SUM(evaluations_global = evaluations_personal) ,0) as global
FROM (
Today @ 10:01am
Tags:
9 Views
no comments
 
C#
public class FullScreenCommand : ICommand
{
    public event EventHandler CanExecuteChanged;
 
    public bool CanExecute(object parameter)
    {
        bool isFullScreen = (bool.TryParse(parameter.ToString(), out isFullScreen)) ? isFullScreen : true;
 
        return Application.Current.Host.Content.IsFullScreen != isFullScreen;
    }
33 Views
no comments
 
C#
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
{
    if (this.listView1.SelectedItems.Count == 0)
    {
        this.pictureBoxRight.Image = null;
    }
    else
    {
        MyRow tag = (MyRow) this.listView1.SelectedItems[0].Tag;
        utils.load(Image.FromStream(new MemoryStream(tag.photo)), this.pictureBoxRight);
Today @ 8:42am
Tags:
6 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.IO;
Today @ 8:36am
Tags:
7 Views
no comments
 
C++
#include <windows.h>
#include <tlhelp32.h>
#include <tchar.h>
#include <stdio.h>
 
 
bool getProcessPathByPID(int pid, char** buff)
{
    HANDLE        hProcessSnap;
    HANDLE        hProcess;
by shorin   Today @ 8:32am
Tags:
7 Views
no comments
 
Private Sub XPOSimplifier_Execute(ByVal Sender As Object, ByVal ea As ApplyContentEventArgs)
    ' This method is executed when the system executes your Code 
    If CodeRush.Source.ActiveClass IsNot Nothing Then
        Dim FieldClass As LanguageElement = Nothing
        Dim FieldProperty As LanguageElement = Nothing
        Dim Searcher As ElementEnumerable
        Dim element As IEnumerator(Of LanguageElement)
 
        Searcher = New ElementEnumerable(CodeRush.Source.ActiveClass, GetType([Class]), True)
        element = Searcher.GetEnumerator
by AussieALF   Today @ 8:26am
Tags:
7 Views
no comments
 
C#
FormSearch search = new FormSearch();
            search.Owner = this;
            if (search.ShowDialog() == DialogResult.OK)
            {
                this.sqlSelectCommand1.Parameters.Clear();
                this.dataSetPhotosoc1Instance.Clear();
               
 
                if (search.radioButton1.Checked)
                {
Today @ 8:23am
Tags:
6 Views
no comments
 
<?php
 
    class Upload {
 
        protected static $file;
 
         //Initializes the file.
        function SetInput($ini_code, $ini_file) {
            if(isset($ini_code)) {
                $this->file = $ini_code;
Today @ 7:26am
Tags:
6 Views
no comments
 
stop();
 
 
// LOADER BILDER 
 
function loadXML(loaded) {
    if (loaded) {
        xmlNode = this.firstChild;
        image = [];
        description = [];
Today @ 6:42am
Tags:
3 Views
no comments
 
____________________________file one save as megafag.java__________________
 
import javax.swing.*;
import java.awt.*;
 
 
public class megafag {
  
  public static void main(String[] args) {
    
by None of your fucking business   Today @ 5:50am
Tags:
5 Views
no comments
 
C#
public interface IDummyFactory
{
    IDummyService CreateDummyService();
    TService CreateService<TService>();
    IHandler<TMessage> CreateHandler<TMessage>();
    object CreateService(Type pluginType);
}
Today @ 5:23am
Tags:
91 Views
no comments
 
<PersistentAlias("Iif(ApprovedBy != null AND ApprovedBy > 0, True, False)")> _
Public Property IsApproved() As Boolean
    Get
        Return Convert.ToBoolean(EvaluateAlias("IsApproved"))
    End Get
    Set(ByVal Approve As Boolean)
        If IsReady() Then
            If Approve Then
                ApprovedOn = Base.BMSRemote.GetServerDate
                ApprovedBy = Base.CurrentUser(Session)
by AussieALF   Today @ 4:16am
12 Views
no comments
 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<!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 id="Head1" runat="server">
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
 
    <script language="javascript" type="text/javascript" src="jquery-1.3.2.min.js"></script> 
 
    <script language="javascript" type="text/javascript" src="jquery.flow.1.2.auto.js"></script>
Today @ 3:53am
Tags:
6 Views
no comments
 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<!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 id="Head1" runat="server">
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
 
    <script language="javascript" type="text/javascript" src="jquery-1.3.2.min.js"></script> 
 
    <script language="javascript" type="text/javascript" src="jquery.flow.1.2.auto.js"></script>
Today @ 3:52am
Tags:
5 Views
no comments
 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<!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 id="Head1" runat="server">
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
 
    <script language="javascript" type="text/javascript" src="jquery-1.3.2.min.js"></script> 
 
    <script language="javascript" type="text/javascript" src="jquery.flow.1.2.auto.js"></script>
Today @ 3:51am
Tags:
6 Views
no comments
 
<z<z<<z<z<z<
<z<z<z
Today @ 12:14am
Tags:
5 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