All pastesPublic feed

Public feed

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

    2076608·text·1.3 KB·2011-06-08 07:50 UTC
    STEPS
    1. yum install bind
    2. vim /etc/named.conf
    options {
     #listen-on port 53 { 127.0.0.1; };
     #listen-on-v6 port 53 { ::1; };
     directory "/var/named";
    # dump-
  • Unnamed

    2076607·text·1.4 KB·2011-06-08 07:43 UTC
    class Ads extends Controller {
    
     function __construct()
     {
     parent::Controller();
     }
    
     function index()
     {
     if($this->session->userdata('appID')){
     $this->load->model('fte_db');
     $msg
  • Untitled

    2076605·bash·411 B·2011-06-08 07:37 UTC
    # Создаешь 2 файла и даешь им права на исполнения chmod +x имя файла
    
    # Пример для 2-х языков
    setxkbmap -layout "us,ru(winkeys),ua" -option "grp:alt_shift_toggle,grp_led:scroll" -model pc105
    
    # П
  • Miscellany

    2076600·diff·569 B·2011-06-08 07:19 UTC
    --- woof-LATEST-orig/rootfs-skeleton/usr/bin/dir2pet 2011-06-07 17:27:53.769411425 +0800
    +++ woof-LATEST/rootfs-skeleton/usr/bin/dir2pet 2011-06-08 07:17:02.872655279 +0800
    @@ -353,9 +353,10 @@ echo
  • Mine

    2076599·bash·569 B·2011-06-08 07:19 UTC
    --- woof-LATEST-orig/rootfs-skeleton/usr/bin/dir2pet 2011-06-07 17:27:53.769411425 +0800
    +++ woof-LATEST/rootfs-skeleton/usr/bin/dir2pet 2011-06-08 07:17:02.872655279 +0800
    @@ -353,9 +353,10 @@ echo
  • Giuly

    2076594·python·348 B·2011-06-08 07:02 UTC
    #!/usr/bin/pyhton
    i = 9
    primes = [3,5,7]
    
    print "Prime found: 3"
    print "Prime found: 5"
    print "Prime found: 7"
    
    def multipleOfPrime(prime):
     for prime in primes:
     if i%prime =
  • seg_fault

    2076590·text·3.0 KB·2011-06-08 06:53 UTC
    I am compiling a file connMan.cxx for mini6410 ,through openemmbedded ,the file gets compiled properly but when I run the complied binary on mini6410 target ,it gives seg fault on the xterm at the
  • thom

    2076589·text·4.8 KB·2011-06-08 06:51 UTC
    Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru) (Redone by snowy)
    (Updated by thom)
    -------------------------------------------------------
    Installing Debian Squeeze with debootstrap on peti
  • seg_fault

    2076588·text·3.0 KB·2011-06-08 06:50 UTC
    I am compiling a file connMan.cxx for mini6410 ,through openemmbedded ,the file gets compiled properly but when I run the complied binary on mini6410 target ,it gives seg fault on the xterm at the
  • Unnamed

    2076587·text·1.8 KB·2011-06-08 06:50 UTC
    :::::BeanbagGladiator:::::
    
    ::PLAYER::
    You are a Beanbag Gladiator.
    You must manage your Clean (C), Lazy (L), Food (F), and Joy (J).
    You have up to five cards in your area. If a card would enter
  • thom

    2076586·text·4.7 KB·2011-06-08 06:49 UTC
    Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru) (Redone by snowy)
    -------------------------------------------------------
    Installing Debian Squeeze with debootstrap on petitboot
    ------------
  • Mine

    2076585·text·507 B·2011-06-08 06:47 UTC
    Unsafe.park(boolean, long) line: not available [native method] 
    LockSupport.parkNanos(Object, long) line: 198 
    SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue$TransferStack$SNode, b
  • Giuly

    2076583·python·292 B·2011-06-08 06:41 UTC
    #!/usr/bin/python
    i = 7
    primes = []
    
    print "Prime found: 3"
    print "Prime found: 5"
    print "Prime found: 7"
    while 1:
     i += 2
     if i%3 == 0 or i%5 == 0 or i%7 == 0:
     continue
    
     for prime in p
  • Something

    2076582·text·7.2 KB·2011-06-08 06:39 UTC
    0
    changes
    Rag_on_a_Stick Tool. I warsh mahself wit a rag onna stick. You get +1 HYG, +1 LAZ.
    Breath_Mint Food. Curiously strong... You get +1 HYG
    Floss Tool. Minty, Waxy. You get +1 HYG.
    Tooth
  • Someone

    2076581·text·866 B·2011-06-08 06:38 UTC
    void GetBuildingCount(int marineCount,int int[,] marinePositions) 
    { 
    int i,x,y,rows=0,columns=0;
    
    static int [] markx =new int[9];
     static int [] marky =new int[9];
  • Unnamed

    2076580·text·1.8 KB·2011-06-08 06:36 UTC
    :::::BeanbagGladiator:::::
    
    ::PLAYER::
    You are a Beanbag Gladiator.
    You must manage your Clean (C), Lazy (L), Food (F), and Joy (J).
    You have up to five cards in your area. If a card would enter
  • Giuly

    2076579·python·292 B·2011-06-08 06:34 UTC
    #!/usr/bin/pyhton
    i = 7
    primes = []
    
    print "Prime found: 3"
    print "Prime found: 5"
    print "Prime found: 7"
    while 1:
     i += 2
     if i%3 == 0 or i%5 == 0 or i%7 == 0:
     continue
    
     for prime in p
  • Giuly

    2076577·python·304 B·2011-06-08 06:32 UTC
    #!/usr/bin/pyhton
    i = 7
    primes = []
    
    print "Prime found: 3"
    print "Prime found: 5"
    print "Prime found: 7"
    while 1:
     i += 1
     if i%2 == 0 or i%3 == 0 or i%5 == 0 or i%7 == 0:
     continue
    
     fo
  • Untitled

    2076574·text·13.6 KB·2011-06-08 06:13 UTC
    <?php
    class front_page{
     static $adds = true;
     static function get_categories( $nr = -1 ){
     $categories = get_categories();
    
     $result = array();
     foreach($categories
  • Mine

    2076568·text·2.9 KB·2011-06-08 05:57 UTC
    INFO: Feed optware/cs05q1armel/cross/unstable selected
    INFO: Pushing feed optware/cs05q1armel/cross/unstable ipks to ipkg2
    Permission denied, please try again.
    Permission denied, please try again.

older pastes →