All pastesPublic feed

Public feed

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

    2034822·c·788 B·2010-12-31 04:40 UTC
    /* sample example: `gcc -o foo bar -lm`
    * having inane equation n(n+sqrt(n))=L where:
    * n increments as m=1; n=(++m)**2 .. so only integers are used
    * the highest value of sqrt(n) is FF (255) so n cou
  • dpecka

    2034804·c·718 B·2010-12-31 04:09 UTC
    /* sample example:
    * having inane equation n(n+sqrt(n))=L where:
    * n increments as m=1; n=(++m)**2 .. so only integers are used
    * the highest value of sqrt(n) is FFFF (255) so n could be up to 255**2
  • dpecka

    2034803·c·743 B·2010-12-31 04:07 UTC
    /* sample example:
    * having inane equation n(n+sqrt(n))=L where:
    * n increments as m=1; n=(++m)**2 .. so only integers are used
    * the highest value of sqrt(n) is FFFF (255) so n could be up to 255**2
  • dpecka

    2034800·perl·1.5 KB·2010-12-31 03:56 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 identifie
  • dpecka

    2034789·c·743 B·2010-12-31 03:28 UTC
    /* sample example:
    * having inane equation n(n+sqrt(n))=L where:
    * n increments as m=1; n=(++m)**2 .. so only integers are used
    * the highest value of sqrt(n) is FFFF (255) so n could be up to 255**2
  • dpecka

    2034782·text·7.4 KB·2010-12-31 03:13 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

    2034629·text·44 B·2010-12-30 22:43 UTC
    HELLO HAKIM!!! HAPPY NEW YEA!!! =)))))))))))
  • root

    2034585·text·1.3 KB·2010-12-30 21:57 UTC
    c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
    c0t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
    c0t3d0 Soft Errors: 0 Hard Errors: 0 Transport Errors:
  • root

    2034570·text·14.0 KB·2010-12-30 21:43 UTC
    System Configuration: Sun Microsystems sun4v Sun Netra T5220
    Memory size: 32640 Megabytes
    
    ================================ Virtual CPUs ================================
    
    CPU ID Frequency Implement
  • root

    2034567·text·14.0 KB·2010-12-30 21:41 UTC
    System Configuration: Sun Microsystems sun4v Sun Netra T5220
    Memory size: 32640 Megabytes
    
    ================================ Virtual CPUs ================================
    
    CPU ID Frequency Implement
  • root

    2034563·text·1.8 KB·2010-12-30 21:38 UTC
    Remote Port WWN: 201200a0b856750c
     Active FC4 Types: 
     SCSI Target: yes
     Node WWN: 200200a0b856750c
     Link Error Statistics:
     Link Failure Count: 24
     Loss of Sync Count: 448
     Loss of Signal Count: 9
  • root

    2034560·text·798 B·2010-12-30 21:33 UTC
    HBA Port WWN: 10000000c991abfc
     OS Device Name: /dev/cfg/c1
     Manufacturer: Emulex
     Model: LPe11002-S
     Firmware Version: 2.82a4 (Z3F2.82A4)
     FCode/BIOS Version: Boot:5.02a1 Fcode:1.50a9
     Serial Number:
  • root

    2034559·text·3.0 KB·2010-12-30 21:29 UTC
    Searching for disks...
    Illegal request during read
    ASC: 0x94 ASCQ: 0x1
    Illegal request during read
    ASC: 0x94 ASCQ: 0x1
    Illegal request during read
    ASC: 0x94 ASCQ: 0x1
    Illegal request during read
  • root

    2034557·text·2.3 KB·2010-12-30 21:29 UTC
    Searching for disks...
    done
    
    AVAILABLE DISK SELECTIONS:
     0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
     /pci@0/pci@0/pci@2/scsi@0/sd@0,0
     1. c0t1d0 <SUN146G cyl 14087 alt 2 h
  • root

    2034544·text·542 B·2010-12-30 21:15 UTC
    DEVICE PROPERTIES for disk: /dev/rdsk/c1t1d7s2
     Vendor: SUN 
     Product ID: CSM200_R 
     Revision: 0760
     Serial Num: SG94215606 
     Unformatted capacity: 285590.000 MBytes
     Write C
  • root

    2034543·text·982 B·2010-12-30 21:14 UTC
    devfsadm[23046]: verbose: SUNW_port_link: port monitor ttymon0 added
    devfsadm[23046]: verbose: SUNW_port_link: /dev/term/0 added to sacadm
    devfsadm[23046]: verbose: SUNW_port_link: /dev/term/1 added t
  • root

    2034542·text·982 B·2010-12-30 21:14 UTC
    devfsadm[23032]: verbose: SUNW_port_link: port monitor ttymon0 added
    devfsadm[23032]: verbose: SUNW_port_link: /dev/term/0 added to sacadm
    devfsadm[23032]: verbose: SUNW_port_link: /dev/term/1 added t
  • root

    2034541·text·5.7 KB·2010-12-30 21:14 UTC
    c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
    Vendor: SEAGATE Product: ST914603SSUN146G Revision: 0868 Serial No: 1008831CDK 
    Size: 146.81GB <146810536448 bytes>
    Media Error: 0
  • dpecka

    2034539·text·7.4 KB·2010-12-30 21:12 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
  • Untitled

    2034512·text·769 B·2010-12-30 20:33 UTC
    ###########
    ## Redmine
    ###########
    
    # installed mongrel:
    sudo gem install mongrel
    # installed mongrel cluster:
    sudo gem install mongrel_cluster
    
    # configure 3 instances of mongrel cluster (po

older pastes →