All pastesPublic feed

Public feed

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

    2098743·text·658 B·2012-01-03 23:09 UTC
    # Project Euler #3
    
    from math import sqrt
    
    def primes(n):
     """ Use sieve of Eratosthenes to find all primes <= n """
     R = {x for x in range(2,n+1)} # search space
     k = 2 # first prime
  • Anonymous

    2098734·text·1.4 KB·2012-01-03 22:13 UTC
    # fdisk -l
    
    Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders, всего 3907029168 секторов
    Units = секторы of 1 * 512 = 512 bytes
    Sector size (logical/phys
  • Something

    2098731·text·12 B·2012-01-03 21:31 UTC
    rai rati rai
  • Someone

    2098726·text·2.3 KB·2012-01-03 20:56 UTC
    $ xrandr --prop
    Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
    DisplayPort-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
     EDID:
  • Mine

    2098724·text·1.0 KB·2012-01-03 20:02 UTC
    Jon's chicken stew #1
    =====================
    
    1.5 lbs - chicken meat
    3 small - onions rough chopped (1 large)
    1 tablespoon - hot chili powder
    2 teaspoons - cumin
    1/8 teaspon - black peppercorns
  • Mine

    2098722·text·1.5 KB·2012-01-03 19:52 UTC
    ;======================================;
    ; Gestion des connexions Eva Services
    ; par Raptor pour irc.olympe-fr.net
    ;======================================;
    
    on 1:LOAD:{ 
     set %Eva.Nick $?="Ps
  • Miscellany

    2098721·text·4.2 KB·2012-01-03 19:41 UTC
    #!/bin/bash
    
    # modprobe eh usado para carregar modulos do kernel
    MOD=$(which modprobe)
    
    # iptables
    IPT=$(which iptables)
    
    # Interfaces de rede
    I_LINK1="eth0"
    I_LINK2="eth2"
    I_LAN="eth1"
  • Miscellany

    2098720·diff·208 B·2012-01-03 19:32 UTC
    --- echinus.c 2012-01-03 17:23:03.000000000 +0400
    +++ _echinus.c 2012-01-03 17:23:48.000000000 +0400
    @@ -705,6 +705,7 @@
     
     void
     focus(Client * c) {
    + if (c == sel) return;
     Client *o;
  • Someone

    2098719·c·915 B·2012-01-03 19:30 UTC
    focus(Client * c) {
     if (c == sel) return;
     Client *o;
    
     o = sel;
     if ((!c && selscreen) || (c && (c->isbastard || !isvisible(c, curmonitor()))))
     for (c = stack;
     c && (c->isbastard || c
  • Anonymous

    2098718·text·919 B·2012-01-03 19:28 UTC
    dahdi show channels
     Chan Extension Context Language MOH Interpret Blocked State 
     pseudo default default In Service
  • Anonymous

    2098716·text·3.6 KB·2012-01-03 19:28 UTC
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/local/lib/sword/1.6.2_icu_2.1\" -DGLOBCONFPATH=\"
  • Miscellany

    2098714·text·1.4 KB·2012-01-03 19:24 UTC
    -- Starting simple switch on 'DAHDI/1-1'
     -- Executing [s@from-pstn:1] NoOp("DAHDI/1-1", "No DID or CID Match") in new stack
     -- Executing [s@from-pstn:2] Answer("DAHDI/1-1", "") in new st
  • Untitled

    2098707·text·217 B·2012-01-03 19:02 UTC
    ! Make Caps Lock be another control key and make 
    ! Right Control the Caps Lock toggle
    remove lock = Caps_Lock 
    add control = Caps_Lock 
    keycode 66 = Control_L 
    remove control = Control_R 
    add l
  • Anonymous

    2098705·text·8.3 KB·2012-01-03 18:37 UTC
    I/ActivityManager( 195): Start proc com.android.nfc3 for restart com.android.nfc3: pid=12141 uid=1027 gids={3002, 3001}
    I/NfcService(12141): Starting NFC service
    D/NFC JNI (12141): NFC Service : lo
  • Miscellany

    2098704·text·3.6 KB·2012-01-03 18:34 UTC
    ´01001070
    01001071
    01001075
    01003367
    01003368
    01003376
    01003389
    01003390
    01003391
    01003392
    01003393
    01003409
    01003410
    01003411
    01003412
    01003413
    01102325
    01102327
    01102338
    01102347
  • Unnamed

    2098703·text·689.8 KB·2012-01-03 18:22 UTC
    
        
  • Unnamed

    2098697·text·332 B·2012-01-03 18:12 UTC
    { stdenv, fetchurl, perl, libX11 }:
    
    stdenv.mkDerivation rec {
     name = "fvwm-2.6.3";
    
     src = fetchurl {
     url = "ftp://ftp.fvwm.org/pub/fvwm/version-2/${name}.tar.bz2";
     sha256 = "8299b8
  • Mine

    2098686·text·2.5 KB·2012-01-03 17:47 UTC
    #!/bin/bash
    
    # modprobe eh usado para carregar modulos do kernel
    MOD=$(which modprobe)
    
    # iptables
    IPT=$(which iptables)
    
    # Interfaces de rede
    I_LINK1="eth0"
    I_LINK2="eth2"
    I_LAN="eth1"
  • Mine

    2098674·text·1.2 KB·2012-01-03 17:29 UTC
    Dear Danze, I noticed your photography on 500px and I am frankly astounded by how ALIVE every single one of your photographs is! "Left" is beautiful; it makes me feel as though I am truly in that boat
  • Something

    2098668·text·532 B·2012-01-03 17:18 UTC
    <html>
    <head>
     <title>Exercicio</title>
    </head>
    
    <body bgcolor=white>
     <h2 align = center> Esta é a minha página. </h2>
     <hr>
     <script type=text/javascript>
     
     var aleatorio =math.round(100*

older pastes →