All pastesPublic feed

Public feed

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

    2118241·text·1.4 KB·2012-02-12 15:04 UTC
    Ejemplo de uso de semáforos
    Suponga el siguiente ejemplo en el que se quieren sincronizar dos hilos de un proceso, de manera que se dé la siguiente secuencia de ejecución: A, B, A, B, ... y así suces
  • Miscellany

    2118237·text·737 B·2012-02-12 13:02 UTC
    // Elapsed Time
     // Keep rollover in mind and /4 cause the value is transmitted in 0.25s
     int time = response.messageContents[3] / 4;
     if (roundtime &&
  • Someone

    2118226·text·759 B·2012-02-12 08:02 UTC
    deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
    deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
    
    deb http://ftp.fr.debian.org/debian/ squeeze-updates main
  • Untitled

    2118224·text·629 B·2012-02-12 07:25 UTC
    spacecadet linux # cat /proc/tty/drivers 
    /dev/tty /dev/tty 5 0 system:/dev/tty
    /dev/console /dev/console 5 1 system:console
    /dev/ptmx /dev/ptmx
  • Stuff

    2118221·text·420 B·2012-02-12 06:24 UTC
    package com.phonegap.example;
    
    import android.app.Activity;
    import android.os.Bundle;
    import com.phonegap.*;
    
    public class GVoiceA extends DroidGap
    {
     @Override
     public void onCreate(Bu
  • Someone

    2118220·text·2.9 KB·2012-02-12 06:23 UTC
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
     package="__PACKAGE__" android:versionName="1
  • Mine

    2118218·text·27.2 KB·2012-02-12 06:09 UTC
    mkv debug: | - unknown seekhead reference at 301207316
    mkv debug: | - unknown seekhead reference at 302746868
    mkv debug: | | + Seek
    mkv debug: | - unknown seekhead reference at 304290471
  • Mine

    2118215·text·15.1 KB·2012-02-12 05:28 UTC
    make debug 
    make -f Makefile.Debug
    make[1]: Entering directory `C:/Users/Dana/Desktop/work/eclipse/RobertsUI'
    c:/QtSDK/Desktop/Qt/4.8.0/mingw/bin/uic.exe aboutdialog.ui -o ui_aboutdialog.h
    c:/QtSD
  • Untitled

    2118212·text·1.0 KB·2012-02-12 05:19 UTC
    make debug 
    make -f Makefile.Debug
    make[1]: Entering directory `C:/Users/Dana/Desktop/work/eclipse/RobertsUI'
    c:/QtSDK/Desktop/Qt/4.8.0/mingw/bin/uic.exe robertsui.ui -o ui_robertsui.h
    g++ -c -g -
  • Stuff

    2118211·text·141 B·2012-02-12 05:13 UTC
    make debug 
    make: *** No rule to make target `c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\mkspecs\default\qmake.conf', needed by `Makefile'. Stop.
  • Anonymous

    2118210·text·2.6 KB·2012-02-12 05:06 UTC
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    
    C:\Users\Dana>env
    !::=::\
    !C:=C:\Users\Dana
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users
  • Anonymous

    2118207·text·57 B·2012-02-12 04:55 UTC
    C:\QtSDK\Desktop\Qt\4.8.0\msvc2010\lib;C:\QtSDK\mingw\lib
  • Untitled

    2118206·text·1.0 KB·2012-02-12 04:38 UTC
    %CommonProgramFiles%\Microsoft Shared\Windows Live;C:\MinGW\bin;C:\Program Files\TortoiseSVN\bin;C:\MinGW\msys\1.0\bin C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common Files\Mi
  • Someone

    2118204·text·263 B·2012-02-12 04:27 UTC
    make debug 
    make -f Makefile.Debug
    make[1]: Entering directory `C:/Users/Dana/Desktop/work/eclipse/RobertsUI'
    make[1]: Leaving directory `C:/Users/Dana/Desktop/work/eclipse/RobertsUI'
    Makefile.Deb
  • i rules

    2118203·text·8.2 KB·2012-02-12 04:24 UTC
    10120100No00000000100*02102*01*03*06*05*01w00q00004000v00u01u0B*0200Du0F00Cv0E10E00Ku0Jp00C0Bp0Pp0BC0D00R00Ut0UC0Tp0Po0S000p0Y00P00aC00o0Br0Pq0Ss0Bq0cw0Wp0Bo0Um00n0Pv0Bu0jn0bs0cu0nC0e000z0t00ar0sn0b*0
  • Something

    2118202·text·1.2 KB·2012-02-12 04:23 UTC
    linkClicked: function(inSender, inEvent) 
     {
     if(typeof blackberry !== "undefined" && inEvent.cancelable) // Deal with extraneous clicks from Ripple emulator
  • Mine

    2118201·text·263 B·2012-02-12 04:19 UTC
    make debug 
    make -f Makefile.Debug
    make[1]: Entering directory `C:/Users/Dana/Desktop/work/eclipse/RobertsUI'
    make[1]: Leaving directory `C:/Users/Dana/Desktop/work/eclipse/RobertsUI'
    Makefile.Deb
  • Anonymous

    2118198·text·2.6 KB·2012-02-12 03:41 UTC
    OS Name Microsoft Windows 7 Enterprise
    
    Version 6.1.7601 Service Pack 1 Build 7601
    
    Other OS Description Not Available
    
    OS Manufacturer Microsoft Corpo
  • Miscellany

    2118194·text·199 B·2012-02-12 02:53 UTC
    s=zpk('s');
    Fs = SERD + s*SERE;
    for m=1:Norder,
     prodVar = 2 * SERC(m) * SERA(m);
     for n = 1:Norder
     if (n~=m)
     prodVar = prodVar * (s*s - SERA(n)^2);
     end
     end 
     Fs = Fs + prodVar;
    end
  • Someone

    2118193·text·1.2 KB·2012-02-12 02:46 UTC
    <?php
    //connect to server
    require('../pinecountydatabase.php');
    ?>
    <html>
    <head>
     <title>Make A Wish</title>
    </head>
    <body>
    <?
    
    if ( !isset($_POST['wish']) ) {
     print '
     <h1>Make A Wish</

older pastes →