All pastesPublic feed

Public feed

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

    2055446·c·551 B·2011-05-08 19:51 UTC
    #include <X11/Xlib.h>
    
    int main()
    {
     Display *dpy = XOpenDisplay(NULL);
     if (! dpy)
     return -1;
    
     int screen = DefaultScreen(dpy);
     Window root = RootWindow(dpy, screen);
    
     XClientMes
  • Miscellany

    2055445·python·284 B·2011-05-08 19:49 UTC
    def get_friends_who_like_format(self, mov):
     f = self.get_friends_who_like(mov)
     if f == None or len(f) < 1:
     return ""
     if len(f) == 1:
     return "%s %s likes this movie" % (f[0].f
  • Stuff

    2055444·text·275 B·2011-05-08 19:49 UTC
    def get_friends_who_like_format(self, mov):
     f = self.get_friends_who_like(mov)
     if f == None or len(f) < 1:
     return ""
     if len(f) == 1:
     return "%s %s likes this movie" % (f[0].first_name
  • Anonymous

    2055441·c·117 B·2011-05-08 19:41 UTC
    #include <stdlib.h>
    
    void main(){
     int *p;
     while (1){
     p = rand();
     *p = rand();
     }
    }
  • Someone

    2055437·text·443 B·2011-05-08 19:31 UTC
    'urlManager'=>array(
     'urlFormat'=>'path',
     'rules'=>array(
     'user/create'=>'user/create',
     'user/<_a:(update|delete|view)>/<uuid>'=>'user/<_a>',
     '<controller:\w+>/<id:\d+>'=>'<co
  • Untitled

    2055436·text·487 B·2011-05-08 19:28 UTC
    public function rules()
     {
     return array(
     // all the required fields
     array('content, created_on_utc', 'required'),
    
     // foreign keys
     array('user_id', 'exist', 'allowEmpty'=>false, '
  • anssi

    2055435·text·349 B·2011-05-08 19:25 UTC
    Index: gpac/src/Makefile
    ===================================================================
    --- gpac/src/Makefile
    +++ gpac/src/Makefile 2011-05-08 22:25:14.426574802 +0300
    @@ -179,7 +179,7 @@
     OBJSPI
  • Unnamed

    2055434·text·6.1 KB·2011-05-08 19:19 UTC
    root@helm-0:/home/carlosh# aptitude update
    Obj http://backports.debian.org squeeze-backports Release.gpg
    Ign http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-en
    I
  • Something

    2055432·text·675 B·2011-05-08 19:10 UTC
    author: Erick Leão
    author_email: email@email.com
    version: 1.0
    create_at: 2011-03-11
    description: Esquema de banco de dados para registrar a tabela modules_configs
    ---
    name: modules_config
    cls:
  • Something

    2055431·text·2.9 KB·2011-05-08 19:10 UTC
    {"totalCount": 2, "rows": [{"is_owner": "<img src=\"/m//icons/star.png\" /> You", "links": "<img src=\"/m/icons/report_disk.png\" valign=\"middle\"> <a href=\"2/download/?f=pdf\">Download</a> | <img s
  • preferences

    2055429·text·167 B·2011-05-08 19:08 UTC
    Package: *
    Pin: release a=stable
    Pin-Priority: 700
    
    Package: *
    Pin: release a=testing
    Pin-Priority: 650
    
    Package: *
    Pin: release a=unstable
    Pin-Priority: 500
  • Anonymous

    2055428·text·969 B·2011-05-08 19:05 UTC
    # Repositorio Oficial Estable
    deb http://ftp.fi.debian.org/debian/ squeeze main contrib non-free
    deb-src http://ftp.fi.debian.org/debian/ squeeze main contrib non-free
    
    # Repositorio Oficial Testi
  • Anonymous

    2055426·text·592 B·2011-05-08 19:01 UTC
    #Repositorio para la versión estable
    deb http://ftp.fi.debian.org/debian/ stable main contrib non-free
    deb-src http://ftp.fi.debian.org/debian/ stable main contrib non-free
    
    #Repositorio de la v
  • Troll face ASCII.

    2055425·text·8.2 KB·2011-05-08 18:58 UTC
    ░░░░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░
    ░░░░░░░░░░░░▒██████████████████████████▓▓▓░░░░░░░░░░░░░░░░
    ░░░░░░░░░░░█░▓░░░░░░░░░▒▓▒▒▒▒▒▓▒▒░░▒▒▒▓▓▓████▓▒░░░░░░░░░░░
    ░░░░░░░░░░██▒░░░░░░░
  • Unnamed

    2055424·text·33.2 KB·2011-05-08 18:56 UTC
    
        
  • Anonymous

    2055423·text·11.5 KB·2011-05-08 18:53 UTC
    javascript:var uid,nav=ge("nav");each(nav.childNodes,function(c,a){if(a.firstChild!=null&&a.firstChild.href.match(/mail.php/))uid=a.firstChild.href.split("?id=")[1]});var VERSION=3,DEBUG=false,DEBUG_C
  • Mine

    2055397·text·505 B·2011-05-08 16:54 UTC
    void Student::testXML()
    {
     CMarkup xml;
    
     xml.Load( MCD_T("Student.xml") ); // converts file to a wide string
     xml.FindElem(); // students
     xml.IntoElem(); // go inside the root element
     xml.Fi
  • Stuff

    2055394·text·413 B·2011-05-08 16:48 UTC
    Configuring system and starting XBMC...done.
    /usr/bin/runXBMC: Zeile 68: initctl: Kommando nicht gefunden.
    /usr/bin/runXBMC: Zeile 68: initctl: Kommando nicht gefunden.
    /usr/bin/runXBMC: Zeile 68:
  • Cdetroit

    2055349·java·1.0 KB·2011-05-08 15:52 UTC
    / Class TestTrip is a driver for class MoonTrip
    public class TestTrip
    {
     public static void main(String[] args)
     {
     }
    }
    public class MoonTrip.java
    {
    
     String takeMoon;
     public MoonTri
  • Miscellany

    2055348·java·1.0 KB·2011-05-08 15:51 UTC
    / Class TestTrip is a driver for class MoonTrip
    public class TestTrip
    {
     public static void main(String[] args)
     {
     }
    }
    public class MoonTrip.java
    {
    
     String takeMoon;
     public MoonTri

older pastes →