All pastesPublic feed

Public feed

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

    2048687·text·472 B·2011-04-20 16:54 UTC
    cook has_many :mappings
    cook has_many :datapoints, :through mappings
    cook has_many :cookers, :through mappings
    cook has_many :sensors, :through mappings
    
    mappings belongs_to :cook
    mappings has_o
  • Unnamed

    2048684·csharp·1.4 KB·2011-04-20 16:42 UTC
    switch (LoggerColor.ToLower())
     {
    
     case "black": Console.ForegroundColor = ConsoleColor.Black; break;
     case "blue": Console.ForegroundColor = ConsoleColo
  • Something

    2048682·text·61.3 KB·2011-04-20 16:39 UTC
    
        
  • Someone

    2048680·text·738 B·2011-04-20 16:34 UTC
    MySQL on localhost (5.0.51a-24+lenny5-log) up 0+07:14:53 [18:34:21] Queries: 2.3M qps: 94 Slow: 0.0 Se/In/Up/De(%): 00/00/00/00 qps now: 121 Slow qps:
  • Unnamed

    2048679·text·2.4 KB·2011-04-20 16:33 UTC
    top - 18:32:48 up 7:49, 3 users, load average: 4.34, 3.10, 2.55
    Tasks: 282 total, 1 running, 281 sleeping, 0 stopped, 0 zombie
    Cpu(s): 26.3%us, 0.7%sy, 0.0%ni, 72.7%id, 0.2%wa, 0.0%hi,
  • Stuff

    2048672·text·2.8 KB·2011-04-20 16:09 UTC
    # Time: 110420 8:52:13
    # User@Host: ipn03_boki[ipn03_boki] @ localhost []
    # Query_time: 3 Lock_time: 0 Rows_sent: 1 Rows_examined: 622227
    SELECT SUM( x.billsec) AS log_c, SUM(x.billsec) AS c_s
  • Anonymous

    2048670·text·3.5 KB·2011-04-20 16:00 UTC
    [client]
    port = 3306
    socket = /path/to/socket
    
    [mysqld_safe]
    socket = /path/to/socket
    nice = 0
    
    [mysqld]
    default-storage-engine = innodb
    wait_timeou
  • Stuff

    2048669·text·2.2 KB·2011-04-20 15:55 UTC
    top - 17:55:30 up 7:12, 3 users, load average: 1.37, 1.22, 1.07
    Tasks: 277 total, 2 running, 275 sleeping, 0 stopped, 0 zombie
    Cpu(s): 6.2%us, 0.6%sy, 0.0%ni, 93.1%id, 0.0%wa, 0.0%hi,
  • Someone

    2048667·text·1.5 KB·2011-04-20 15:47 UTC
    # By Brian Gross #
    # Co editor Liz Henry #
    # 4/19/11 #
    url = raw_input('Please enter a website url: ')
    x = raw_input('Please enter a search word: ')
    import urllib
    html_source = urllib.urlopen(ur
  • Unnamed

    2048663·scheme·578 B·2011-04-20 15:30 UTC
    (define (place-queen board i j)
     (let
     ; copy the board that is got from function.
     ; I will change it via (vector-set!) and return it
     [(output board)]
     
     (begin
     ;
  • Anonymous

    2048662·text·536 B·2011-04-20 15:30 UTC
    //You Need This Line For Each MovieClip You want to switch between.
    PAGE_1.addEventListener(MouseEvent.CLICK, onPageChange);
    PAGE_SEVEN.addEventListener(MouseEvent.CLICK, onPageChange);
    contactPage
  • Someone

    2048659·text·37.3 KB·2011-04-20 15:06 UTC
    
        
  • Someone

    2048658·text·7.8 KB·2011-04-20 14:58 UTC
    20Apr 10:51:44 [4548] INFO - Initialize Irs proxy from vds: 10.10.2.244
    20Apr 10:51:44 [1060] INFO - AsyncTaskManager::StopStoragePoolTask: Attempting to get and stop tasks on storage pool 'chgdc01
  • Anonymous

    2048657·text·7.8 KB·2011-04-20 14:58 UTC
    20Apr 10:51:44 [4548] INFO - Initialize Irs proxy from vds: 10.10.2.244
    20Apr 10:51:44 [1060] INFO - AsyncTaskManager::StopStoragePoolTask: Attempting to get and stop tasks on storage pool 'chgdc01
  • Anonymous

    2048653·text·1.2 KB·2011-04-20 14:39 UTC
    -ERINNERUNGEN-
    Samstag Nachmittag bei Jacky anrufen
    Montag kommt UPS man für Handy
    
    ____________________________________________________________________________
    * Folgende Nachricht konnte nich
  • Mine

    2048650·javascript·124 B·2011-04-20 14:30 UTC
    // var dragRtw = new OpenLayers.Control.DragFeature(rtw_markers);
     // map.addControl(dragRtw);
     // dragRtw.activate();
  • Someone

    2048647·text·1.0 KB·2011-04-20 14:25 UTC
    class GameApplication;
    class Model;
    
    class GameApplication
    {
    public:
     GameApplication() { cout << "GameApplication constructed" << endl; }
     ~GameApplication() { cout << "GameApplication destruc
  • dmes

    2048646·text·60.8 KB·2011-04-20 14:20 UTC
    
        
  • Miscellany

    2048641·text·1.4 KB·2011-04-20 13:47 UTC
    lexa user # emerge -DNua world
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    
    emerge: there are no ebuilds built with USE flags to satisfy ">=kde-bas
  • aginies

    2048636·text·17.9 KB·2011-04-20 13:27 UTC
    package Iurt::Chroot;
    
    use strict;
    use base qw(Exporter);
    use MDV::Distribconf::Build;
    use MDK::Common;
    use Iurt::Process qw(clean sudo);
    use Iurt::Config qw(dump_cache_par);
    use Iurt::Util qw(plog);

older pastes →