All pastesPublic feed

Public feed

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

    2133045·text·917 B·2012-03-28 04:53 UTC
    from jvPlot_class import *
    import solarLib as sl
    
    def main():
     # first x/y pair
     x0 = [1,2,3,4,5]
     y0 = [1,1,1,1,1]
    
     x1 = [60,70,80,90,100]
     y1 = [50,50,50,50,50]
    
     # make the plotting hap
  • Something

    2133042·text·917 B·2012-03-28 04:53 UTC
    from jvPlot_class import *
    import solarLib as sl
    
    def main():
     # first x/y pair
     x0 = [1,2,3,4,5]
     y0 = [1,1,1,1,1]
    
     x1 = [60,70,80,90,100]
     y1 = [50,50,50,50,50]
    
     # make the plotting hap
  • Untitled

    2133040·php·1.6 KB·2012-03-28 04:39 UTC
    try{
    
     $customer = new inspired_customer();
     $customer->setPk(9);
     $customer->read();
    
     // product ids to test
     $ids = array(15,20,25);
    
     foreach($ids as $id)
     {
     $object = new inspired_pr
  • Untitled

    2133038·php·3.3 KB·2012-03-28 04:37 UTC
    try{
    
     $customer = new inspired_customer();
     $customer->setPk(9);
     $customer->read();
    
     // product ids to test
     $ids = array(15,20,25);
    
     foreach($ids as $id)
     {
     $object = new inspired_pr
  • Untitled

    2133036·php·778 B·2012-03-28 04:32 UTC
    try{
    
     $customer = new inspired_customer();
     $customer->setPk(9);
     $customer->read();
    
     // product ids to test
     $ids = array(15,20,25);
    
     foreach($ids as $id)
     {
     $object = new inspired_pr
  • Anonymous

    2133034·text·424 B·2012-03-28 04:15 UTC
    import matplotlib.pyplot as plt
    
    x1 = range(1,10,1)
    y1 = []
    for x in x1:
     y1.append(5*x)
    
    x2 = range(100,200,1)
    y2 = []
    for x in x2:
     y2.append(5*x+30)
    
    fig = plt.figure()
    
    ax1 = fig.add
  • Stuff

    2133033·text·424 B·2012-03-28 04:15 UTC
    import matplotlib.pyplot as plt
    
    x1 = range(1,10,1)
    y1 = []
    for x in x1:
     y1.append(5*x)
    
    x2 = range(100,200,1)
    y2 = []
    for x in x2:
     y2.append(5*x+30)
    
    fig = plt.figure()
    
    ax1 = fig.add
  • Miscellany

    2133032·text·275 B·2012-03-28 04:11 UTC
    if [ "X$CUSTOMCFLAGS" = "X" ]; then
     echo "No custom C flags for you"
    else
     SLKCFLAGS="$CUSTOMCFLAGS"
     #So the same custom flags can be issued on 64 bit and 32 bit.
     if [ "$ARCH" = "x86_64"
  • Untitled

    2133031·text·222 B·2012-03-28 03:56 UTC
    require 'nesta/env'
    Nesta::Env.root = ::File.expand_path('.', ::File.dirname(__FILE__))
    
    require 'nesta/app'
    
    class Nesta::App
     set :public_folder, File.dirname(__FILE__) + '/content/static'
    e
  • Someone

    2133030·text·296 B·2012-03-28 03:56 UTC
    require 'rubygems'
    require 'bundler/setup'
    
    Bundler.require(:default)
    
    require 'nesta/env'
    Nesta::Env.root = ::File.expand_path('.', ::File.dirname(__FILE__))
    
    class Nesta::App
     set :public_
  • Unnamed

    2133029·text·296 B·2012-03-28 03:55 UTC
    require 'rubygems'
    require 'bundler/setup'
    
    Bundler.require(:default)
    
    require 'nesta/env'
    Nesta::Env.root = ::File.expand_path('.', ::File.dirname(__FILE__))
    
    class Nesta::App
     set :public_
  • ddd

    2133027·text·719.8 KB·2012-03-28 03:42 UTC
    
        
  • Mine

    2133025·text·12 B·2012-03-28 03:23 UTC
    あかーん
  • Mine

    2133023·bash·589 B·2012-03-28 03:08 UTC
    dmesg | grep sde1 
    [ 6.052365] sde: sde1 sde2
    [ 24.311524] EXT4-fs (sde1): mounted filesystem with ordered data mode
    [68135.597687] EXT4-fs error (device sde1): ext4_mb_generate_buddy: EXT4-f
  • GeoNode Layer Deletion Error - S

    2133021·text·3.6 KB·2012-03-28 02:34 UTC
    Environment:
    
    Request Method: POST
    Request URL: http://sling.gosl.gov.lc/admin/maps/layer/
    Django Version: 1.2
    Python Version: 2.6.5
    Installed Applications:
    ['django.contrib.auth',
     'django.co
  • Unnamed

    2133019·text·299 B·2012-03-28 02:30 UTC
    // Json encoding!
    
    $test_params_total = $post['test_params_total'];
    $test_params = '{';
    for($i=0; $i<$test_params_total; $i++) {
     $test_params .= '"'.$post['test_year'.$i].'"' . ':' . '"'.$post['
  • Something

    2133020·text·12 B·2012-03-28 02:29 UTC
    Test - 1,2,3
  • Untitled

    2133018·text·299 B·2012-03-28 02:20 UTC
    // Json encoding!
    
    $test_params_total = $post['test_params_total'];
    $test_params = '{';
    for($i=0; $i<$test_params_total; $i++) {
     $test_params .= '"'.$post['test_year'.$i].'"' . ':' . '"'.$post['
  • Stuff

    2133016·text·1.7 KB·2012-03-28 02:19 UTC
    root@HOOD:/home/rnbwpnt# xrandr -q
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 320 x 175, current 1920 x 1080, maximum 1920 x 1080
    default connected 1920x1080+0+0 0mm x
  • Unnamed

    2133015·text·504 B·2012-03-28 02:04 UTC
    =====================
    2. System Requirements
    =====================
    
    Minimum Requirements
    OS: Windows 7 (32-64bit) / Windows XP
    CPU: Core i3 (dual core) @ 2.13 GHz
    Video Card: Compatible NVIDIA

older pastes →