New paste›Public feed

Public feed

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

    913655·cpp·384 B·2008-02-22 06:31 UTC
    #include <iostream>
    using namespace std;
    
    int main()
    {
     int x;
     x = 0;
    
     do
     {
     x++;
     if(x % 3 == 0 && x % 5 != 0)
     {
     cout<<"bizz" << "\n";
     
     }
    
     else if(x % 5 == 0 && x % 3 !=
  • Untitled

    913654·text·14.3 KB·2008-02-22 06:31 UTC
    (font: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf)
    (text: ***king)
    #1=0.1 (SafeHeight)
    #2=0.01 (Depth of CUT)
    #3=0.0003 (Scale)
    #4=10.0 (Feed)
    (start of symbol k)
    G00 Z #1
    G00
  • Mine

    913650·cpp·277 B·2008-02-22 06:26 UTC
    #include <iostream>
    using namespace std;
    
    int main()
    {
     int x;
     x = 0;
    
     do
     {
     x++;
     if(x % 3 == 0)
     {
     cout<<"bizz" << "\n";
     }
    
     else if(x % 5 == 0)
     { 
     cout<<"buzz" << "\n";
  • Unnamed

    913649·text·1.6 KB·2008-02-22 06:25 UTC
    using System;
    using System.Collections.Generic;
    using System.Text;
    using RabbitMQ.Client;
    using ClusterClient.Model;
    
    namespace ClusterClient
    {
     /// <summary>
     /// Very naive charmichael sear
  • Something

    913648·text·1.0 KB·2008-02-22 06:25 UTC
    yonkeltron@Akiba:~$ jruby1.0 -h
    Usage: jruby [switches] [--] [rubyfile.rb] [arguments]
     -e 'command' one line of script. Several -e's allowed. Omit [programfile]
     -b benchmark
  • Untitled

    913645·text·1.3 KB·2008-02-22 06:20 UTC
    logfile [<modes> <channel> <filename>]
     Description: creates a new logfile, which will log the modes given for
     the channel listed. If no logfile is specified, a list of existing
     lo
  • Stuff

    913644·text·6.6 KB·2008-02-22 06:16 UTC
    =============
    Building module libegg
    =============
    /home/alan/Desktop/OOo/cvs/libegg/source
    mkout -- version: 1.7
    cat /tmp/mkdaU7iQ >> ../unxlngi6.pro/misc/all_eggtray.dpslo
    cat /home/alan/Deskt
  • Anonymous

    913642·text·311 B·2008-02-22 06:09 UTC
    # Bluetooth configuraton file
    
    # Run hid2hci (allowed values are "true" and "false")
    HID2HCI_ENABLE=false
    
    # Bind rfcomm devices (allowed values are "true" and "false")
    RFCOMM_ENABLE=true
    
    # C
  • mIRC - IRC Style

    913641·text·1.6 KB·2008-02-22 06:08 UTC
    alias timestamp { !timestamp $1- | saveini }
    on ^*:TEXT:*:#:{
     var %i = 0
     var %line = $1-
     while (%i < $numtok($1-,32)) {
     inc %i 1
     if ($gettok($1-,%i,32) ison $chan) {
     if ($ge
  • Stuff

    913640·text·70 B·2008-02-22 06:06 UTC
    $i = $_GET['i'];
     
    if (($i=='')||($i==1)||($i>$maxid)) {
    $i=$maxid;
  • Untitled

    913638·text·48 B·2008-02-22 06:04 UTC
    #!/bin/sh
    #modprobe ipw3945
    modprobe psmouse
  • Something

    913635·text·1.3 KB·2008-02-22 05:53 UTC
    # HCI daemon configuration file.
    #
    
    # HCId options
    options {
     # Automatically initialize new devices
     autoinit yes;
    
     # Security Manager mode
     # none - Security manager disabled
     # auto
  • Unnamed

    913634·text·68.0 KB·2008-02-22 05:51 UTC
    
        
  • Anonymous

    913632·text·294 B·2008-02-22 05:49 UTC
    //droooby is amazing.
    
    ex_interp 0.01
    
    alias hlss-START "voice_inputfromfile 1; voice_loopback 1; +voicerecord; alias ToggleWAV hlss-STOP"
    alias hlss-STOP "voice_inputfromfile 0; voice_loopback 0
  • A special wp_list_categories()

    913631·php·442 B·2008-02-22 05:44 UTC
    <?php
    $list_cats = wp_list_categories('echo=0');
    
    $list_cats = explode("\n", $list_cats);
    foreach($list_cats as $line) {
     if( strpos($line, '<ul ') )
     $halt = true;
     if( strpos($line, '</ul>')
  • grom358

    913629·javascript·3.8 KB·2008-02-22 05:43 UTC
    function trim(str) {
     return str.replace(/^\s*|\s*$/g,"");
    }
    
    function isRadioSelected(radioGroup) {
     if (!radioGroup.length) {
     return radioGroup.checked;
     }
     for (var i = 0; i < radioGroup.
  • Something

    913627·python·470 B·2008-02-22 05:37 UTC
    alphanum = list("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
    def ntoten(num, n):
     str = list(num)
     str = str[::-1]
     i = 0
     for x in xrange(len(str)):
     i = i + (alphanum.ind
  • Anonymous

    913626·text·5.3 KB·2008-02-22 05:35 UTC
    Feb 22, 2008 12:29:19 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet action threw exception
    <openjpa-1.0.1-r420667:592145 nonfatal user error> org.apac
  • hamlet

    913625·text·11.4 KB·2008-02-22 05:35 UTC
    !!################################
    !!ALSA Information Script v 0.4.37
    !!################################
    
    !!Script ran on: Thu Feb 21 23:33:27 CST 2008
    
    !!Linux Distribution
    !!------------------
    
    Ge
  • Mine

    913620·text·158 B·2008-02-22 05:27 UTC
    $query = "select * from comics where com_id = $com_id";
    $title = mysql_query($query) or die ("Unable to blob database!");
    $rec1 = mysql_fetch_array($title);

older pastes →