All pastes›Public feed

Public feed

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

    2073829·text·1.2 KB·2011-06-02 19:41 UTC
    ./daily/100.clean-disks
    ./daily/110.clean-tmps
    ./daily/120.clean-preserve
    ./daily/200.backup-passwd
    ./daily/330.news
    ./daily/400.status-disks
    ./daily/404.status-zfs
    ./daily/405.status-ata-raid
  • asdf

    2073827·html·4 B·2011-06-02 19:39 UTC
    111
  • Something

    2073823·text·1.2 KB·2011-06-02 19:33 UTC
    Jun 2 14:31:36 alias mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
    Jun 2 14:31:36 alias mysqld: Unknown suffix '-' used for variable 'max_connections' (value '--table_cache
  • Stuff

    2073821·text·1.0 KB·2011-06-02 19:25 UTC
    <?php
    include_once('includes/bootstrap.inc');
    error_reporting(E_ALL & ~E_NOTICE);
    // let's bootstrap: we will be able to use drupal apis
    drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
    
    $db = db_query(
  • Miscellany

    2073815·text·181 B·2011-06-02 18:58 UTC
    ]$ spec spec/config_parser_spec.rb 
    
    Aeolus::Image::ConfigParser
    Command is: list
    - should parse the specified command
    
    Finished in 0.030797 seconds
    
    1 example, 0 failures
  • Miscellany

    2073814·java·347 B·2011-06-02 18:56 UTC
    public static double maxAbs (double [] signal){
     double gross = Double.NEGATIVE_INFINITY;
    
     if (signal != null) {
     for (int i = 0; i < signal.length - 1; i++) {
     double value = signal[i];
  • Girlfriend says she can no longe

    2073809·text·3.0 KB·2011-06-02 18:50 UTC
    How can we repair her trust?
    
    Long version:
    
    I've known my girlfriend for over two years now, and we've been together for a year and a few months. We love each other very much, and for the most pa
  • Matrix

    2073806·cpp·1.5 KB·2011-06-02 18:40 UTC
    #ifndef MATRIX_H
    #define MATRIX_H
    
    template<int size,typename T>
    class Matrix
    {
    
    public:
     typedef T value_type;
    
     explicit Matrix(const T &val = T());
     Matrix(const Matrix &);
  • Something

    2073805·text·1.5 KB·2011-06-02 18:39 UTC
    #ifndef MATRIX_H
    #define MATRIX_H
    
    template<int size,typename T>
    class Matrix
    {
    
    public:
     typedef T value_type;
    
     explicit Matrix(const T &val = T());
     Matrix(const Matrix &);
  • json sample

    2073801·javascript·63 B·2011-06-02 18:37 UTC
    // ejemplo de notacion json
    var punto2d = {
     x: 1
     , y: 1
    }
  • Stuff

    2073800·text·611 B·2011-06-02 18:36 UTC
    CREATE TRIGGER ntdel AFTER UPDATE ON nodetext
     FOR EACH ROW
     BEGIN
     IF NEW.is_deleted = 1 THEN
     BEGIN
     IF (SELECT COUNT(*) FROM nodetext WHERE is_deleted=0 AND textbox_id=NEW.textbox_id) =
  • Read FQDN from file then tracero

    2073795·bash·920 B·2011-06-02 18:13 UTC
    #!/bin/bash
    
    processLine(){
     line="$@" # get all args
     traceroute -I -z 5 -w 2 $line
    }
     
    ### Main script stars here ###
    # Store file name
    FILE=""
     
    # Make sure we get file name as command
  • Miscellany

    2073793·text·3.4 KB·2011-06-02 18:03 UTC
    Reference ID No. 12-3456789
    
    You are being contacted on behalf of NBC Universal and its affiliates ("NBC Universal") because your Internet account was identified as having been used recently to ille
  • Something

    2073791·text·67.4 KB·2011-06-02 17:58 UTC
    
        
  • Anonymous

    2073789·text·11.4 KB·2011-06-02 17:51 UTC
    Thread 19 (Thread 0x7fb6d5b0f700 (LWP 24846)):
    #0 0x00007fb6dedbef93 in poll () from /lib/libc.so.6
    #1 0x00007fb6da4284a9 in ?? () from /lib/libglib-2.0.so.0
    #2 0x00007fb6da4288fc in g_main_cont
  • Something

    2073786·text·1.0 KB·2011-06-02 17:49 UTC
    truthiness(root):~# traceroute nsac.ca
    traceroute to nsac.ca (24.222.54.200), 30 hops max, 38 byte packets
     1 worm.research.cs.dal.ca (129.173.67.13) 0.156 ms 0.161 ms 0.133 ms
     2 GW81AD0D5C.B
  • jon

    2073782·text·16.3 KB·2011-06-02 17:47 UTC
    #include "bitmap.h"
    #include "trans-bitmap.h"
    #include <math.h>
    #include <iostream>
    
    /* FIXME: get rid of this dependancy */
    #include "paintown-engine/level/utils.h"
    
    #include "messages.h"
    #i
  • Mine

    2073781·text·352 B·2011-06-02 17:45 UTC
    #!/usr/bin/env ruby
    
    require 'rubygems'
    require 'json'
    
    lastgen = nil
    JSON.parse(STDIN.read).each do |s|
     if s["category"] == "generate" or s["category"] == "immature"
     s.each do |k|
  • Untitled

    2073780·text·3.2 KB·2011-06-02 17:45 UTC
    setText[サウンドなし]
    W/InputManagerService( 202): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@3394d218
    V/onTouchEvent( 1285): ==>MotionEvent{3
  • Stuff

    2073779·text·617 B·2011-06-02 17:44 UTC
    <rule enabled="true" grouping="all" source="incoming">
     <title>Spam Account</title>
     <partset>
     <part name="source">
     <value name="srcmatch-type" type="option" value=

older pastes →