All pastesPublic feed

Public feed

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

    2074396·php·8.5 KB·2011-06-04 01:43 UTC
    <?php
    
    error_reporting(E_ALL);
    libxml_use_internal_errors(true);
    
    // ********************* //
    // ***** FUNCTIONS ***** //
    // ********************* //
    
    class BDWeather {
    
     // Extract a time-
  • Miscellany

    2074395·text·8.5 KB·2011-06-04 01:43 UTC
    <?php
    
    error_reporting(E_ALL);
    libxml_use_internal_errors(true);
    
    // ********************* //
    // ***** FUNCTIONS ***** //
    // ********************* //
    
    class BDWeather {
    
     // Extract a time-
  • Miscellany

    2074392·text·9.6 KB·2011-06-04 01:25 UTC
    手順は http://goo.gl/3kYZb を参照して実行。
    以下、linux上の作業と、adb shell上の作業のログ。
    吸い出したmtd2のイメージを再構築して書き戻しているだけ。
    
    <ON linux console>
    
    [rt@localhost is06]$ ls -l
    合計 6944
    -rwxr-xr-x 1 rt rt 24302 6月 3日 02:2
  • Something

    2074384·text·799 B·2011-06-04 01:03 UTC
    <html>
    <%
    dim cars
    cars=Request.Form("cars")
    %>
    <body>
    <form action="demo_radiob.asp" method="post">
    <p>Please select your favorite car:</p>
    
    <input type="radio" name="cars"
    <%if cars="Volvo
  • Someone

    2074383·text·4.5 KB·2011-06-04 01:01 UTC
    [Oracle's Flash]
     #Requirement section
     required = 0
     maximum = 0
    
     #Restrict section
     restrictmap = ""
     restrictteam = 0
     restrictitem = ""
     teamlimit
  • Mine

    2074382·java·2.1 KB·2011-06-04 01:00 UTC
    // Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) 
    // Source File Name: Q.java
    
    import java.io
  • ed2k_filetype.cpp

    2074380·cpp·6.9 KB·2011-06-04 00:42 UTC
    #include "stdafx.h"
    #include "ed2k_filetype.h"
    
    ///////////////////////////////////////////////////////////////////////////////////////////////////////
    static SED2KFileType aED2KFileTypes[] =
    {
  • ed2k_filetype.diff

    2074379·diff·1.9 KB·2011-06-04 00:42 UTC
    --- ed2k_filetype.cpp 2011-06-01 23:10:30.000000000 +0200
    +++ ed2k_filetype_proposed.cpp 2011-06-01 23:09:06.000000000 +0200
    @@ -74,6 +74,7 @@
     { _T("mpv1"), ED2KFT_VIDEO },
     { _T("mpv2"), ED2KF
  • Something

    2074378·text·215 B·2011-06-04 00:40 UTC
    temp_number = 0
    for(i = 1, i <= originalwords.len, i++)
     if(originalwords[i] == "ire"
     temp_number = i
     break
    if(temp_number)
     do stuff.....
    else
     couldn
  • Someone

    2074376·text·1.5 KB·2011-06-04 00:38 UTC
    You sent a payment of $12.81 USD to Arumix / SmileNTango (smilentango@gmail.com)
    Thanks for using PayPal. To see all the transaction details, log in to your PayPal account.
    
    It may take a few momen
  • heat.py

    2074375·python·320 B·2011-06-04 00:38 UTC
    import multiprocessing, os
    
    def heat():
     print "PID: ", os.getpid()
     while True:
     pass
    
    if __name__ == '__main__':
     pool = multiprocessing.Pool()
     for i in range( multiprocessing.cpu_count()
  • Stuff

    2074369·text·1.6 KB·2011-06-04 00:32 UTC
    default=1
    timeout=12
    splashimage=(hd0,4)/grub/splash.xpm.gz
    hiddenmenu
    title Upgrade to Fedora 15 (Lovelock)
     kernel /upgrade/vmlinuz preupgrade repo=hd::/var/cache/yum/preupgrade ks=hd:UUID=c8ac
  • heat.py

    2074363·python·262 B·2011-06-04 00:09 UTC
    import multiprocessing
    
    def heat():
     while True:
     pass
    
    if __name__ == '__main__':
     pool = multiprocessing.Pool(processes=multiprocessing.cpu_count()+1)
     result = pool.apply_async(heat)
     pri
  • Untitled

    2074357·text·292 B·2011-06-03 23:56 UTC
    G20 (Units: Inches)
    G40 (Cancel Cutter Comp)
    G90 (Absolute Mode)
    G64 P0.005 (Continuous mode + path tolerance)
    G92 X0 Y0
    o<touchoff> call [0.100] [0] [0.08] (Touchoff and start cutting)
    F135
    G1
  • Someone

    2074356·text·2.0 KB·2011-06-03 23:56 UTC
    [app-userlogonoff]
    include => app-userlogonoff-custom
    exten => *12,1,Macro(user-logoff,)
    exten => *12,n(hook_off),Hangup
    exten => h,1,Verbose(call just hung up)
    exten => *11,1,Macro(user-logon,)
  • Something

    2074354·text·1.9 KB·2011-06-03 23:54 UTC
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and in
  • Miscellany

    2074353·text·635 B·2011-06-03 23:53 UTC
    This is what happens when I try to associate a mount point with my DVD burner. It doesn't make sense. Mandriva 2009.1:
    
    The "diskdrake" program has crashed with the following error:
    
     Not enough
  • Someone

    2074348·text·532 B·2011-06-03 23:40 UTC
    <script type="text/javascript">
    
    $(document).ready(function() {
     
     function calculate () {
     
     // USER INPUT
     
     var active_vehicles_in_fleet = $('#element_1').val(); 
     var averag
  • Mine

    2074347·text·1.8 KB·2011-06-03 23:38 UTC
    #include <iostream>
    #include <fstream>
    #include <map>
    #include <set>
    #include <algorithm>
    #include <vector>
    #include <string>
    #include <stdlib.h>
    #include <math.h>
    #include <numeric>
    #includ
  • Someone

    2074343·text·312 B·2011-06-03 23:24 UTC
    o<touchoff> sub
    (#1 pierce height, #2 pierce delay, #3 cut height)
    F10
    G38.2 Z-1.75 (Probe to find the surface)
    G91
    G1 Z1.100 (Raise up to Z0)
    G90
    G92 Z0 (Set Z0)
    G1 Z#1
    M3 S1
    M66 P0 L1 Q5 (

older pastes →