All pastesPublic feed

Public feed

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

    2101655·text·1.2 KB·2012-01-09 19:20 UTC
    fail() {
     /bin/echo "Failed"
     clear
     /bin/echo "$1"
     exec /bin/sh
    }
    
    /bin/echo "Recovery loaded."
    
    if [ "$CARD_PATH" = "" ];then
     CARD_PATH="andboot"
    fi;
    if [ -d /sdcard/$CARD_P
  • Untitled

    2101654·text·171 B·2012-01-09 19:19 UTC
    #!/usr/bin/python
    sisend = raw_input('Sisesta s6na, et leida kas on palindroom: ')
    backward = sisend[::-1]
     
    if backward == sisend:
     print '1'
    else:
     print '2
  • Miscellany

    2101653·text·133 B·2012-01-09 19:18 UTC
    require_once('Zend/Date.php');
    
    $quarter_start = new Zend_Date(strtotime("2012-01-01"));
    echo $quarter_start->toString("Y-M-d");
  • Someone

    2101652·text·415 B·2012-01-09 19:15 UTC
    >> a = 2e-4
    
    a =
    
     2.000000000000000e-004
    
    >> b = 8.5e3
    
    b =
    
     8500
    
    >> c = 6e-5
    
    c =
    
     6.000000000000000e-005
    
    >> (-b+sqrt(b^2-4*a*c))/(2*a)
    
    ans =
    
     -4.547473508
  • Someone

    2101651·text·381 B·2012-01-09 19:12 UTC
    >> b = 5
    
    b =
    
     5
    
    >> a = 1
    
    a =
    
     1
    
    >> c = 2
    
    c =
    
     2
    
    >> (-b+sqrt(b^2-4*a*c))/(2*a);
    >> (-b+sqrt(b^2-4*a*c))/(2*a)
    
    ans =
    
     -0.438447187191170
    
    >> (-b-sqrt(b^2
  • Anonymous

    2101650·text·6.0 KB·2012-01-09 19:10 UTC
    University of Waterloo
    Faculty of Engineering
    Department of Electrical and Computer Engineering
    
    MATH 211/MATH 215
    Pre-Laboratory 1
    
    Prepared by
    Surname, Surname, Legal Given Name(s)
    UW Stude
  • Anonymous

    2101649·text·157 B·2012-01-09 19:08 UTC
    >> x = 52.847928153
    
    x =
    
     52.847928152999998
    
    >> x
    
    x =
    
     52.847928152999998
    
    >> x^3 - 5*x^2 + 4*x + 78
    
    ans =
    
     1.339240382004469e+005
  • Someone

    2101648·text·59 B·2012-01-09 19:05 UTC
    >> 52^3 - 5 * 52^2 + 4 * 52 + 78
    
    ans =
    
     127374
  • Someone

    2101647·text·330 B·2012-01-09 19:02 UTC
    >> 22/7
    
    ans =
    
     3.1429
    
    >> pi
    
    ans =
    
     3.1416
    
    >> sqrt(2)
    
    ans =
    
     1.4142
    
    >> exp(1)
    
    ans =
    
     2.7183
    
    >> format long
    
     22/7
    
    ans =
    
     3.142857142857143
    
    >
  • Someone

    2101646·text·153 B·2012-01-09 19:01 UTC
    >> 22/7
    
    ans =
    
     3.1429
    
    >> pi
    
    ans =
    
     3.1416
    
    >> sqrt(2)
    
    ans =
    
     1.4142
    
    >> exp(1)
    
    ans =
    
     2.7183
    
    >> format long
  • Miscellany

    2101645·text·153 B·2012-01-09 19:01 UTC
    >> 22/7
    
    ans =
    
     3.1429
    
    >> pi
    
    ans =
    
     3.1416
    
    >> sqrt(2)
    
    ans =
    
     1.4142
    
    >> exp(1)
    
    ans =
    
     2.7183
    
    >> format long
  • Something

    2101643·cpp·114.7 KB·2012-01-09 18:55 UTC
    
        
  • zad 6

    2101641·java·570 B·2012-01-09 18:49 UTC
    public class klasaGlowna
    {
     Random losuj = new Random;
     int[][] tab = new int[10][5];
     int suma = 0;
     
     public klasaGlowna()
     {
     for(int i=0; 0
  • Someone

    2101640·text·17.6 KB·2012-01-09 18:48 UTC
    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detai
  • zad5

    2101636·java·273 B·2012-01-09 18:44 UTC
    public class klasaGlowna
    {
     int[] tab = new int[10];
     public klasaGlowna()
     {
     for(int i=0; 0<10; i++)
     {
     tab[i]=101+i;
  • zad4

    2101635·java·142 B·2012-01-09 18:41 UTC
    public class Punkt
    {
     int x;
     int y;
     public void Punkt()
     {
     x=1;
     y=1;
     }
    }
  • Miscellany

    2101629·text·6.4 KB·2012-01-09 18:25 UTC
    Acquired analysis task for target "bins/1199379641.exe".
    [2012-01-09 19:21:12,895] [Database.Lock] DEBUG: Locked task with ID 187.
    [2012-01-09 19:21:12,898] [Database.Init] DEBUG: Connected to SQLi
  • Miscellany

    2101628·text·1.6 KB·2012-01-09 18:22 UTC
    19:06:52 <@irxc> blev mätt
    19:07:41 <@irxc> full med fett
    19:07:45 <@irxc> inte lätt
    19:08:27 <@irxc> fanken va hett
    19:08:35 <@irxc> på min lilla plätt
    19:08:52 <@irxc> Där var det komplett
    19:
  • Someone

    2101618·text·3.7 KB·2012-01-09 17:36 UTC
    mshaver@Matt:~$ cd emc2-dev/
    mshaver@Matt:~/emc2-dev$ git status
    # On branch v2.5_branch
    # Changed but not updated:
    # (use "git add <file>..." to update what will be committed)
    # (use "git ch
  • Someone

    2101617·text·2.2 KB·2012-01-09 17:35 UTC
    Unexpected non-MediaWiki exception encountered, of type "PHP_Invoker_TimeoutException"
    exception 'PHP_Invoker_TimeoutException' in /usr/share/php/PHP/Invoker.php:97
    Stack trace:
    #0 /usr/share/php/P

older pastes →