New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • dbtid/JFFS2 log

    994459·text·15.4 KB·2008-04-23 12:51 UTC
    dmesg
     Scanning block at 0xf4000
    jffs2_scan_eraseblock(): Scanning block at 0xf8000
    jffs2_scan_eraseblock(): Scanning block at 0xfc000
    jffs2_scan_eraseblock(): Scanning block at 0x100000
    jffs2_sc
  • Someone

    994458·text·899 B·2008-04-23 12:50 UTC
    input=$1
    output=$2
    temp=$1.temp
    
    # Video encoding passes
    mencoder "$input" -o "$temp" -oac copy -ovc lavc -srate 11025 -channels 1 -af-adv force=1 -lavcopts vcodec=mpeg4:vbitrate=496:vpass=1 -v
  • root

    994457·text·38.4 KB·2008-04-23 12:50 UTC
    
        
  • Jemand

    994456·text·896 B·2008-04-23 12:50 UTC
    resource drbd0 {
     protocol C;
    
     handlers {
     incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";
    
     }
    
     startup {
     degr-wfc-timeout 120; # 2 minutes.
     }
  • Something

    994455·text·1014 B·2008-04-23 12:45 UTC
    void SocketReaderRunnable::run()
    {
     if(!sSocketManager.GetEventBase())
     {
     sLog.outError("<Socket manager> Couldn't start Socket worker thread. Event_base is wrong!");
     return;
     }
    
     sLog.o
  • Anonym

    994452·text·2.0 KB·2008-04-23 12:44 UTC
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    #define SPECIAL_CHAR
    
    class BB1MainClass
    {
     public:
     int CharID(char idC);
     int CharIDEx(char idc)
  • Something

    994451·text·1.1 KB·2008-04-23 12:43 UTC
    void SocketManager::Debug_CheckSockets()
    {
     m_Mutex.Lock();
     SocketBase* pSocket = NULL;
     for(SocketSet::iterator itSocket = m_sockets.begin(); itSocket != m_sockets.end(); ++itSocket)
     {
     pSoc
  • Something

    994450·text·1.1 KB·2008-04-23 12:41 UTC
    void SocketManager::Debug_CheckSockets()
    {
     m_Mutex.Lock();
     SocketBase* pSocket = NULL;
     for(SocketSet::iterator itSocket = m_sockets.begin(); itSocket != m_sockets.end(); ++itSocket)
     {
     pSoc
  • Anonym

    994449·text·311 B·2008-04-23 12:41 UTC
    AddStaticVehicle(497,2648.8909,1209.1418,27.1230,89.8451,0,11); // maverick CIS
    AddStaticVehicle(596,2645.2598,1181.3680,10.5355,181.2791,0,11); // pd_cis
    AddStaticVehicle(490,2650.5042,1181.7062,10
  • Stuff

    994444·python·409 B·2008-04-23 12:32 UTC
    >>> from ConfigParser import ConfigParser
    >>> config = ConfigParser()
    >>> config.add_section("hello")
    >>> config.set("hello","key","dayu")
    >>> config.write("/home/mahoru/test")
    Traceback (most re
  • Stuff

    994443·text·289 B·2008-04-23 12:31 UTC
    I need something like the following 
    
    incoming URL: /member/view.php?userId=1234
    Redirect To : http://someothetul/member/1234
    
    I was thinking of something like 
    
    RedirectMatch 301 ^/member/v
  • Miscellany

    994442·text·236 B·2008-04-23 12:26 UTC
    <?php
    $string = '<foo>hej</foo>';
    $pattern = '/(<foo>+)(\w+)(<\/foo>+)/i'; // \w står for noget i retning af word boundary
    $replacement = '<bar>$2</bar>';
    
    echo preg_replace($pattern, $replace
  • Unnamed

    994440·text·1.2 KB·2008-04-23 12:24 UTC
    config.status: creating src/modules/loaders/edb/Makefile
    config.status: creating src/modules/loaders/eet/Makefile
    config.status: creating src/modules/loaders/gif/Makefile
    config.status: creating sr
  • Peiks js-problem

    994439·text·1.5 KB·2008-04-23 12:19 UTC
    function isDate(value)
    {
     // ddmmåååå
     var datePattern = /^\d{2}\d{2}\d{4}$/g;
     // dd.mm.åååå
     var datePatternDots = /^\d{2}\.\d{2}\.\d{4}$/g;
     var dateElements = new Array(3);
  • Untitled

    994438·text·23 B·2008-04-23 12:19 UTC
    天使のいない12月
  • faetzminator

    994437·apache·1.9 KB·2008-04-23 12:18 UTC
    #
    # Virtual Hosts
    #
    # If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts s
  • faetzminator

    994436·apache·17.7 KB·2008-04-23 12:18 UTC
    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detai
  • Stuff

    994435·text·526 B·2008-04-23 12:18 UTC
    (22:14:54) (+TheTamer) were
    (22:15:50) (+TheTamer) is this random u mean?
    (22:15:53) (+TheTamer) i can talk here?
    (22:16:08) (+TheTamer) hello people from my planet
    (22:16:23) (+TheTamer) i come i
  • faetzminator

    994434·apache·18.1 KB·2008-04-23 12:17 UTC
    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detai
  • faetzminator

    994432·apache·1.5 KB·2008-04-23 12:16 UTC
    #
    # Virtual Hosts
    #
    # If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts s

older pastes →