All pastes›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • nasty LVM hacks

    2050604·text·1.4 KB·2011-04-25 20:17 UTC
    Broken_raid
    
    how to go from mirroring raid to LVM on mirroring raid on the fly
    
    1/ remove one of the drives from the raid we wish to migrate from
    2/ build a new mirroring raid with 1 drive and on
  • Someone

    2050603·cpp·1.3 KB·2011-04-25 20:17 UTC
    #include <fstream>
    #include <iostream>
    #include <sstream>
    
    #include "pugixml.hpp"
    #include "TemplateReader.hpp"
    
    TemplateReader::TemplateReader () {
    
    }
    
    TemplateReader::~TemplateReader () {
  • Untitled

    2050602·text·89 B·2011-04-25 20:15 UTC
    Cum dīcis, lusciniae cantant.
     Cum complectimur, est possibilis mihi nōn
    vēxārī.
  • Miscellany

    2050601·text·9.8 KB·2011-04-25 20:14 UTC
    1. Koja su dosadasnja leksikografska djela bosanskog jezika?
    2. Sta je leksem? 
     - Leksem je najmanja smisaona jedinica u leksici.
    3. Sta izcafa leksikologija, i cime se bavi leksikografija?
  • Something

    2050598·text·3.1 KB·2011-04-25 20:02 UTC
    (gdb) bt
    #0 0x405d29d4 in strlen () from /home/gnutoo/embedded/sshfs/lib/libc.so.6
    #1 0x404f38b0 in g_variant_new_string (string=0x0) at gvariant.c:1136
    #2 0x406aebc0 in _variant_new5 (istatus=0
  • Someone

    2050595·bash·44.0 KB·2011-04-25 19:49 UTC
    
        
  • Unnamed

    2050593·text·2.5 KB·2011-04-25 19:45 UTC
    Recently many of you will have noticed quite the commotion coming from the temple of Sek, the usual screams of pain and anguish replaced with the sounds of religious upheaval as Cthulhu was ousted and
  • Miscellany

    2050592·text·1.5 KB·2011-04-25 19:43 UTC
    Recently many of you will have noticed quite the commotion coming from the temple of Sek, the usual screams of pain and anguish replaced with the sounds of religious upheaval as Cthulhu was ousted and
  • Mine

    2050587·text·2.8 KB·2011-04-25 19:30 UTC
    Hi Adam,
    
     As promised - a synopsis of what I am wanting to do and how your brand is potentially involved.
    
     RecordingStudioForums.com [AudioEngineeringForums.com HomeStudioForums.com]
     The pr
  • Miscellany

    2050581·text·1.5 KB·2011-04-25 19:21 UTC
    Failed to store Pet [ObjectId: 268503130] data
    java.sql.SQLException: Parameter index out of range (9 > number of parameters, which is 8).
     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
  • Something

    2050580·text·72.1 KB·2011-04-25 19:15 UTC
    
        
  • Something

    2050579·text·72.1 KB·2011-04-25 19:15 UTC
    
        
  • Anonymous

    2050578·text·272 B·2011-04-25 19:11 UTC
    bool isMyStringANumber(String s){
     for(int i=0; i<s.length(); ++i){
     c = s.charAt(i);
     if(!(c<= '9' && c >= '0')){ // how should I have written this line?
     // what goes here?
     }
  • Mine

    2050576·text·1.2 KB·2011-04-25 19:08 UTC
    We were livin for the nights
    though we never saw them black
    with the ocean and the waves, blowing gently on our backs
    
    From the clouds in the sky we had never been this far.
    but we knew with the
  • Mine

    2050575·text·860 B·2011-04-25 19:03 UTC
    music_directory "/mnt/media/songs"
    playlist_directory "/var/lib/mpd/playlists"
    db_file "/var/lib/mpd/tag_cache"
    log_file "/var/log/mpd/mp
  • Someone

    2050574·text·90 B·2011-04-25 19:02 UTC
    PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"
  • Miscellany

    2050571·text·358 B·2011-04-25 18:57 UTC
    ({
     var formant, in, chain, out;
     formant = SoundIn.ar([0]);
     RecordBuf.ar(formant, 0, loop: 0);
     in = PlayBuf.ar(1, 0, loop:1);
     chain = FFT(LocalBuf(1024), in);
     chain = chain.pvcalc(
  • Stuff

    2050568·bash·1.8 KB·2011-04-25 18:38 UTC
    #! /bin/sh
    #
    # chkconfig: - 60 20
    # description: Shell In A Box implements a web server that can export
    # arbitrary command line tools to a web based terminal emulator.
    # processname: shel
  • Anonymous

    2050567·text·51.9 KB·2011-04-25 18:35 UTC
    
        
  • Miscellany

    2050563·text·6.2 KB·2011-04-25 18:24 UTC
    During the past weeks I noticed how difficult it was to hack on a desktop environment that I am not using myself. And since most of my work now is about GNOME (and KDE) I came to the conclusion I have

older pastes →