All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • Derived Property Test

    2053623·java·966 B·2011-05-03 21:32 UTC
    ... domain class
    class ClassWithDerivedProperty {
     Integer a
     Integer b
     Integer aTimesB
    
     static mapping = {
     aTimesB formula: 'A*B'
     }
    }
    
    ... integration test 
    class ClassWithD
  • Untitled

    2053622·text·70 B·2011-05-03 21:25 UTC
    #!/bin/bash
    
    CMD="$*"
    exec /sbin/lvm lvs ${CMD/,devices/,stripes}
  • Unnamed

    2053621·text·644 B·2011-05-03 21:24 UTC
    #!/app/gmd/sw/perl5.12.3.linux/bin/perl
    
    use strict;
    use CPAN::Distroprefs;
    
    my %ext_map = (
     'yml' => 'Proc::ProcessTable',
     'dd' => 'Proc::ProcessTable',
    );
    my $prefs_dir = '/
  • Anonymous

    2053619·text·615 B·2011-05-03 21:24 UTC
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    0ef9447511854e7cc3fe73882e4b866034145af8d99229b6ac0c30466f894477
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.10 (GNU/Linux)
    
    iQEcBAEBAgAGBQJ
  • Omei Qunhua

    2053618·text·1.3 KB·2011-05-03 21:22 UTC
    // Texture Changer with pre-load by Omei Qunhua
    
    integer texture_index = 0;
    integer texture_count;
    
    show_texture (integer side, integer j, integer show)
    {
     j = j % texture_count; // Adju
  • Anonymous

    2053617·text·9.7 KB·2011-05-03 21:22 UTC
    [B]Fotos y videos más fáciles[/B]
    
    [IMG]http://bucket.lanacion.com.ar/anexos...351739h600.jpg[/IMG]
    
    Celulares, cámaras, tablets. Los dispositivos para registrar imágenes están por todos lados. Aq
  • Untitled

    2053615·text·2.0 KB·2011-05-03 21:20 UTC
    # Whole movie is shot in Breen's office
    # Characters are Jason and Breen, and somewhat stationary Combine soldiers
    
    # The movie is about Breen's desperation and dismay towards humanity. Breen wants
  • Omei Qunhua

    2053614·text·827 B·2011-05-03 21:18 UTC
    // Texture Changer by Omei Qunhua
    string texture_name;
    integer texture_index = 0;
    
    default
    {
     state_entry()
     {
     texture_name = llGetInventoryName(INVENTORY_TEXTURE, 0);
  • Something

    2053613·text·1.7 KB·2011-05-03 21:18 UTC
    Question 12:
    I chose b. ALTER TRACE because MSDN says this which pretty much aligns directly to the question being asked:
    
    "When policies are evaluated on demand, they execute in the security conte
  • Something

    2053609·text·518 B·2011-05-03 21:11 UTC
    Error starting pool 'vgNAS0201VM': internal error lvs command failed
    
    Traceback (most recent call last):
     File "/usr/share/virt-manager/virtManager/host.py", line 608, in start_pool
     pool.star
  • Someone

    2053606·text·10.4 KB·2011-05-03 21:05 UTC
    Battle between Elliott Smith and Sam B started!
    
    Tier: Dream World
    Variation: +16, -16
    Rule: Rated
    Rule: Sleep Clause
    Rule: Species Clause
    
    Sam B sent out Evil Weavil! (Weavile)
    Elliott Smith
  • Anonymous

    2053603·text·866 B·2011-05-03 20:54 UTC
    class spell_polarity_change : public SpellScriptLoader
     {
     public:
     spell_polarity_change() : SpellScriptLoader("spell_polarity_change") { }
    
     class spell_polarity
  • Stereocaulon

    2053599·c·80 B·2011-05-03 20:40 UTC
    #include<stdio.h>
    int main()
    {
     printf("hello");
     return 0;
    }
  • Miscellany

    2053598·text·166.5 KB·2011-05-03 20:37 UTC
    
        
  • Something

    2053594·text·296 B·2011-05-03 20:31 UTC
    \begin{tabular}{lr}
     Original & 100.0\% \\
     \midrule
     Unnecessary Special-Case Checking
     & 99.0\% \\
     Lookup Table Early Stopping \& Optimised Search
     & 78.5\% \\
     Loo
  • Stuff

    2053588·text·795 B·2011-05-03 20:03 UTC
    OK, I found how to show only on home page the header banner:
    
    Edit /admin/view/template/module/banners.tpl
    
    Find <?php if ($banners_position == 'header') { ?>
     <option value="header" selec
  • test001

    2053581·text·1006 B·2011-05-03 19:39 UTC
    Index: common/misc/cmdarg.c
    ===================================================================
    --- common/misc/cmdarg.c (revision 2374)
    +++ common/misc/cmdarg.c (working copy)
    @@ -53,12 +53,12 @@
     cm
  • Someone

    2053578·text·4.8 KB·2011-05-03 19:25 UTC
    2011-05-03 12:20:26-0700 [-] processing: {ffdb2b25-08d6-41dc-8fe5-c75df3d125f7}/usr/lib/archivematica/MCPClient/clientScripts/archivematicaFITS.py "/var/archivematica/sharedDirectory/currentlyProcess
  • Miscellany

    2053576·text·998 B·2011-05-03 19:06 UTC
    Configuring Apache Portable Runtime library ...
    
    checking for APR... yes
     setting CPP to "i486-openwrt-linux-uclibc-gcc -E"
     adding "-DLINUX=2" to CPPFLAGS
     adding "-D_REENTRANT" to CPPFLAGS
  • Stuff

    2053573·text·3 B·2011-05-03 19:02 UTC
    asd

older pastes →