All pastesPublic feed

Public feed

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

    2127820·text·269 B·2012-03-13 14:06 UTC
    f=Piecewise([[(-1,-1/2),-x],[(-1/2,1/2),0],[(1/2,1),x]])
    p=plot(f)
    var('j')
    an=(2*cos(j*pi/2)+j*pi*sin(j*pi/2)+2*(-1)^j)/(j^2*pi^2)
    def fs(q):
     return 3/4+sum(an*cos(j*pi*x),j,1,q)
    print fs(3
  • Famicom Disk System emul. WIP

    2127813·cpp·12.2 KB·2012-03-13 13:43 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Famicom Disk System emul. WIP

    2127812·cpp·12.1 KB·2012-03-13 13:41 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Mine

    2127811·diff·564 B·2012-03-13 13:38 UTC
    --- translate/storage/base.py 2011-05-15 20:14:19.000000000 +0200
    +++ /home/claude/.../translate/storage/base.py 2012-03-13 14:17:21.759808031 +0100
    @@ -543,6 +543,9 @@
     @param unit: The un
  • Famicom Disk System emul. WIP

    2127808·cpp·11.8 KB·2012-03-13 13:33 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Famicom Disk System emul. WIP

    2127807·cpp·11.8 KB·2012-03-13 13:33 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • Famicom Disk System emulation WI

    2127806·cpp·11.8 KB·2012-03-13 13:32 UTC
    // Integer types
    typedef unsigned char u8;
    // Bitfield utilities
    template<unsigned bitno, unsigned nbits=1, typename T=u8>
    struct RegBit
    {
     T data;
     enum { mask = (1u << nbits) - 1u };
  • chinese spam

    2127796·text·21.4 KB·2012-03-13 12:56 UTC
    Received: from server3.hengzhi-mail.com (211.151.62.103) by
     mail.jam-software.de (192.168.123.87) with Microsoft SMTP Server id
     14.2.283.3; Mon, 12 Mar 2012 21:45:24 +0100
    Received: from server1.
  • Stuff

    2127788·text·1.0 KB·2012-03-13 12:33 UTC
    -=================- TFM client ideas -=================-
    
    - full screen with game anchored at the bottom
    - adjustable left, right and centered alignment
    - custom chat window/menu
    - radial summon
  • Unnamed

    2127787·c·3.8 KB·2012-03-13 12:33 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO 
    *********
  • Someone

    2127786·text·2.3 KB·2012-03-13 12:32 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
     
     self.frame_count = 0
     self.keyframe_count = 0
  • Someone

    2127784·text·2.3 KB·2012-03-13 12:31 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
     
     self.frame_count = 0
     self.keyframe_count = 0
  • mmm

    2127775·text·219 B·2012-03-13 12:18 UTC
    # alsactl -v
    alsactl version 1.0.23
    
    # lspci | grep Audio
    00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
    
    # cat /proc/asound/card0/codec#0 | grep Codec
    Codec
  • Untitled

    2127767·c·3.3 KB·2012-03-13 11:50 UTC
    //Main
    /****************************************************************
    * Author: kh@ipimp.at
    *****************************************************************
    * Minimum setup of GPIO 
    *********
  • Stuff

    2127766·text·4.0 KB·2012-03-13 11:50 UTC
    <?php get_header(); ?>
    
    <div id="main-area-wrap">
     <div id="wrapper">
     <div id="main">
     <div class="post">
     
     <?php if (get_option('glow_integration_single_top') <> '' && get_option('gl
  • Stuff

    2127757·text·6.9 KB·2012-03-13 11:20 UTC
    var relative : boolean;
    var rot : Vector3;
    var apagavel : boolean;
    var sangue : boolean;
    var exposure : float;
    var pancada : float;
    var HitPlayer : boolean;
    var HitEnemy : boolean;
    var explosi
  • Someone

    2127728·text·4.1 KB·2012-03-13 10:41 UTC
    /*Packages*/
    package connection;
    
    /*Imports*/
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    
    import org.apache.commons.net.
  • Stuff

    2127701·text·309 B·2012-03-13 10:24 UTC
    /*FTP Verbindung*/
    FtpConnection ftp = new FtpConnection(ip,"admin","admin");
    ftp.connect();
    ftp.login();
    ftp.uploadDir(treiber);
    ftp.disconnect();
    
    /*Telnetverbindung zu Gerät zum rebooten*/
  • ME 3 ending explained

    2127671·text·3.5 KB·2012-03-13 10:06 UTC
    Source: http://paragadeshep.tumblr.com/post/19099827322/alternate-explanation-for-the-me3-endings
    Pasting here to spare you the horrendous theme/design
    
    Alternate explanation for the ME3 endings.
  • Miscellany

    2127609·text·2.2 KB·2012-03-13 09:34 UTC
    import sys, os, time, thread
    import glib, gobject
    import pygst
    pygst.require("0.10")
    import gst
    
    class CLI_Main:
     
     def __init__(self):
     
     self.frame_count = 0
     self.keyframe_count = 0

older pastes →