New paste›Public feed

Public feed

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

    979819·php·277 B·2008-04-10 16:41 UTC
    Given Output:
    
    /Dir1/Dir2/gametap_setup.exe
    //Dir2_2/Dir3/File.exe
    //File2.exe
    //Dir3_2/File3.exe
    //File4.exe
    /
    
    Desired output
    
    /Dir1/Dir2/gametap_setup.exe
    /Dir1/Dir2_2/Dir3/File.exe
    /D
  • freghar

    979814·diff·1.7 KB·2008-04-10 16:38 UTC
    Index: Player.cpp
    ===================================================================
    --- Player.cpp (revision 5587)
    +++ Player.cpp (working copy)
    @@ -1833,14 +1833,12 @@
     bool Player::CanInter
  • Stuff

    979813·text·708 B·2008-04-10 16:38 UTC
    alias mass {
     if ($me isop $chan) {
     if ($1 isin +vvoice) { set %prefix $+(+,$str(v,$modespl)) | goto start }
     if ($1 isin -vdevoice) { set %prefix $+(-,$str(v,$modespl)) }
     if ($1 isin
  • Mine

    979807·php·227 B·2008-04-10 16:35 UTC
    function recursion($xml)
    {
     if(!is_array($xml))
     {
     if(!strpbrk($xml,"."))
     {
     echo "/".$xml; 
     }
     else
     {
     echo "/".$xml."\n";
     }
     }
     else
     {
     foreach($xml as $v1)
     {
  • Untitled

    979805·text·6.6 KB·2008-04-10 16:34 UTC
    Array
    (
     [Directory] => Array
     (
     [_a] => Array
     (
     [Name] => Dir1
     )
    
     [_c] => Array
     (
  • root

    979803·text·197 B·2008-04-10 16:33 UTC
    meta-task-2008.1-21mdv2008.1
    task-3ddesktop-gtk-2008.1-1mdv2008.1
    task-pulseaudio-2008.1-4mdv2008.1
    task-x11-2008.1-3mdv2008.1
    task-xfce-minimal-4.4.2-1mdv2008.1
    xfce4-taskmanager-0.4.1-2mdv2008.1
  • Stuff

    979801·text·2.9 KB·2008-04-10 16:33 UTC
    
        
  • Untitled

    979800·text·7.8 KB·2008-04-10 16:33 UTC
    Array
    (
     [Directory] => Array
     (
     [_a] => Array
     (
     [Name] => Dir1
     )
    
     [_c] => Array
     (
  • Mine

    979799·text·260 B·2008-04-10 16:32 UTC
    <?php
    include ('dbconnect.php');
    $date = date('Y-m-d H:i;s' , time());
    echo $date;
    
     
     $sql = "INSERT INTO call_log(date_created) VALUES ({$_POST['date']},)";
     if($_POST){
     
     $result
  • Mine

    979798·text·308 B·2008-04-10 16:31 UTC
    CASA GONZALEZ (logo con letras rojas)
    
    LA CASA DE LOS REGALOS
    
    Mercería
    Cristalería
    Regalos
    Papelería
    Copias
    Fax
    Abarrotes
    Ropa para niñas
    
    Quipos para bautizos, bodas y XV años
    
    Escob
  • Something

    979797·text·7.9 KB·2008-04-10 16:28 UTC
    (19:14:01) Sharpie: Math.Abs(pos3.GetInfo() - pos2.GetInfo())
    (19:14:08) Sharpie: אתה לא צריך את הABS
    (19:14:10) Shay: חחחחחחחח מה
    (19:14:13) Shay: בטח שכן
    (19:14
  • Untitled

    979796·text·902 B·2008-04-10 16:27 UTC
    #include<iostream>
    using namespace std;
    struct train
    {
    int nomer;
    double times;
    char finish[20];
    };
    int main()
    {
    train account[5];
    for(int i=0; i<=5; i++)
    {
    cout<<"Введите номер поезда: "
  • Something

    979793·text·3 B·2008-04-10 16:24 UTC
    123
  • Someone

    979792·text·67 B·2008-04-10 16:24 UTC
    127.0.0.1 localhost
    192.168.0.29 localhost.umbrella.siol localhost
  • Miscellany

    979791·c·551 B·2008-04-10 16:24 UTC
    #include <Etk.h>
    
    Etk_Widget *window;
    Etk_Widget *button;
    
    void _clicked_cb(void *data)
    {
     etk_window_center_on_window(ETK_WINDOW(window), NULL);
    }
    
    int main(int argc, char **argv)
    {
     et
  • Someone

    979789·text·59 B·2008-04-10 16:23 UTC
    127.0.0.1 localhost
    192.168.0.29 localhost.umbrella.siol
  • Someone

    979782·text·61 B·2008-04-10 16:17 UTC
    127.0.0.1 localhost
    192.168.1.100 gnu.cpe.cableone.net gnu
  • view helper

    979780·php·353 B·2008-04-10 16:17 UTC
    //VIEW HELPERS
    $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');
    $viewRenderer->initView();
    
    $view = new Zend_View(array('encoding' => 'utf-8'));
    $view->addHel
  • Stuff

    979778·sql·4.9 KB·2008-04-10 16:15 UTC
    mysql> EXPLAIN SELECT members.`id` AS t0_r0, members.`name` AS t0_r1, members.`member_since` AS t0_r2, members.`city` AS t0_r3, members.`last_active` AS t0_r4, members.`description` AS t0_r5, members.
  • Someone

    979775·text·306 B·2008-04-10 16:14 UTC
    127.0.0.1 localhost umbrella.siol
    127.0.1.1 umbrella.siol
    
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix

older pastes →