All pastesPublic feed

Public feed

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

    2054263·cpp·209 B·2011-05-05 16:04 UTC
    void MainWindow::theThread(QString filename)
    {
    ..
    }
    
    void MainWindow::kirkSezDoIt(const QString& filename)
    {
     m_engineThread = new boost::thread(boost::bind(&MainWindow::theThread, this, filen
  • Stuff

    2054262·bash·17.7 KB·2011-05-05 16:02 UTC
    #!/bin/sh
    #---------------------------------------------
    # xdg-open
    #
    # Utility script to open a URL in the registered default application.
    #
    # Refer to the usage() function below for usag
  • DigimonUnleashed

    2054259·text·521 B·2011-05-05 15:55 UTC
    Chat Rules:
    ~ No spamming.
    ~ No Excessive punctuation or letters.
    ~ No all caps.
    ~ No sexual harassment.
    ~ No mentioning other RPGs.
    ~ Please speak English.
    ~ Don't use ops command.
    ~ Ask staf
  • shorewall+openvpn

    2054258·text·1.2 KB·2011-05-05 15:50 UTC
    /etc/shorewall/masq
    #INTERFACE SOURCE ADDRESS PROTO PORT(S) IPSEC MARK
    eth0 192.168.35.0/16,\
     172.16.35.0/12,\
  • Someone

    2054257·text·13.9 KB·2011-05-05 15:49 UTC
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x3e784960, pid=2504, tid=3804
    #
    # JRE version: 6.0_24-b07
    # Java VM: Java
  • Example

    2054255·python·512 B·2011-05-05 15:40 UTC
    # First I would save the position where my own dictionary is stored
    myPosition = None
    
    def saveposition():
     global myPosition
     playeri = 0
     for playerI in range(len(players)):
     if pl
  • quique

    2054251·text·1.1 KB·2011-05-05 15:32 UTC
    Index: src/EBox/RemoteServices/Model/ReportsInfo.pm
    ===================================================================
    --- src/EBox/RemoteServices/Model/ReportsInfo.pm (revision 21246)
    +++ src/EBox/R
  • Unnamed

    2054250·text·1.2 KB·2011-05-05 15:31 UTC
    pacman-db-upgrade
    pacman -Syyu
    useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash andy
    passwd andy
    pacman -S sudo
    EDITOR=nano visudo
    # sound
    # X
    pacma
  • Someone

    2054249·text·2.3 KB·2011-05-05 15:23 UTC
    $counter = 0
    
    def getXml(x,y,z) 
     $counter = $counter + 1
     uuid = sprintf("%012x", $counter);
     localid = 702000 + $counter
     return <<__EE__;
    <SceneObjectGroup><RootPart><SceneObjectPart><Cr
  • Mine

    2054248·text·358 B·2011-05-05 15:22 UTC
    Network Switch --|
     |
     |
     |
     --- Asterisk Server --- PRI (2)
     |
     |
     |
  • Mine

    2054247·text·238 B·2011-05-05 15:20 UTC
    PRI (2) ---Asterisk Server (voicemail/call routing)
     |
     |
     | (network cabling - 1000mbit) 
     |
     | 
     Network Switch ----- VoIP Phones
     |
     |
     |
  • Mine

    2054246·text·291 B·2011-05-05 15:15 UTC
    PRI (2) ---Asterisk Server (voicemail/call routing)
     |
     |
     | (network cabling - 1000mbit) 
     |
     | 
     Network Switch
     |
     |
     |
     FXO Gateway(4
  • Mine

    2054245·text·259 B·2011-05-05 15:11 UTC
    PRI (2) -------- Asterisk Server (voicemail/call routing)
     |
     |
     | (network cabling - 1000mbit) 
     |
     | 
    Network Switch - 
     |
     |
     |
    FXO Gateway(4+)--------
  • Untitled

    2054244·text·87 B·2011-05-05 15:08 UTC
    Section "Device"
     Identifier "Default Device"
     Option "NoLogo" "True"
    EndSection
  • Miscellany

    2054237·text·969 B·2011-05-05 14:50 UTC
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    93f1cc11cf20eba2fdc5df778b6b825c554d1b2b6a6a3b357e34d9e4f1370d5f
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)
    
    iQIcBAEBAgAGBQJ
  • Anonymous

    2054236·text·92.1 KB·2011-05-05 14:44 UTC
    
        
  • Mine

    2054234·cpp·357 B·2011-05-05 14:43 UTC
    Board board; 
    
    for (int row = 0; row < board.height; ++row)
    {
     if (!std::getline(is, line) || line.size() != 20)
     return;
     for (int col = 0; col < board.width; ++col)
     {
     I2 ix(col, r
  • Stuff

    2054233·text·22.5 KB·2011-05-05 14:38 UTC
    [Script Info]
    ; Script generated by Aegisub r3543M (development version, TheFluff)
    ; http://www.aegisub.net
    Title: Default Aegisub file
    ScriptType: v4.00+
    WrapStyle: 0
    PlayResX: 704
    PlayResY: 3
  • Mine

    2054232·text·568 B·2011-05-05 14:38 UTC
    id select_type table type possible_keys key key_len ref rows Extra 
    1 SIMPLE p ALL EANcode NULL NULL NULL 1714
  • Unnamed

    2054230·text·3.3 KB·2011-05-05 14:36 UTC
    $ ffmpeg -i Chomsky.mp4 -vf yadif -vcodec libx264 -vpre slow -threads 0 -b 15512k -acodec copy Chomsky2.mp4
    FFmpeg version git-N-28713-g65daa94, Copyright (c) 2000-2011 the FFmpeg developers
     built

older pastes →