Archive›2006›December

December 2006

15485 pastes
  • Stuff

    289151·java·141 B·2006-12-22 22:17 UTC
    try {
     AudioClip audioClip = Applet.newAudioClip(new URL("file://pknybrn.mid"));
    }
    catch (Exception e) {
     e.printStackTrace();
    }
  • Stuff

    289148·text·1.5 KB·2006-12-22 22:16 UTC
    using System;
    using System.Drawing;
    using System.Windows.Forms;
    class TestForm : Form {
     static void Main() {
     Application.Run(new TestForm());
     }
    
     Button b;
     public void
  • Mine

    289147·java·847 B·2006-12-22 22:14 UTC
    public class Battleship {
    
     public static void main(String[] args){
    
     if (args.length != 2){
     System.err.println("Usage: java Battleship N config-file");
     System.exit(0);
  • Someone

    289137·text·3.2 KB·2006-12-22 22:00 UTC
    Mine (doesn't work)
    
    programname = "grubconfig"
    version = "0.0.1"
    
    standalone = __name__=='__main__'
    
    if standalone:
     programbase = KDialogBase
    else:
     programbase = KCModule
    
    class G
  • Something

    289136·text·638 B·2006-12-22 22:00 UTC
    [root@xanadu c]# iwconfig 
    lo no wireless extensions.
    
    eth0 no wireless extensions.
    
    eth1 no wireless extensions.
    
    eth2 unassociated ESSID:off/any 
     Mode:Manag
  • Anonyme

    289134·text·12.1 KB·2006-12-22 21:56 UTC
    make[3]: Entering directory `/home/sputnick/firefox-dl/gimp-2.2.8/app/paint-funcs'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/sputnick/firefox-dl/gimp-2.2.8/app/paint-f
  • Someone

    289132·text·284 B·2006-12-22 21:53 UTC
    on *:join:#:{
     set %chan $chan
     timer 1 1 /checkalice
    }
    alias checkalice {
     set %p 0
     while ($nick(%chan,%p)) {
     inc %p
     if ($regex($nick(%chan,%p),Alice-Bot) != 0) {
     part %ch
  • Someone

    289131·text·161 B·2006-12-22 21:52 UTC
    unable to mount loop filesystem
    
    (something with commands I tried)
    lopsetup /dev/loop0 initrd/cdrom/livecd.sqfs
    mount -r -t squashfs /dev/loop/0 initrd/loops
  • Someone

    289130·java·404 B·2006-12-22 21:52 UTC
    public class Battleship {
    
     public static void main(String[] args){
    
     if (args.length != 2){
     System.err.println("Usage: java Battleship N config-file");
     }
    
     int testin
  • Unnamed

    289129·text·8.0 KB·2006-12-22 21:51 UTC
    Name # Size Done Status Seeds Peers Down speed Up speed ETA Uploaded Ratio Avail. Label Added On Completed On 
    Pantera - Vulgar Display of Power * 101 MB 100.0 % Seeding [F] 0 (63) 1 (3) 0.0 kB/s 6.3
  • Trucs

    289126·text·1.1 KB·2006-12-22 21:45 UTC
    Paramétrage de linux-image-2.6.18-3-486 (2.6.18-7) ...
    Running depmod.
    Finding valid ramdisk creators.
    Using mkinitramfs-kpkg to build the ramdisk.
    
    gzip: stdout: No space left on device
    mkinit
  • Trucs

    289124·c·3.8 KB·2006-12-22 21:39 UTC
    root@laMusiQue ~ & equery list kde-base/
    [ Searching for all packages in 'kde-base' among: ]
     * installed packages
    [I--] [ ] kde-base/ark-3.5.5 (3.5)
    [I--] [ ] kde-base/arts-3.5.5 (3.5)
    [I--] [
  • Mine

    289123·text·1.4 KB·2006-12-22 21:39 UTC
    Mine (doesn't work)
    
    programname = "grubconfig"
    version = "0.0.1"
    
    standalone = __name__=='__main__'
    
    if standalone:
     programbase = KDialogBase
    else:
     programbase = KCModule
    
    class G
  • Mine

    289122·text·1.3 KB·2006-12-22 21:38 UTC
    proc urep:proc {nick host hand chan text} {
    set user [lindex [split $text] 0]
    set flag [lindex [split $text] 1]
    
    foreach chan [channels] { if [channel get $chan rankscript] {
    if {$flag == "-"} {s
  • Anonymous

    289120·text·2.8 KB·2006-12-22 21:37 UTC
    #
    # /etc/rc.conf - Main Configuration for Arch Linux
    #
    
    #
    # -----------------------------------------------------------------------
    # LOCALIZATION
    # --------------------------------------------
  • debuild -us -uc erro

    289119·text·507 B·2006-12-22 21:35 UTC
    dpkg-checkbuilddeps: error: syntax error in control file debian/control at line 6: line with unknown format (not field-colon-value)
    debuild: fatal error at line 983:
    You do not appear to have all bu
  • Anonymous

    289116·text·2.6 KB·2006-12-22 21:34 UTC
    General #0
    Complete name : D:\Video\HDTV\Demolition.Man.1080p.DL.x264.mkv
    Format : Matroska
    File size : 7.89 GiB
    PlayTime : 1h 54mn
    Bit rate
  • Mine

    289115·text·2.4 KB·2006-12-22 21:33 UTC
    #user nobody;
    worker_processes 3;
    
    error_log logs/error.log;
    #error_log logs/error.log notice;
    #error_log logs/error.log info;
    
    #pid logs/nginx.pid;
    
    events {
     worker_co
  • Someone

    289114·text·799 B·2006-12-22 21:33 UTC
    [root@xanadu log]# /etc/rc.d/network restart
    /etc/rc.conf: line 67: unexpected EOF while looking for matching `"'
    /etc/rc.conf: line 93: syntax error: unexpected end of file
    /etc/rc.conf: line 67:
  • mpd control file

    289113·text·1.7 KB·2006-12-22 21:33 UTC
    Source: mpd
    Section: sound
    Priority: optional
    Maintainer: Decklin Foster <decklin@red-bean.com>
    Build-Depends: debhelper (>> 4.1.0), cdbs, libfaad2-dev, libaudiofile-dev, libflac-dev (>= 1.1.1-3),
  • Stuff

    289112·text·571 B·2006-12-22 21:31 UTC
    /etc/logrotate.d/clamav-update
    
    /var/log/freshclam.log {
     monthly
     notifempty
    }
    ====================================================
    /etc/logrotate.d/clamav
    
    /var/log/clamd.log
  • Someone

    289111·text·907 B·2006-12-22 21:31 UTC
    General #0
    Complete name : D:\Video\HDTV\Over.The.Hedge.HDTV.1080p.x264.AC3-5.1-DiC.mkv
    Format : Matroska
    File size : 4.37 GiB
    PlayTime : 1h 23mn
    Bit r
  • Untitled

    289109·text·33.9 KB·2006-12-22 21:30 UTC
    
        
  • Unnamed

    289107·cpp·4.6 KB·2006-12-22 21:26 UTC
    #include <a_samp>
    #include <file>
    
    //------------------------------------------------------------------------------
    
    main()
    {
     print("\n----------------------------------");
     print(" Echo Fil
  • Anonymous

    289106·cpp·235 B·2006-12-22 21:23 UTC
    #include <iostream>
    #include <math.h>
    #include <stdio.h>
    
    using namespace std;
    
    int main(){
    
    long double a,b,c;
    
    cin >> a >> b;
    
    c=3.141592654*(a*a-b*b/4);
    
    cout << c << "\n";
    pri
  • Miscellany

    289104·text·1.3 KB·2006-12-22 21:23 UTC
    n 500:TEXT:@set*:#:{
     if ($2 == greeting) {
     if (!$3) { notice $nick Greeting requirers more parameters. | halt }
     if ($3 == *) || ($3 == none) || ($3 == off) { unset $+(%,$chan,greeting1) |
  • Anonymous

    289102·text·72 B·2006-12-22 21:19 UTC
    /etc/logrotate.conf
    
    /var/log/maillog {
     daily
     rotate 30
    }
  • greeting3

    289101·text·1.3 KB·2006-12-22 21:17 UTC
    n 500:TEXT:@set*:#:{
     if ($3 == greeting) {
     if (!$3) { notice $nick Greeting requirers more parameters. | halt }
     if ($3 == *) || ($3 == none) || ($3 == off) { unset $+(%,$chan,greeting1) |
  • Anonymous

    289095·text·873 B·2006-12-22 21:11 UTC
    $TTL 3600 ; 1 hour
    sacodelixo.com.br. IN SOA bilbo.e-rockets.com.br. alemao.sacodelixo.com.br. (
     2006051508 ; Serial
  • Miscellany

    289093·text·1.6 KB·2006-12-22 21:07 UTC
    deb http://debian.oregonstate.edu/debian/ unstable main contrib non-free
    #deb-src http://debian.oregonstate.edu/debian/ unstable main contrib non-free
    
    leonard:/mnt/net# apt-get ins
  • Mine

    289090·text·235 B·2006-12-22 21:06 UTC
    #include <iostream>
    #include <math.h>
    #include <stdio.h>
    
    using namespace std;
    
    int main(){
    
    long double a,b,c;
    
    cin >> a >> b;
    
    c=3.141592654*(a*a-b*b/4);
    
    cout << c << "\n";
    pri
  • Miscellany

    289088·text·235 B·2006-12-22 21:04 UTC
    #include <iostream>
    #include <math.h>
    #include <stdio.h>
    
    using namespace std;
    
    int main(){
    
    long double a,b,c;
    
    cin >> a >> b;
    
    c=3.141592654*(a*a-b*b/4);
    
    cout << c << "\n";
    pri
  • Something

    289080·text·200 B·2006-12-22 20:58 UTC
    you could also replace all occurrences of archive.ubuntu.com with fr.archive.ubuntu.com. "sed -i s/archive.ubuntu.com/fr.archive.ubuntu.com/ /etc/apt/sources.list" will do this automatically for you.
  • Anonymous

    289077·text·200 B·2006-12-22 20:56 UTC
    you could also replace all occurrences of archive.ubuntu.com with fr.archive.ubuntu.com. "sed -i s/archive.ubuntu.com/fr.archive.ubuntu.com/ /etc/apt/sources.list" will do this automatically for you.
  • Someone

    289076·text·33.7 KB·2006-12-22 20:56 UTC
    
        
  • Something

    289075·text·473 B·2006-12-22 20:56 UTC
    # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i3$
    
    deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386$
    deb http://ftp.se.debian.org/debian/ etch main contrib n
  • Something

    289074·text·2.0 KB·2006-12-22 20:55 UTC
    ///hello world!!!
    ///that piece of crap, i mean, code assumes that the memory starting address is on ix
    ///and the memory ending adress are on iy(both provided by kernel)
    ///
    ///code assumes that
  • not working rss

    289073·text·3.3 KB·2006-12-22 20:54 UTC
    /*
    News Syndication for Atom and RSS feeds - Configuration
    Copyright (C) 2004-2006 perpleXa
    
    http://perplexa.ugug.co.uk / #perpleXa on QuakeNet
    
    1) Configuration sections
    ======================
  • Mine

    289072·text·189 B·2006-12-22 20:54 UTC
    leonard:/mnt/net# apt-get -f install
    Reading package lists... Done
    Building dependency tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 300 not upgraded.
    leonard:/mnt/net#
  • Mine

    289067·text·1009 B·2006-12-22 20:53 UTC
    ############# PASCAL VARIANT, ONLY WORKING ON LINUX #############
    
    program gtk_icon;
    
    uses glib2, gtk2, gdk2, gdk2pixbuf;
    
    var window: pGtkWidget;
    var icon: pGdkPixbuf;
    
    begin
     gtk_init(@arg
  • Trucs

    289063·text·438 B·2006-12-22 20:49 UTC
    gimp-composite-mmx.c:1279: error: unknown register name '%mm1' in 'asm'
    make[3]: *** [gimp-composite-mmx.o] Error 1
    make[3]: Leaving directory `/home/sputnick/firefox-dl/gimp-2.2.8/app/composite'
    m
  • #L2S highlights

    289060·text·803 B·2006-12-22 20:48 UTC
    Cwh masek jeste neni vybrano az na dno?
    Nefungujou vam healy :D :D :D
    ...je to super pesnicka, fakt!
    Myslim ze keby si si to pozrel tak aj tebe by sa to pacilo.
    To mi hovoril aj ten ujo v tej tmav
  • Miscellany

    289059·text·8.4 KB·2006-12-22 20:47 UTC
    dialog infoline {
     title "InfoLine"
     size -1 -1 440 200
     text "View:", 1, 7 12.5 30 20
     combo 2, 53 10 150 198 ,drop
     text "Host:", 3, 7 52.5 30 20
     edit "" , 4, 53 50 150 20, autohs
     te
  • Someone

    289050·text·1.3 KB·2006-12-22 20:38 UTC
    function makeRequest(url) {
     var http_request = false;
     
     if (window.XMLHttpRequest) { // Mozilla, Safari, ...
     http_request = new XMLHttpRequest();
     
     if (http_request.overrideMimeT
  • Someone

    289049·text·677 B·2006-12-22 20:38 UTC
    function chat_form_data () {
     
     echo ' <script language="javascript" type="text/javascript" src="chat_content_request.js"></script>
     <script language="javascript" type="text/javascript">
     fun
  • Untitled

    289048·text·32.8 KB·2006-12-22 20:37 UTC
    
        
  • Stuff

    289040·text·4.1 KB·2006-12-22 20:28 UTC
    HAL 0.5.9
     ==============
    
     prefix: /usr
     libdir: /usr/lib
     libexecdir: /usr/libex
  • Something

    289038·text·1.1 KB·2006-12-22 20:27 UTC
    mrsmiley@artemis:~/sfbg/osskmix/src$ make clean
    rm -f *.o *.moc osskmix
    mrsmiley@artemis:~/sfbg/osskmix/src$ make
    c++ -O2 -fno-strict-aliasing -pipe -I/usr/X11R6/include -I/usr/local/include -c -o
  • Unnamed

    289034·text·6.3 KB·2006-12-22 20:23 UTC
    mrsmiley@artemis:~/sfbg/osskmix/src$ make
    c++ -L/usr/X11R6/lib -L/usr/local/lib -pthread -lqt-mt -lkdefx -lkdeui main.o okvumeter.o oklabelbox.o osskmix.o okslider.o okcheckbox.o -o osskmix
    /usr/bin
  • Anonymous

    289032·text·192 B·2006-12-22 20:22 UTC
    on *:join:#BestPc:{
     /set %chanjoined $chan
     /whois $nick
    }
    raw 319:*:{
     if (!%chanjoined) { halt }
     else { /msg %chanjoined $2 is currently on $3-
     /unset %chanjoined
     }
    }
  • Zorton

    289031·text·803 B·2006-12-22 20:21 UTC
    `--> sudo apt-get install ethereal
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situatio
  • #L2S highlights

    289026·text·758 B·2006-12-22 20:16 UTC
    Cwh masek jeste neni vybrano az na dno?
    Nefungujou vam healy :D :D :D
    ...je to super pesnicka, fakt!
    Myslim ze keby si si to pozrel tak aj tebe by sa to pacilo.
    To mi hovoril aj ten ujo v tej tmav
  • Unnamed

    289025·text·2.0 KB·2006-12-22 20:16 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    char lematriz(int **matriz,int m,int n){
     int a,b,c;
     for(a=0;a<m;a++){
     for(b=0;b<n;b++){
  • Mine

    289020·text·237 B·2006-12-22 20:06 UTC
    In der Waste ausgesetzt 
    Dein Herz eine Granate 
    Die mich auseinander fetzt 
    Ich mal ein Kreuz far dich 
    Auf einem Himmel breit 
    Zu zweit ein Leben weit 
    Die Geraden tre
    
    http://www.lyrics
  • Something

    289019·text·551 B·2006-12-22 20:06 UTC
    $form['item'][$item->iid]['check'] = array(
     '#type' => 'checkbox',
     '#default_value' => 1,
     '#prefix' => "<div class=\"publish_checkbox\"",
     '#suffix' => "</div>",
     );
    
    output: 
    <input t
  • Something

    289018·php·3.1 KB·2006-12-22 20:04 UTC
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php $args = $_GET; ?>
    <html>
     <head>
     <title>Template</title>
     <
  • Miscellany

    289017·text·1.3 KB·2006-12-22 20:02 UTC
    Wendy scimmiapazza # emerge amsn
    Calculating dependencies -!!! Digest verification failed:
    !!! /usr/portage/local/layman/sabayon/kde-misc/guidance/guidance-0.7.0.ebuild
    !!! Reason: Filesize does no
  • Miscellany

    289014·text·11.4 KB·2006-12-22 19:59 UTC
    ==5180== 5 bytes in 1 blocks are definitely lost in loss record 5 of 86
    ==5180== at 0x4021396: malloc (vg_replace_malloc.c:149)
    ==5180== by 0x402E29B: ???
    ==5180== by 0x402E470: ???
    ==518
  • Someone

    289012·text·847 B·2006-12-22 19:58 UTC
    using System.Threading;
    using System;
    using System.Net.Sockets;
    using System.Net;
    
    namespace ConsoleApplication3
    {
     class Program
     {
     static void Main(string[] args)
     {
  • Stuff

    289010·text·1.8 KB·2006-12-22 19:58 UTC
    deb http://archive.ubuntu.com/ubuntu/ dapper main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## d
  • Stuff

    289009·text·999 B·2006-12-22 19:56 UTC
    #!/bin/sh
    #
    # Script to install/revert custom cpufreq voltages
    # using Linux-PHC patch sysfs interface 
    # https://www.dedigentoo.org/trac/linux-phc/wiki
    #
    set -e
    
    TABLE=/sys/devices/system/cpu
  • khalil

    289007·text·3.1 KB·2006-12-22 19:52 UTC
    Nov 13 11:00:13 VERBOSE[30150] logger.c: --- (8 headers 0 lines)Nov 13 11:00:13 VERBOSE[30150] logger.c: --- (8 headers 0 lines)---
    Nov 13 11:00:13 VERBOSE[30150] logger.c: Destroying call '02580bfe5
  • Untitled

    289003·text·512 B·2006-12-22 19:46 UTC
    1002 6231 0.2 5.6 27064 14532 ? S 21:27 0:02 kdesu -u originaluser -- kmix -session 10d8cecf96000111065458100000063760027_1166760883_777735
    
    1002 6238 0.2 5.6 27068 14396
  • Divers

    289000·text·1.6 KB·2006-12-22 19:43 UTC
    Calculating dependencies... done!
    >>> Emerging (1 of 7) sci-biology/emboss-3.0.0-r1 to /
    >>> Downloading http://distfiles.gentoo.org/distfiles/EMBOSS-3.0.0.tar.gz
    --20:42:27-- http://distfiles.gen
  • Unnamed

    288999·text·303 B·2006-12-22 19:41 UTC
    edje_cc: Wrote 739 bytes ( 1Kb) for "collections/2" collection entry
    edje_cc: Wrote 716 bytes ( 1Kb) for "collections/3" collection entry
    /tmp/edje_cc.sma-tmp-pCTz4O(221) : error 035
  • 7 moi

    288997·csharp·3.7 KB·2006-12-22 19:37 UTC
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using Npgs
  • Anonymous

    288991·text·724 B·2006-12-22 19:33 UTC
    -----------------------------------------------------------------
    Revision: 43d7839d96f8198b4422e163810fc8508fc97907
    Ancestor: 660d3eedf85efb7ea607a7b4d609d9fbda0026c9
    Author: hrw@openembedded.org
  • Anonymous

    288989·text·486 B·2006-12-22 19:33 UTC
    udp_send( target, 1234, 4321, udp_send_buf, strlen( udp_send_buf ) );
     /* | | | | | */
     /* | | | | L
  • Unnamed

    288987·text·660 B·2006-12-22 19:31 UTC
    $TTL 3600 ; 1 hour
    sacodelixo.com.br. IN SOA bilbo.e-rockets.com.br. alemao.sacodelixo.com.br. (
     2006051501 ; Serial
  • Stuff

    288986·text·181 B·2006-12-22 19:30 UTC
    $form['item'][$item->iid]['checkbox'] = array(
     '#type' => 'checkbox',
     '#default_value' => 1,
     '#prefix' => "<div class=\"publish_checkbox\"",
     '#suffix' => "</div>",
     );
  • Anonymous

    288981·mirc·253 B·2006-12-22 19:23 UTC
    on *:TEXT:ace !leave:#:{ 
     if ($nick isop $chan) || ($nick ishop $chan) /msg $chan $nick asked me to leave. =[ 
     elseif (($chan != #acethebunny) || ($chan != #bots) || ($chan != #yeldie) || ($chan
  • Stuff

    288977·text·547 B·2006-12-22 19:19 UTC
    alias timerwm { 
     if ($isid) {
     var %wm = $$1, %index = $iif($2 != $null,$2,1), %n = $timer(0), %i = 1 
     var %bCount = $iif(%index == 0,$true,$false), %count = 0
    
     while (%i <= %n) {
  • Stuff

    288976·text·955 B·2006-12-22 19:18 UTC
    alias santa {
     var %list = santaslist.txt
     while (%i < $nick($chan,0)) { 
     inc %i 
     write %list $nick($chan,%i) $level($ial($nick($chan,%i),5)) 
     } 
     if ($exists(%list) && $exists(%li
  • Plastriq

    288971·text·125 B·2006-12-22 19:16 UTC
    $commands['test'] = array($testmod, 'testfunc');
    ...
    $func = 'test';
    ...
    $commands[$func][0]->$commands[$func][1]($line);
  • Unnamed

    288969·text·490 B·2006-12-22 19:15 UTC
    alias timerwm { 
     var %wm = $$1, %index = $iif($2 != $null,$2,1), %n = $timer(0), %i = 1 
     var %bCount = $iif(%index == 0,$true,$false), %count = 0
    
     while (%i <= %n) { 
     var %timername = $
  • Anonymous

    288967·text·356 B·2006-12-22 19:14 UTC
    FileSet {
     Name = "host.name.tld-fileset"
    
     Include {
     File = "/www/"
     }
    
     Exclude {
     File = /www/logs
     File = /www/ap
  • HL2 Steam error

    288966·text·193 B·2006-12-22 19:11 UTC
    AppName: steam.exe AppVer: 1.0.0.0 ModName: unknown
    ModVer: 0.0.0.0 Offset: 410092ed
    
    What am I supposed to do to fix this?? it happens when I try to run HL2 something about a steam error
  • Miscellany

    288964·text·1.7 KB·2006-12-22 19:09 UTC
    [root@mred qmail]# tail -f /var/log/qmail/send/current
    @40000000458c2a772f146fd4 delivery 367899: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
    @40000000458c2a772f148f14
  • TPG

    288962·text·2.4 KB·2006-12-22 19:07 UTC
    #!/bin/sh
    
    # kadu-config
    #
    # Tool for retrieving the library/include paths Kadu was compiled with.
    #
    # Useful for folks compiling their own Kadu modules outside the main
    # source tree.
    #
    # Ba
  • Mine

    288961·text·1.0 KB·2006-12-22 19:05 UTC
    select distinct
    case
     when month(Date) between 1 and 3 then
     cast(year(Date) as varchar) + 'Q1'
     when month(Date) between 4 and 6 then
     cast(year(Date) as varchar) + 'Q2'
     when month(Date) bet
  • shortest path algo

    288958·text·1.3 KB·2006-12-22 19:02 UTC
    % Taking number of input nodes from user
    n=input('Please enter the number of nodes less than 26 = ');
    
    % Checking for bad input
    if n > 26
     error('Plzz follow the instructions ')
    end
    
    % Defi
  • Untitled

    288956·text·1.0 KB·2006-12-22 19:00 UTC
    select
    distinct
    case
     when month(Date) between 1 and 3 then
     cast(year(Date) as varchar) + 'Q1'
     when month(Date) between 4 and 6 then
     cast(year(Date) as varchar) + 'Q2'
     when month(Date) be
  • Untitled

    288953·text·1.3 KB·2006-12-22 18:59 UTC
    <?php 
    
    //seturl 
    $rsname = $_GET['rsname']; 
    $hiscoreurl = "http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1="; 
    $hiscoreurl .= $rsname; 
    
    //get data 
    $data = file_
  • Mine

    288952·text·149 B·2006-12-22 18:59 UTC
    X Error: BadDevice, invalid or uninitialized input device 168
     Major opcode: 145
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device
  • Anonymous

    288949·text·331 B·2006-12-22 18:56 UTC
    <?php
    class test
    {
     private $data;
     private $name;
     
     public function __construct($data)
     {
     $this->data = $data;
     }
    
     public function foo($data)
     {
     return $this->data . $data;
     }
    }
  • Jemt

    288947·java·226 B·2006-12-22 18:55 UTC
    package tvguide;
    
    public class Main
    {
     public Main()
     {
     }
     
     public static void main(String[] args)
     {
     //new MainForm().setVisible(true);
     new TestJFrame().s
  • Miscellany

    288946·text·799 B·2006-12-22 18:54 UTC
    #!/usr/bin/perl
    
    use NetAddr::IP;
    use LWP::Simple;
    
    if ($#ARGV == 1){
     print("Useage: ./scanner <ip range>\n");
     print(" ex: ./scanner 192.168.1.1/24\n");
     print("$ARGV
  • Someone

    288945·text·2.3 KB·2006-12-22 18:52 UTC
    on *:TEXT:!stats*:#lordsoflaughter,#Yami,#solarcombat:{
     if (!$2) {
     %nm = $nick
     }
     else {
     %nm = $2
     }
     %line = $read(ircstats_actions.txt, s, %nm)
     if (%line != $null) {
     %a
  • Jemt

    288944·java·763 B·2006-12-22 18:51 UTC
    package tvguide;
    
    public class TestJFrame extends javax.swing.JFrame
    {
     public TestJFrame()
     {
     super("Test title");
     
     initComponents();
     }
    
     // <editor-fold default
  • i want a monkey

    288942·text·73 B·2006-12-22 18:51 UTC
    on *:invite:#:{
     if ($nick isop $chan) || ($nick ishop $chan) join #
    }
  • Someone

    288938·text·78 B·2006-12-22 18:47 UTC
    on *:invite:#:{
     if ($nick isop $chan) || ($nick ishop $chan)
     join #
    }
  • Untitled

    288933·text·959 B·2006-12-22 18:43 UTC
    #include<stdio.h>
    #include<stdlib.h>
    
    int **aloca_vet(int i,int j)
    {
    int **v;
    int aux;
    if (i<1 || j<1){
    printf("ERRO!\n");
    return (NULL);
    }
    v=(int **)calloc(i,sizeof(int *));
    if (v==NULL
  • Jemt

    288932·java·416 B·2006-12-22 18:43 UTC
    package tvguide;
    
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.swing.DefaultComboBoxModel;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    
    publi
  • Jemt

    288931·java·359 B·2006-12-22 18:41 UTC
    package tvguide;
    
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.swing.DefaultComboBoxModel;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    
    publi
  • Anonymous

    288930·text·2.5 KB·2006-12-22 18:40 UTC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    char lematriz(char **matriz,int m,int n){
     int a,b,c;
     for(a=0;a<m;a++){
     for(b=0;b<n;b++){
  • Someone

    288928·text·240 B·2006-12-22 18:39 UTC
    panicroom:~# apt-cache search gcc | awk '{ print $1 }' | xargs dpkg -l 2>/dev/null | egrep '^ii' | awk '{ print $2 }'
    cpp
    cpp-4.1
    dpkg-dev
    gcc
    gcc-3.4-base
    gcc-4.1
    gcc-4.1-base
    gcj-4.1-base
    l
  • Something

    288927·apache·138 B·2006-12-22 18:38 UTC
    so this (my current setup)
     DocumentRoot C:/program files/xampp/htdocs/
    should be:
     DocumentRoot "C:/program files/xampp/htdocs/"
  • Stuff

    288926·text·1.5 KB·2006-12-22 18:37 UTC
    [root@mred smtp]# tail current
    @40000000458c25da2d68b3d4 tcpserver: ok 26826 ns1.drakemorton.com:204.11.16.210:25 213-190-61-22.ip.zebra.lt:213.190.61.22::3487
    @40000000458c25db07fb2cbc tcpserver: e
  • jump

    288924·csharp·1.0 KB·2006-12-22 18:36 UTC
    if(strcmp(cmd, "/jump", true) == 0) {
     new high;
     
     GetPlayerName(playerid, giveplayer, MAX_PLAYER_NAME);
    
     if (GetPlayerState(playerid) == PLAYER_STATE_NONE || GetPlayerState(playe
  • loxley

    288923·text·1.7 KB·2006-12-22 18:36 UTC
    l,--rpath -Wl,/usr/local/lib/mysql -Wl,--rpath -Wl,/usr/local/lib/mysql
    /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0x5c5): In function `_getopt_internal':
    : und
Page 34 of 155