New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent Snippets
C#
string deathBenefit = Browser.GetCellFromAnyLabelCell(Browser.Document, 
                        new string[] { "Total Death Benefit:", "Current Death Benefit:", "Death Benefit Amount:", "Base Policy Face Amount:" }, true)
Today @ 12:07pm
Tags:
2 Views
no comments
 
C#
protected override void Render( System.Web.UI.HtmlTextWriter writer )
{
   bool ContentIsNotAttachedToPlayer = ( this.frameworkContent.CurrentVideo is Clip || this.frameworkContent.CurrentVideo is Episode ) && !this.frameworkContent.CurrentVideo.IsAttached();
   if( ContentIsNotAttachedToPlayer )
   {
      Response.StatusCode = 404;
   }
 
   base.Render( writer );
}
Today @ 11:32am
Tags:
2 Views
no comments
 
SQL
protected override void Render( System.Web.UI.HtmlTextWriter writer )
{
   bool ContentIsNotAttachedToPlayer = ( this.frameworkContent.CurrentVideo is Clip || this.frameworkContent.CurrentVideo is Episode ) && !this.frameworkContent.CurrentVideo.IsAttached();
   if( ContentIsNotAttachedToPlayer )
   {
      Response.StatusCode = 404;
   }
 
   base.Render( writer );
}
Today @ 11:32am
Tags:
2 Views
no comments
 
