New paste›Public feed

Public feed

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

    929336·php·1.4 KB·2008-03-05 18:15 UTC
    <?php
    class TasksController extends AppController
    {
     var $name = 'Tasks';
     var $helpers = array('Html', 'Javascript', 'Ajax'); 
     
     function index()
     {
     // init view
     $this->set('data', $thi
  • Miscellany

    929335·text·3.5 KB·2008-03-05 18:14 UTC
    // This is LMInterpolate.cc.
    
    #include <iostream>
    #include <fstream>
    #include <string>
    
    using namespace std;
    
    using std::cout;
    using std::endl;
    using std::cerr;
    
    int main () {
     string li
  • suff

    929334·text·13.5 KB·2008-03-05 18:14 UTC
    <!-- INCLUDE overall_header.html -->
    
    <!-- IF S_FORUM_RULES -->
     <div class="forumrules">
     <!-- IF U_FORUM_RULES -->
     <h3>{L_FORUM_RULES}</h3><br />
     <a href="{U_FORUM_RULES}"><b>{L_FORUM_R
  • suff

    929332·text·1.6 KB·2008-03-05 18:11 UTC
    styles/prosilver/template/viewtopic_body.html
    Find
    Tip: This may be a partial find and not the whole line.
    Code:Select All <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postro
  • Someone

    929330·text·64.8 KB·2008-03-05 18:10 UTC
    
        
  • Someone

    929329·text·143 B·2008-03-05 18:08 UTC
    Jericho.S02E04.720p.HDTV.X264-DIMENSION
    Aired 04.03.2008 
    2pass x264 
    AC3 @ 384 kbps
    Source - 1080i
    
    Enjoy a Quality version this week :)
  • Something

    929327·text·325 B·2008-03-05 18:06 UTC
    manish@freedom:~$ ifconfig lo
    lo Link encap:Local Loopback 
     LOOPBACK MTU:16436 Metric:1
     RX packets:0 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 erro
  • Miscellany

    929326·text·656 B·2008-03-05 18:06 UTC
    Private Sub cmdDelTask_Click()
     ' This works, except for registry string removal
     Dim strMessage As String, strTitle As String
     Dim strResult As String
     
     strMessage = "Are you sur
  • Stuff

    929325·text·986 B·2008-03-05 18:05 UTC
    Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java. awt.peer.gtk.GtkToolkit
     at java.awt.
  • Miscellany

    929324·text·5.7 KB·2008-03-05 18:05 UTC
    if (strcmp(cmd, "/alkomat", true) == 0)
     {
     if(IsPlayerConnected(playerid))
     {
     tmp = strtok(cmdtext, idx);
     if(!strlen(tmp))
     {
     SendClientMessage(playerid, COLOR_GRAD1, "INFO:
  • Anonym

    929323·text·236 B·2008-03-05 18:02 UTC
    int main ()
    {
     char s [20] = {"hallo"};
     char t [10] ;
     //printf ("%s", s);
     //printf ("%s", t);
     printf ("ihr name?");
     fgets (t, 10, stdin);
     
     strcat (s, " ");
     strcat (s, t);
  • Mine

    929322·text·187 B·2008-03-05 18:02 UTC
    <?
    $fh = fopen( "Stats.xml" , "r" );
    
    while( !feof( $fh ) )
     $data += htmlspecialchars(fread( $fh , 1024 ));
    
    echo $data."<br><hr><br>";
    
    $xml = new SimpleXMLElement($data);
    
    ?>
  • Someone

    929321·text·592 B·2008-03-05 18:01 UTC
    // Usage: uploadfile($_FILE['file']['name'],'temp/',$_FILE['file']['tmp_name'])
    function uploadfile($origin, $dest, $tmp_name)
    {
     $origin = strtolower(basename($origin));
     $fulldest = $dest.$ori
  • diff de pobre

    929319·python·523 B·2008-03-05 18:00 UTC
    arq_atual = open("C:/compara/arq_atual.txt", "r").readlines()
    arq_novo = open("C:/compara/arq_novo.txt", "r").readlines()
    arq_saida = open("C:/compara/abre.txt", "w")
    
    for linha_atual in arq_atual
  • Unbenannt

    929318·text·1.5 KB·2008-03-05 17:59 UTC
    depbase=`echo src/DBus/AppObjectManager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
     gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include config.h -g -O2 -MT s
  • Anonym

    929317·text·5.8 KB·2008-03-05 17:59 UTC
    #include <src/DBus/AppObject.h>
    
    enum {
     CAPUCHIN_DBUS_APP_OBJECT_DUMMY_PROPERTY
    };
    static char* capuchin_dbus_app_object_real_GetApplicationName (CapuchinIAppObject* base);
    static void capuc
  • diff de pobre

    929314·python·555 B·2008-03-05 17:57 UTC
    abre_arq_atual = open("C:/compara/arq_atual.txt", "r")
    atual = abre_arq_atual.read()
    abre_arq_atual.close()
    abre_arq_novo = open("C:/compara/arq_novo.txt", "r")
    novo = abre_arq_novo.read()
    abre_a
  • Zeug

    929312·text·220 B·2008-03-05 17:55 UTC
    int main ()
    {
     char s [20] = {"Guten"};
     char t [10] = {"Tag"};
     //printf ("%s", s);
     //printf ("%s", t);
     fgets (t, 10, stdin);
     
     strcat (s, " ");
     strcat (s, t);
     printf ("%s %s"
  • Unbenannt

    929310·text·220 B·2008-03-05 17:54 UTC
    int main ()
    {
     char s [20] = {"Guten"};
     char t [10] = {"Tag"};
     //printf ("%s", s);
     //printf ("%s", t);
     fgets (t, 10, stdin);
     
     strcat (s, " ");
     strcat (s, t);
     printf ("%s %s"
  • Untitled

    929309·text·318 B·2008-03-05 17:54 UTC
    will just echo from 1 - 255 (english chars) -- was meant for something long ago, forgot it. :)
    
    alias fib {
     var %i = 3
     var %x = 0
     var %y = 1
     echo -a 1.) 0
     echo -a 2.) 1
     while (%i <

older pastes →