All pastes›Public feed

Public feed

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

    1883642·text·7.0 KB·2010-06-15 14:43 UTC
    <?php
    
    if ( function_exists('register_sidebar') )
    {
     register_sidebar(array(
     'before_widget' => '<li id="%1$s" class="widget %2$s">',
     'after_widget' => '</li>',
     'be
  • bob

    1883595·text·22.8 KB·2010-06-15 13:42 UTC
    From 168acfc4f20426cb4a906822da7cc22e8a027700 Mon Sep 17 00:00:00 2001
    From: Robert Bragg <robert@linux.intel.com>
    Date: Thu, 10 Jun 2010 19:03:57 +0100
    Subject: [PATCH] material: Support sparse ARBfp
  • enkidu

    1883594·diff·1.2 KB·2010-06-15 13:42 UTC
    --- ffserver.c.old 2010-06-15 15:36:46.684262796 +0200
    +++ ffserver.c 2010-06-15 15:32:01.967265393 +0200
    @@ -2064,7 +2064,7 @@
     current_bandwidth, max_bandwidth);
     
     url_fpr
  • chroot

    1883576·text·938 B·2010-06-15 12:51 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883574·text·936 B·2010-06-15 12:49 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883573·text·130 B·2010-06-15 12:48 UTC
    ls
    search -f /vmlinuz
    set root=(hdX,Y)
    ls /boot
    insmod /boot/grub/linux.mod
    linux /vmlinuz root=/dev/sdXY
    initrd /initrd.img
    boot
  • martin

    1883572·text·936 B·2010-06-15 12:48 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883569·text·136 B·2010-06-15 12:47 UTC
    ls
    search -f /vmlinuz
    set root=(hdX,Y)
    ls /boot
    insmod /boot/grub/linux.mod
    linux /vmlinuz root=/dev/sdXY
    initrd /initrd.img
    boot
  • martin

    1883568·text·130 B·2010-06-15 12:47 UTC
    ls
    search -f /vmlinuz
    set root=(hdX,Y)
    ls /boot
    insmod /boot/grub/linux.mod
    linux /vmlinuz root=/dev/sdXY
    initrd /initrd.img
    boot
  • martin

    1883567·text·936 B·2010-06-15 12:46 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883566·text·914 B·2010-06-15 12:46 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind /dev /m
  • martin

    1883565·text·946 B·2010-06-15 12:45 UTC
    how do I save installed packages in a list and restore ...
     
    rpm -qa > installed-software.log
    yum install $(cat installed-software.log)
     
    sorting rpm packages by size
    rpm -qa --qf '%{SIZE}\t%{NA
  • martin

    1883564·text·918 B·2010-06-15 12:45 UTC
    how do I save installed packages in a list and restore ...
     
    rpm -qa > installed-software.log
    yum install $(cat installed-software.log)
     
    sorting rpm packages by size
    rpm -qa --qf '%{SIZE}\t%{NAME}\n'
  • martin

    1883562·text·955 B·2010-06-15 12:44 UTC
    Linux instructions
     
    If you are already running a Linux machine, follow these instructions:
     
    1. Plug your USB stick and learn how your USB stick is recognized by the system:
    # ls -l /dev/disk/
  • martin

    1883561·text·939 B·2010-06-15 12:43 UTC
    Linux instructions
     
    If you are already running a Linux machine, follow these instructions:
     
    1. Plug your USB stick and learn how your USB stick is recognized by the system:
    # ls -l /dev/disk/by-id
  • martinmartiini

    1883557·text·2.5 KB·2010-06-15 12:21 UTC
    # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distrib
  • martin

    1883555·text·2.5 KB·2010-06-15 12:19 UTC
    # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribut
  • Stuff

    1883552·text·254 B·2010-06-15 12:11 UTC
    #include <stdlib.h>
    #include <time.h>
    #include <errno.h>
    
    int main()
    {
     struct tm tm;
     tm.tm_year = 3000; tm.tm_mon = 0; tm.tm_mday = 0;
     tm.tm_hour = 0; tm.tm_min = 0; tm.tm_sec = 0; tm.tm
  • bob

    1883514·text·1.5 KB·2010-06-15 10:57 UTC
    From fac1275822d8f38b8834350a0364d39d1be4e218 Mon Sep 17 00:00:00 2001
    From: Robert Bragg <robert@linux.intel.com>
    Date: Tue, 15 Jun 2010 02:31:48 +0100
    Subject: [PATCH] texture cache: don't dereferen
  • CANPAN Blog Comment HTML

    1883497·text·5.6 KB·2010-06-15 10:10 UTC
    <!-- コメント関連 Start -->
     <BlogEntryIfAllowComments>
     <div class="comment">
    
     <!-- コメントする Start-->
     <div class="comment_title"><a id="commentform"></a>コ

older pastes →