'''FilmFree''' is a video editing program from Borne Programming. <ref>{{cite web|url=http://borneprogramming.webs.com/comingsoon.htm|title=Borne Programming}}</ref> Its current features include:
 
Plugin-Based Media Importing<br />
Timeline/Scrub Bar<br />
Infinitely Pannable Canvas<br /><br />
It is currently a beta, and has been under development for about three months. <ref>{{cite web|url=http://filmfree.sourceforge.net/about.html|title=FilmFree About page}}</ref>
<!-- update features as SourceForge does -->
<br>
On SourceForge, 93% of 16 users recommend this project.<ref>{{cite web|url=https://sourceforge.net/projects/filmfree/|title=FilmFree on SourceForge|accessdate=12 March 2010}}</ref> 
by atyler.dev   Today @ 11:29am
Tags: filmfree
no comments
 
if (g.diam.value == 0) {
        alert("Inside diameter of hose or pipe used is required");        
        return;
    }
    if (g.leng.value == "") {
        alert("Length of hose or pipe used is required");
        g.leng.focus();
        return;
    }
    if (g.stat.value == "") {
Today @ 10:59am
Tags:
2 Views
no comments
 
<?php
$zend_location = '/usr/share/php/Zend';
$gilbert_location = '/home/steve/repos/test';
 
$dir_iterator = new RecursiveDirectoryIterator($zend_location);
$iterator = new RecursiveIteratorIterator($dir_iterator, RecursiveIteratorIterator::SELF_FIRST);
 
// include all files recursively
foreach ($iterator as $file) {
    echo str_ireplace($zend_location, '', $file->getPath(), 1);
by fuhrysteve   Today @ 10:50am
Tags:
2 Views
no comments
 
C:\>nslookup www.southcountylandscaping.com
Server:  vnsc-bak.sys.gtei.net
Address:  4.2.2.2
 
*** vnsc-bak.sys.gtei.net can't find www.southcountylandscaping.com: Non-existent domain
 
C:\>nslookup southcountylandscaping.com
Server:  vnsc-bak.sys.gtei.net
Address:  4.2.2.2
Today @ 9:45am
Tags:
2 Views
no comments
 
C#
public IList<Objects.Acquisition.Acquisition> GetDLServerProgress(DateTime startDate, DateTime endDate)
{
    IList<Objects.Acquisition.Acquisition> acquisitions = new List<Objects.Acquisition.Acquisition>();
 
    if (startDate == DateTime.MinValue || endDate == DateTime.MinValue)
    {
        return acquisitions;
    }
 
Today @ 8:37am
Tags:
3 Views
no comments
 
C#
public void DoSomething()
{
 
 
}
Today @ 8:36am
Tags:
3 Views
no comments
 
test
by Unknown (google)   Today @ 7:26am
Tags:
3 Views
no comments
 
fds
Today @ 7:05am
Tags:
6 Views
no comments
 
Ballard, JG - Atrocity Exhibition, The.rtf
Ballard, JG - Cocaine Nights.txt
Ballard, JG - Complete Short Stories, The.txt
Ballard, JG - Concrete Island.txt
Ballard, JG - Crystal World, The.txt
Ballard, JG - Drought, The.txt
Ballard, JG - Empire of the Sun.txt
Ballard, JG - High Rise.rtf
Ballard, JG - Millenium People.rtf
Ballard, JG - Rushing to Paradise.txt
by Scytale   Today @ 6:59am
Tags:
8 Views
no comments
 
C#
namespace Poligon_in_a_nutshell
{
    class Program
    {
        static void Main(string[] args) {
        }
    }
}
Today @ 4:57am
Tags:
6 Views
no comments
 
C++
class animal
{};
 
class dog : public animal
{};
 
struct spec
{
    static int foo() { return 10; }
};
Today @ 4:04am
Tags:
8 Views
no comments
 
C#
void FileDataSource_ResolveFileImageUrl(object sender, EPiServer.Web.WebControls.ResolveFileImageArgs e)
{
    System.Web.UI.Page handler = System.Web.HttpContext.Current.Handler as System.Web.UI.Page;
 
    if (handler != null)
    {
        string image = null;
 
        switch (e.File.Extension.ToLower())
        {
Today @ 2:32am
Tags: EPiServer
8 Views
no comments
 
C#
public IEnumerable<Presentation.Image> Foo(IEnumerable<Domain.Image> images)
{
    return from di in images
           let url = InvokeSomeMappingHere(di)
           select new Presentation.Image(di.Title, url);
}
by Mark Seemann   Today @ 1:53am
Tags:
7 Views
no comments
 
 
Aktive Verbindungen
 
  Proto  Lokale Adresse         Remoteadresse          Status           PID
  TCP    0.0.0.0:135            0.0.0.0:0              ABH™REN         796
  Es konnten keine Besitzerinformationen ermittelt werden.
  TCP    0.0.0.0:445            0.0.0.0:0              ABH™REN         4
  Es konnten keine Besitzerinformationen ermittelt werden.
  TCP    0.0.0.0:1039           0.0.0.0:0              ABH™REN         556
  Es konnten keine Besitzerinformationen ermittelt werden.
Today @ 1:37am
Tags:
7 Views
no comments
 
By Name
 
Afghanistan                     : 16
Albania                         : 1
Algeria                         : 17
Anguilla                        : 62
Antarctica                      : 140
Antigua and Barbuda             : 183
Argentina                       : 22736
Aruba                           : 79
Today @ 1:21am
Tags:
7 Views
no comments
 
 
Abbildname                     PID Sitzungsname       Sitz.-Nr. Speichernutzung Status          Benutzername                                           CPU-Zeit Fenstertitel                                                            
========================= ======== ================ =========== =============== =============== ================================================== ============ ========================================================================
System Idle Process              0                            0            28 K Unbekannt       NT-AUTORITŽT\SYSTEM                                    49:03:40 Nicht zutreffend                                                        
System                           4                            0           240 K Unbekannt       Nicht zutreffend                                        0:02:55 Nicht zutreffend                                                        
smss.exe                       416                            0           512 K Unbekannt       Nicht zutreffend                                        0:00:00 Nicht zutreffend                                                        
csrss.exe                      472                            0         3.384 K Unbekannt       Nicht zutreffend                                        0:00:03 Nicht zutreffend                                                        
winlogon.exe                   496                            0        12.608 K Unbekannt       Nicht zutreffend                                        0:00:53 Nicht zutreffend                                                        
services.exe                   544                            0         6.744 K Unbekannt       Nicht zutreffend                                        0:00:36 Nicht zutreffend                                                        
lsass.exe                      556                            0        13.544 K Unbekannt       Nicht zutreffend                                        0:01:32 Nicht zutreffend                                                        
Today @ 1:19am
Tags:
8 Views
no comments
 
 
Abbildname                     PID Dienste                                    
========================= ======== ===========================================
System Idle Process              0 Nicht zutreffend                           
System                           4 Nicht zutreffend                           
smss.exe                       416 Nicht zutreffend                           
csrss.exe                      472 Nicht zutreffend                           
winlogon.exe                   496 Nicht zutreffend                           
services.exe                   544 Eventlog, PlugPlay                         
lsass.exe                      556 Netlogon, PolicyAgent, ProtectedStorage,   
Today @ 1:18am
Tags:
7 Views
no comments
 
if (isset($_POST['parent_id']))
{
    $parent_ids = $_POST['parent_id'];
    $amount_paids = $_POST['amount_paid'];
    $paid_in_fulls = $_POST['paid_in_full'];
    
    $num_inserts = count($parent_ids);
    for ($i = 0; $i < $num_inserts; $i++)
    {
        $parent_id = $parent_ids[$i];
Yesterday @ 11:37pm
Tags:
4 Views
no comments
 
C#
<script type="text/javascript">
    //<![CDATA[
        $(document).ready(function() {
            $("#Address").blur(function(evt) {
                //If it's time to look for an address, 
                // clear out the Lat and Lon
                $("#Latitude").val("0");
                $("#Longitude").val("0");
 
                var address = jQuery.trim($("#Address").val());
Yesterday @ 11:32pm
Tags: jquery
6 Views
no comments
 
C#
ASD
by aditi   Yesterday @ 11:08pm
Tags:
3 Views
no comments
 
C#
namespace KolipokiMod
{
    public class MagicWand : SculptureTableCowPlant
    {
        public override void OnStartup()
        {
            base.OnStartup();
            base.RemoveAllInteractions();
            AddAlarmRepeating(1f, TimeUnit.Minutes, new AlarmTimerCallback(WandInts.StoreCrossWorldData), 10f, TimeUnit.Minutes, "KolipokiMod", AlarmType.AlwaysPersisted);
        }
Yesterday @ 9:54pm
Tags:
5 Views
no comments
 
C++
asdf
Yesterday @ 9:27pm
Tags:
4 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