All pastesPublic feed

Public feed

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

    2070355·text·3.1 KB·2011-05-27 13:47 UTC
    [root@admod /home/divinity/heavymetal/snippets]# php mut.php 
    
    EMERGENCY: Exception (SQLException) - Could not execute query [Native Error: Unknown column 'preload' in 'where clause'] [User Info:
  • Sarah

    2070347·php·1.5 KB·2011-05-27 13:38 UTC
    <?
    // specify the file name - you can use a full path, or "../../" type stuff here
    // if the image is not in the same directory as this code file
    error_reporting(E_ALL ^E_NOTICE);
    ob_start();
    $im
  • Something

    2070337·text·1.2 KB·2011-05-27 13:24 UTC
    #!/usr/bin/python
    
    import gobject;
    gobject.threads_init()
    import gst;
    
    pipe = gst.Pipeline("test")
    
    selector = gst.element_factory_make("input-selector", "videoselector")
    pipe.add(selector)
  • Something

    2070325·c·740 B·2011-05-27 13:12 UTC
    #define buffer_length 10
    
    #define buffer_length_zeros 0,0,0,0,0,0,0,0,0,0
    
    volatile buffer_t pos_buffer={{buffer_length_zeros},0,0};
    
    typedef struct {
     int32_t data[buffer_length];
     uint8_t
  • Untitled

    2070322·text·1.8 KB·2011-05-27 13:11 UTC
    論文要旨
    
    この修士論文は「南千島の主権をめぐるロシア・日本間の領土問題」という題名で、ロシア連邦・日本国が「南千島列島」や「北方領土」という四島に対する所有権を主張することを取り扱っている。第二次世界大戦後、現在に至るまで、ソ連・ロシア連邦に占領・実効支配されており、日本は固有の領土としてその返還を求めている。この問題の結果、両国間の経済・外交関係は悪い状態にあり続けている。四島の価値が低く
  • style sheet gnome3

    2070319·text·108.8 KB·2011-05-27 13:04 UTC
    
        
  • Something

    2070311·text·206 B·2011-05-27 12:50 UTC
    [code]
    deltree C:\Documents and Settings\oikoljos\Local Settings\Application Data\Lotus /y
    copy C:\LotusBackup\Oikoljos\Lotus to C:\Documents and Settings\oikoljos\Local Settings\Application Data
    [
  • Someone

    2070304·text·286 B·2011-05-27 12:44 UTC
    UPDATE Books SET url='bookid='+LAST_INSERT_ID() WHERE id=LAST_INSERT_ID();
    
    I want to update the last book inserted with an URL like this:
    
    bookid=34
    
    (If last id is e.g 34)
    
    CONCAT Like this:
  • Someone

    2070301·text·264 B·2011-05-27 12:43 UTC
    UPDATE Books SET url='bookid='+LAST_INSERT_ID() WHERE id=LAST_INSERT_ID();
    
    I want to update the last book inserted with an URL like this:
    
    bookid=34
    
    (If last id is e.g 34)
    
    UPDATE Books SET
  • Someone

    2070298·text·179 B·2011-05-27 12:39 UTC
    UPDATE Books SET url='bookid='+LAST_INSERT_ID() WHERE id=LAST_INSERT_ID();
    
    I want to update the last book inserted with an URL like this:
    
    bookid=34
    
    (If last id is e.g 34)
  • Someone

    2070293·text·1.6 KB·2011-05-27 12:32 UTC
    [root@localhost mads]# pacman -Rsn dovecot
    checking dependencies...
    
    Remove (1): dovecot-1.1.14-1
    
    Total Removed Size: 7.68 MB
    
    Do you want to remove these packages? [Y/n] y
    error: command f
  • Someone

    2070290·text·7.5 KB·2011-05-27 12:29 UTC
    ....
    
     gpgme-1.3.0-1-i686 205.2K 1557.5K/s 00:00:00 [##############################] 100%
     hwdetect-2011.03-1-any 5.5K 169.2K/s 00:00:00 [##############################] 100%
  • Unnamed

    2070278·python·413 B·2011-05-27 12:11 UTC
    def session_commit(session):
    
     """Commit the session
    
     """
    
     import transaction
    
     from zope.sqlalchemy.datamanager import join_transaction
    
     if not transaction.get():
  • Stuff

    2070274·text·340 B·2011-05-27 12:03 UTC
    window.addEvent('domready', function() {
     var maxH=0;
    
     $$('#whyList .whyBox').each(function(el, i){
     var tmp =0;
     tmp=$(el).getSize().x;
     if(tmp>maxH) {
  • Unnamed

    2070264·text·980 B·2011-05-27 11:48 UTC
    //Show all Mailings:
    
    SELECT id, date_format(SendDateTime,'%d.%m.%Y') As ASendDateTime, CampaignName
    FROM Campaigns LEFT JOIN CampaignOptions
    ON Campaigns.id=CampaignOptions.Campaign_id
    RIGHT OUT
  • Untitled

    2070251·text·3.8 KB·2011-05-27 11:32 UTC
    #
    # Server-Pool Management (MPM specific)
    # 
    
    #
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    #
    # Note that this is the default PidF
  • Someone

    2070250·text·2.4 KB·2011-05-27 11:32 UTC
    #
    # This configuration file reflects default settings for Apache HTTP Server.
    #
    # You may change these, but chances are that you may not need to.
    #
    
    #
    # Timeout: The number of seconds before re
  • Unnamed

    2070247·text·920 B·2011-05-27 11:23 UTC
    //Show all Mailings:
    
    SELECT id, date_format(SendDateTime,'%d.%m.%Y') As ASendDateTime, CampaignName
    FROM Campaigns LEFT JOIN CampaignOptions
    ON Campaigns.id=CampaignOptions.Campaign_id
    RIGHT OUT
  • Unnamed

    2070232·text·448 B·2011-05-27 11:07 UTC
    //Show all Mailings:
    
    SELECT id, date_format(SendDateTime,'%d.%m.%Y') As ASendDateTime, CampaignName
    FROM Campaigns LEFT JOIN CampaignOptions
    ON Campaigns.id=CampaignOptions.Campaign_id
    ORDER BY
  • Anonymous

    2070227·text·6.7 KB·2011-05-27 10:56 UTC
    But there was no hesitation among students — from undergraduates in computer science to M.B.A. candidates — who were spending much of their lives immersed in Facebook.
    
    From the start, many approach

older pastes →