New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • nettezzaumana

    2002059·perl·1.4 KB·2010-11-25 16:08 UTC
    #!/usr/bin/perl
    ##
    ## builds %struct_hash with following inside:
    ## keys are identifiers ..
    ## `$struct_hash{$_}->{'str'}` is utf8 string descr
    ## `$struct_hash{$_}->{'parent'}` is full parent identif
  • Unnamed

    2002040·text·327 B·2010-11-25 15:45 UTC
    Set oShell = CreateObject("WScript.Shell") 
     
    iRC = oShell.Run("xcopy.exe ""C:\Archivos de programa\OCS Inventory Agent\Bc128ct.ttf"" ""c:\windows\fonts"" /y", 0, True) 
     
    If iRC <> 0 Then
  • nettezzaumana

    2002030·perl·1.4 KB·2010-11-25 15:32 UTC
    #!/usr/bin/perl
    
    use strict;
    use warnings;
    
    my $csv_file="@ARGV";
    my %struct_hash;
    
    ##### functions
    
    sub read_csv {
     my @csv;
     open my $fh, "$csv_file" or die "bad file: \"$csv_file\" - can't open\n";
  • Reversi V2

    2001985·vbnet·3.5 KB·2010-11-25 14:19 UTC
    Module Module1
    
     Dim BoardSquare(8, 8) As String, DupeBoard(8, 8) As String
     Dim Flipped(25, 2) As Integer
     Dim PlayerIcon As String = "X", AIIcon As String = "O"
     Dim GameOver As Boo
  • Reversi V1.3

    2001978·vbnet·9.8 KB·2010-11-25 13:52 UTC
    Module Module1
    
     Dim BoardSquare(8, 8) As String, DupeBoard(8, 8) As String
     Dim Flipped(25, 2) As Integer
     Dim PlayerIcon As String = "X", AIIcon As String = "O"
     Dim HintsEnable
  • Mine

    2001954·javascript·1.9 KB·2010-11-25 13:18 UTC
    <script type="text/javascript">
    
    // Creates a new plugin class and a custom listbox
    tinymce.create('tinymce.plugins.ExamplePlugin', {
     createControl: function(n, cm) {
     switch (n) {
     
     case
  • aguerreiro

    2001919·perl·29.8 KB·2010-11-25 12:41 UTC
    #!/usr/bin/perl -w
    
    # Paulo Trezentos - Caixa Mágica 2009
    # This is the main wrapper responsible for the pipeline of apt-pbo
    #
    # For example:
    # apt-pbo install car
    # |__ apt-get pboinstall car
    #
  • nettezzaumana

    2001901·perl·6.7 KB·2010-11-25 12:16 UTC
    #!/usr/bin/perl
    ## Script for posting command's output directly from command line.
    ## i wrote this script to be able use it on solaris operating system without
    ## installing any exotic or not core per
  • Something

    2001897·text·7.4 KB·2010-11-25 12:06 UTC
    gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-button=16,16:gtk-large-toolbar=16,16"
    gtk-button-images = 0
    gtk-menu-images = 0
    
    style "default"
    {
     GnomeHRef ::link_color
  • AmarokCrashCDNextTrack

    2001788·text·36.8 KB·2010-11-25 09:42 UTC
    
        
  • phil

    2001783·text·2.5 KB·2010-11-25 09:35 UTC
    From 1f5983bc7b33d25cf7e37bc2546fc73b0f02c98e Mon Sep 17 00:00:00 2001
    From: Philippe Normand <pnormand@igalia.com>
    Date: Thu, 25 Nov 2010 10:32:45 +0100
    Subject: [PATCH] 2010-11-25 Philippe Normand
  • phil

    2001782·text·4 B·2010-11-25 09:34 UTC
    goo
  • Miscellany

    2001769·text·1.2 KB·2010-11-25 08:58 UTC
    --- /home/Ilari/nethack-bios-queue.r-sync 2010-11-25 07:06:59.000000000 +0200
    +++ /home/Ilari/nethack-bios-queue.r-nosync 2010-11-25 07:06:53.000000000 +0200
    @@ -2478,13 +2478,13 @@
     710250 pushed
  • xnxx

    2001761·ada·1.0 KB·2010-11-25 08:21 UTC
    Calculating dependencies... done!
    
    [ebuild NS ] sys-devel/gcc-4.4.4-r2 [4.1.1-r3] USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-har
  • Conversation

    2001732·text·2.2 KB·2010-11-25 06:56 UTC
    R. Hey Soraya, What have you been up to?
    S. Hi Richard, Just fooling around, watching some interesting things.
    R. I see, so, those interesting things has nothing to do with zombies, are they?
    S. We
  • aguerreiro

    2001616·perl·30.1 KB·2010-11-25 02:42 UTC
    #!/usr/bin/perl -w
    
    # Paulo Trezentos - Caixa Mágica 2009
    # This is the main wrapper responsible for the pipeline of apt-pbo
    #
    # For example:
    # apt-pbo install car
    # |__ apt-get pboinstall car
    #
  • Unnamed

    2001612·text·2.4 KB·2010-11-25 02:32 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include<cstring>
    #include<iostream>
    using namespace std;
    #define TAM_STR 10
    #define TAM_TAB 10
    
    int hash1(char []);
    int hashN(char [],int);
    void inser
  • Mine

    2001580·c·6.2 KB·2010-11-25 01:34 UTC
    #include "mem.h"
    #include <stdio.h>
    #include <stdlib.h>
    
    typedef struct fb
    {
     size_t taille;
     struct fb *next;
    }fb_t;
    
    typedef struct ab
    {
     size_t taille;
    }ab_t;
    
    static mem_fit_funct
  • Something

    2001563·cpp·8.1 KB·2010-11-25 01:02 UTC
    #include "ocelot.h"
    #include "db.h"
    #include <string>
    #include <iostream>
    #include <boost/thread/thread.hpp>
    #include <boost/thread/mutex.hpp>
    #include <boost/thread/locks.hpp>
    
    mysql::mysql(s
  • Something

    2001558·c·6.2 KB·2010-11-25 00:55 UTC
    #include "mem.h"
    #include <stdio.h>
    #include <stdlib.h>
    
    typedef struct fb
    {
     size_t taille;
     struct fb *next;
    }fb_t;
    
    typedef struct ab
    {
     size_t taille;
    }ab_t;
    
    static mem_fit_funct

older pastes →