New paste›Public feed

Public feed

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

    943858·text·8.4 KB·2008-03-15 17:35 UTC
    Session Start: Sat Mar 15 11:28:01 2008
    Session Ident: WhatMan
    00[11:28:01] •››››››››››››››››››››››››››››››››››››››››››› ››››› ››› ›› ›› ›› › ›
    00[11:28:01] ::: Query with (WhatMan)/(whatman@wha
  • Someone

    943857·text·1.3 KB·2008-03-15 17:35 UTC
    Comment는 Readability와 Writeability에 영향을 줍니다.
    
    1가지 예를 들어 설명하겠습니다.
    
     
    
    도스의 Batch File의 경우 주석은 항상 REM으로 줄에 대해서만 적용됩니다.
    
    따라서 어떤 인자에 대한 설명을 하고자 하면 다음과 같은 형태로 하게 됩니다.
    
    (cf. 도스에서는 줄단위 처리를 하기 때문에 명령
  • Someone

    943856·php·726 B·2008-03-15 17:33 UTC
    function TrainStat($trains, $stat, $User){
     $Allowed = array('strength', 'dexterity', 'relex', 'accuracy');
     if(in_array($stat, $Allowed)){
     $trains = floor($trains);
     $energy = $trains * 10
  • Someone

    943855·text·726 B·2008-03-15 17:33 UTC
    function TrainStat($trains, $stat, $User){
     $Allowed = array('strength', 'dexterity', 'relex', 'accuracy');
     if(in_array($stat, $Allowed)){
     $trains = floor($trains);
     $energy = $trains * 10
  • batallanaval

    943854·text·2.8 KB·2008-03-15 17:33 UTC
    /* Se tiene un tablero de N filas y M columnas para el juego de la batalla naval.
     En el mismo todos los barcos se posicionan en forma horizontal. Inicialice todos
     los casilleros marcados con "Agua
  • Anonymous

    943853·text·584 B·2008-03-15 17:32 UTC
    show redundancy states 
     my state = 13 -ACTIVE 
     peer state = 8 -STANDBY HOT 
     Mode = Duplex
     Unit = Primary
     Unit ID = 1
    Redundancy Mode (Operational) = rp
  • Unnamed

    943852·text·1.8 KB·2008-03-15 17:31 UTC
    show redundancy 
    Redundant System Information :
    ------------------------------
     Available system uptime = 6 days, 21 hours, 57 minutes
    Switchovers system experienced = 2
  • Etwas

    943849·text·1.4 KB·2008-03-15 17:28 UTC
    diff -ur pidgin-2.4.0/pidgin/gtkstatusbox.c pidgin-2.4.0-new/pidgin/gtkstatusbox.c
    --- pidgin-2.4.0/pidgin/gtkstatusbox.c 2008-02-29 13:09:29.000000000 +0100
    +++ pidgin-2.4.0-new/pidgin/gtkstatusbox
  • DM script for Brandon

    943848·actionscript·36.4 KB·2008-03-15 17:28 UTC
    
        
  • Stuff

    943846·text·978 B·2008-03-15 17:28 UTC
    root@Steak:~# dvd+rw-mediainfo /dev/hdc
    INQUIRY: [HL-DT-ST][DVD-RAM GSA-H20N][1.00]
    GET [CURRENT] CONFIGURATION:
     Mounted Media: 1Ah, DVD+RW
     Media ID: SONY/S11
  • Anonymous

    943843·text·2.3 KB·2008-03-15 17:23 UTC
    Imports System.Text.RegularExpressions
    
    Public Class Form1
    
     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
     ws.RemotePort =
  • Growl irssi remote

    943842·bash·200 B·2008-03-15 17:22 UTC
    #!/bin/sh
    ssh $uniserverdeinerwahl "tail -n 10 .irssi/fnotify ; : > .irssi/fnotify ; tail -f .irssi/fnotify " | while read heading message; do growlnotify -s -t "${heading}" -m "${message}"; done
  • Unnamed

    943838·text·3.9 KB·2008-03-15 17:17 UTC
    void ObjectMgr::LoadQuestLocales()
    {
     QueryResult *result = WorldDatabase.Query("SELECT entry,"
     "Title_loc1,Details_loc1,Objectives_loc1,OfferRewardText_loc1,RequestItemsText_loc1,EndTex
  • Mine

    943835·text·786 B·2008-03-15 17:14 UTC
    int _tunnel_create_device(tunnel * tun) {
     struct ifreq ifr;
     struct ifreq ifrq;
     int fd;
     int s;
     struct sockaddr_in *sin;
    
     if((fd = open("/dev/net/tun", O_RDWR)) < 0) {
     return -1;
     }
  • Untitled

    943830·text·39.0 KB·2008-03-15 17:09 UTC
    
        
  • Someone

    943827·text·13.4 KB·2008-03-15 17:07 UTC
    Sat Mar 15 12:05:46 unknown NES[495] <Warning>: *** _NSAutoreleaseNoPool(): Object 0x208b50 of class NSPathStore2 autoreleased with no pool in place - just leaking\nStack: (0x306f67ef 0x30694f8f 0x306
  • DiSlord

    943825·diff·1.7 KB·2008-03-15 17:05 UTC
    Index: Player.cpp
    ===================================================================
    --- Player.cpp (revision 5433)
    +++ Player.cpp (working copy)
    @@ -10614,7 +10614,29 @@
     if(enc
  • Something

    943824·text·1.0 KB·2008-03-15 17:02 UTC
    #include <stdio.h>
    #include <sys/types.h>
    #include <unistd.h>
    
    main()
    {
     pid_t childpid ;
     int pipeid[2];
     int stat;
    
     stat = pipe( pipeid );
    
     if (stat ) {
     exit(1
  • Unbenannt

    943823·text·100.5 KB·2008-03-15 16:59 UTC
    
        
  • Untitled

    943822·text·39.3 KB·2008-03-15 16:59 UTC
    
        

older pastes →