All pastesPublic feed

Public feed

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

    2108704·text·3.3 KB·2012-02-01 13:53 UTC
    <%@ page language="java" contentType="text/html; charset=UTF-8"
     pageEncoding="UTF-8"%>
    <%@ taglib prefix="s" uri="/struts-tags"%>
    <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
    
    <!DOCTYPE htm
  • Miscellany

    2108701·text·2.5 KB·2012-02-01 13:27 UTC
    # autoloader aliases
    install sound-slot-0 /sbin/modprobe snd-card-0
    install sound-slot-1 /sbin/modprobe snd-card-1
    install sound-slot-2 /sbin/modprobe snd-card-2
    install sound-slot-3 /sbin/modprob
  • Unnamed

    2108695·text·4.1 KB·2012-02-01 12:52 UTC
    System.Net.WebException: Requested PackagePart not found in target resource.
     at System.IO.Packaging.PackWebResponse.GetResponseStream()
     at System.IO.Packaging.PackWebResponse.get_ContentType()
  • Something

    2108631·text·2.1 KB·2012-02-01 12:06 UTC
    Parameter settings:
     LeftEdge = 1752
     RightEdge = 5192
     TopEdge = 1620
     BottomEdge = 4236
     FingerLow = 25
  • Mine

    2108620·text·1.0 KB·2012-02-01 11:09 UTC
    all: program1
    
    # Compiler
    CC=gcc
    # Where to install
    INSTDIR = /usr/local/bin
    # Where include files are kept
    VPATH = src
    # Compile options
    CFLAGS = -Wall -g
    
    program1: main.o a_functions.o b
  • jstac

    2108617·text·69.4 KB·2012-02-01 11:06 UTC
    
        
  • Untitled

    2108593·text·335 B·2012-02-01 10:39 UTC
    root@new:~# ipcs
    
    ------ Shared Memory Segments --------
    key shmid owner perms bytes nattch status 
    
    ------ Semaphore Arrays --------
    key semid ow
  • jetty

    2108592·text·33.7 KB·2012-02-01 10:37 UTC
    
        
  • Someone

    2108586·text·353 B·2012-02-01 10:15 UTC
    #include <iostream>
    #include <string>
    
    using namespace std;
    
    class A {
    public:
     A(){}
    
     void say_hello(){
     cout << "Hello, I`m A" << endl;
     }
    };
    
    class B:A {
    public:
     B():A(){}
    
     vo
  • Unnamed

    2108584·text·857 B·2012-02-01 10:10 UTC
    all: program1
    
    # Compiler
    CC=gcc
    # Where to install
    INSTDIR = /usx/bin
    # Where include files are kept
    VPATH = src
    # Compile options
    CFLAGS = -Wall -g
    # Override .c.o suffix rule to look in t
  • Stuff

    2108573·text·689 B·2012-02-01 09:45 UTC
    #!/usr/bin/perl
    
    $MAXPROCESSES = 200;
    
    `perl -pi -e "s/^\n//" ips.txt`;
    `perl -pi -e "s/^\n//" pass.txt`;
    `rm -rf tmp/*`;
    
    $ipfile = "ips.txt";
    open(IN_FILE, $ipfile);
    my $numbers;
    $numbers
  • Something

    2108570·text·18.9 KB·2012-02-01 09:44 UTC
    root@htpc:/home/kaz/e2pc# /usr/local/bin/enigma2.sh
    setenv('prefix', '/usr/local', 0)
    setenv('exec_prefix', '${prefix}', 0)
    setenv('bindir', '${exec_prefix}/bin', 0)
    setenv('sbindir', '${exec_pref
  • Something

    2108569·text·961 B·2012-02-01 09:43 UTC
    <? class precteteSi
    {
    
     public function __construct()
     {
     $this->smarty = new Smarty;
     }
    
     public function index()
     {
     redirect();
     }
     
     public funct
  • imginfo

    2108568·text·747 B·2012-02-01 09:42 UTC
    /*
     * image parameters
     */
    struct imginfo {
     imgtype type;
     //string image;
     int x;
     int y;
     int w;
     double alpha;
     int sub_image_x;
     int sub_image_y;
     int sub_image_h;
     int sub_image_d_x
  • Miscellany

    2108566·cpp·1.4 KB·2012-02-01 09:42 UTC
    #include <iostream>
    #include <string>
    
    using namespace std;
    
    class Person {
    private:
     string name;
    public:
     Person(string name){
     this->name = name;
     }
    
     string get_name(){
     return nam
  • Mine

    2108564·text·1.6 KB·2012-02-01 09:37 UTC
    [2012-02-01 10:33:25 - TouchDB-Android-TestApp] Starting activity com.couchbase.touchdb.testapp.TestAppActivity on device 31330637D9DA00EC
    [2012-02-01 10:33:25 - TouchDB-Android-TestApp] ActivityMana
  • converToString

    2108562·java·2.2 KB·2012-02-01 09:36 UTC
    public static String converToString(Object object, int depth) {
    if (object == null) {
    return "null";
    }
    
    StringBuffer strbuf = new StringBuffer();
    
    if (object.getClass().isPrimitive() || object
  • Untitled

    2108559·sql·109 B·2012-02-01 09:35 UTC
    (SELECT value FROM OpenXML(@frequencyXmlDocId, '/frequencies/frequency', 1) 
     WITH (value nvarchar(50)))
  • Anonymous

    2108557·text·261 B·2012-02-01 09:30 UTC
    #!/bin/bash
    for i in $( lsusb | awk '{print $6}' | cut -d \: -f 2 | sort | uniq ); do
     for j in $( grep $i /sys/bus/usb/devices/*/idProduct | cut -d'/' -f 6); do
     echo enabled
  • Someone

    2108555·text·2.6 KB·2012-02-01 09:30 UTC
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Data;
    using System.Data.SqlClient;
    using

older pastes →