All pastesPublic feed

Public feed

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

    2072445·text·1.1 KB·2011-05-30 19:56 UTC
    class ActionPerformedMenuBar implements ActionListener{
     public void actionPerformed(ActionEvent e){
    
     if(e.getSource() == jmenuitemAbout){
     JDialog dlgAbout = new AboutDialog(Calculator.
  • Someone

    2072443·text·314 B·2011-05-30 19:54 UTC
    package digitgroup;
    
    import java.text.DecimalFormat;
    
    public class Main {
    
     public static void main(String[] args) {
     DecimalFormat df = new DecimalFormat();
    
     df.setGrouping
  • Someone

    2072442·python·662 B·2011-05-30 19:50 UTC
    class A(object):
     i = 1
     def print_i(self):
     print 'In A.print_i() self.i is', self.i
     # this prints correctly
    
    class B(A):
     def vals(self):
  • Mine

    2072439·text·415 B·2011-05-30 19:36 UTC
    <div id="rightsidebar" class="column">
    
    <ul>
    
    <li>
    
    <h2 class="motore">Motore di ricerca interno</h2>
    
     <form method="get" id="searchform" action="http://test.istruzione.lombardia.it/"
  • Stuff

    2072437·text·1.3 KB·2011-05-30 19:29 UTC
    Yoo'.
    
    Plait 
    Alors c'te journée
    
    Euh ... Sportive.
    
    Tas fait quoi 
    
    J'ai baisé. Avec une fille qui m'avais raccolé à Epita.
    
    Ok. Cool.
    
    Assez.
    Ct'oi qu'a demandé.
    
    Je pensais pas vrai
  • Mine

    2072433·ruby·161 B·2011-05-30 19:07 UTC
    <div class="shadow">
    
    <%- if rand(2) > 1 %>
     <a href="#">Link 1</a>
    <%- else %>
     <a href="#">Link 2</a>
    <%- end %>
     </div>
  • Something

    2072432·text·1.0 KB·2011-05-30 19:05 UTC
    calculate fylh # cat /etc/group
    root::0:root
    bin::1:root,bin,daemon
    daemon::2:root,bin,daemon
    sys::3:root,bin,adm
    adm::4:root,adm,daemon,fylh
    tty::5:
    disk::6:root,adm,haldaemon
    lp::7:lp,fylh
  • Unnamed

    2072431·text·937 B·2011-05-30 19:03 UTC
    NEVER, EVER, QUESTION A DRUNK!
    
    I was shopping at the local supermarket where I selected:
    
    A half-gallon of 2% milk,
    A carton of eggs,
    A quart of orange juice,
    A head of lettuce,
    A 2 lb. Can o
  • Miscellany

    2072430·text·4.7 KB·2011-05-30 18:51 UTC
    base-files-atheros 14.3-r18961 installed This package contains a base filesystem and system scripts for OpenWrt.
    bridge 1.4-1 installed Manage ethernet bridging: a way to connect networks together
  • Miscellany

    2072425·text·2.8 KB·2011-05-30 18:35 UTC
    Buildfile: /Users/Adva/Desktop/repository/tr/trunk/dev/org.rssowl.build/build.xml
     [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
  • Mine

    2072424·text·474 B·2011-05-30 18:35 UTC
    Buildfile: /Users/Adva/Desktop/repository/tr/trunk/dev/org.rssowl.build/build.xml
     [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
  • Anonymous

    2072423·text·842 B·2011-05-30 18:34 UTC
    public class test 
    {
     public static void main(String[] args) {
     char[] arr1 = {' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
     char[] arr2 = {' ', '0', '1', '2', '3', '4', '5', '6', '7'
  • Stuff

    2072422·text·939 B·2011-05-30 18:33 UTC
    public class test 
    {
     public static void main(String[] args) {
     char[] arr1 = {' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
     char[] arr2 = {' ', '0', '1', '2', '3', '4', '5', '6', '7'
  • Stuff

    2072421·text·248 B·2011-05-30 18:32 UTC
    byte[] OhSerialize(BundleItem derBundle)
     {
     using (var stream = new MemoryStream())
     {
     XmlSerializer xmlSerializer = new XmlSerializer(typeof(BundleItem));
     xmlSerializer.Serialize(s
  • Visual C# HID Example

    2072417·csharp·8.9 KB·2011-05-30 18:21 UTC
    /*The DLL has four functions:
    void USBHIDClassInit (VID, PID, Size) - Sets the Vendor and Product Id used in the class.
     Also specifies the Report Size. This mu
  • Visual C# HID Example

    2072416·csharp·8.9 KB·2011-05-30 18:21 UTC
    /*The DLL has four functions:
    void USBHIDClassInit (VID, PID, Size) - Sets the Vendor and Product Id used in the class.
     Also specifies the Report Size. This mu
  • Mine

    2072414·diff·1.5 KB·2011-05-30 18:18 UTC
    --- target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c (revisione 27031)
    +++ target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c (copia locale)
    @@ -28,6 +28,9 @@
     module_param_named(
  • Mine

    2072410·sql·289 B·2011-05-30 18:07 UTC
    ALTER TABLE tblcustomers AUTO_INCREMENT = 2000;
    ALTER TABLE `tollring_crm`.`tblcustomers` CHANGE COLUMN `customerid` `customerid` INT(11) NOT NULL AUTO_INCREMENT ;
    
    Error Code: 1062
    ALTER TAB
  • Something

    2072407·text·2.6 KB·2011-05-30 18:05 UTC
    Hey man, I've been thinking a lot about what happened last night. I'm not sure why, but my guard was down & I behaved a little differently than I normally do. I don't regret what happened last night,
  • Miscellany

    2072406·text·5.0 KB·2011-05-30 17:55 UTC
    2011-05-30 17:49:53 LOG_DEBUG: [parlementum.net:queuedaemon.php:1971] Adding public key: (ktZ_LdP5Rn9PxYuuNuyFRyRLHjlALZfk7RGEtKsUe_-zTIKfq11ib6dD9YmZks2jvk4mfUB-QMAoALcLjaACEDYClWPqTSXey4fn88et2-EKU7

older pastes →