New paste›Public feed

Public feed

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

    970188·text·1.5 KB·2008-04-03 21:39 UTC
    Contoller:
    
    public function loginAction()
     {
     # assign the form to view
     $request = $this->getRequest();
     $form = new WebForm; 
     $form->addReqField('username', 'Username');
     $form->ad
  • Someone

    970185·text·1.6 KB·2008-04-03 21:38 UTC
    ... (line 762 and further of linkwatcher.pl)
     $query="INSERT INTO $settings{'mysqltableprefix'}linklog (edit_id,lang,pagename,namespace,diff,revid,oldid,wikidomain,user,fullurl,domain,
  • Someone

    970184·text·4.9 KB·2008-04-03 21:38 UTC
    /op /mode # +ooo $$1 $2 $3
    /dop /mode # -ooo $$1 $2 $3
    /j /join #$$1 $2-
    /p /part #
    /n /names #$$1
    /w /whois $$1
    /k /kick # $$1 $2-
    /q /query $$1
    /send /dcc send $1 $2
    /chat /dcc chat $1
    /pi
  • Untitled

    970179·text·120 B·2008-04-03 21:36 UTC
    namespace enum_struct_placeholders
    {
     struct SolidType_t_placeholder {};// our enum solidtype_t for the binding
    }
  • Something

    970177·text·920 B·2008-04-03 21:34 UTC
    void Lua_Startup( void )
    {
     // Open the lua state
     luaState = lua_open();
    
     // Load those cool? modules O_O!
     luaopen_base( luaState );
     luaopen_table( luaState );
     luaopen_string( luaSt
  • Stuff

    970173·text·609 B·2008-04-03 21:32 UTC
    Calculating dependencies ... done!
    
    Dependencies could not be completely resolved due to
    the following required packages not being installed:
    
    x11-drivers/nvidia-drivers required by x11-base/
  • Something

    970165·text·4.0 KB·2008-04-03 21:28 UTC
    # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file
  • Stuff

    970161·text·460 B·2008-04-03 21:24 UTC
    struct SolidType_t_placeholder {};
    
     luabind::module(luaState) [
     class<SolidType_t_placeholder>("SOLID")
     .enum_("SolidType_t")
     [
     value("NONE", SOLID_NONE),
  • Etwas

    970159·c·1.3 KB·2008-04-03 21:24 UTC
    /**
     * @sa LoadMapFile
     * @sa FixErrors
     */
    void WriteMapFile (const char *filename)
    {
     FILE *f;
     entity_t *mapent;
     epair_t *e;
     int i, j, k;
     char buf[256];
    
     snprintf(buf, sizeof(buf) -
  • Stuff

    970154·text·415 B·2008-04-03 21:20 UTC
    luabind::module(luaState) [
    
     enum_("SolidType_t")
     [
     value("SOLID_NONE", SOLID_NONE),
     value("SOLID_BSP", SOLID_BSP),
     value("SOLID_BBOX", SOLID_BBO
  • BigInteger.cs

    970153·csharp·93.6 KB·2008-04-03 21:20 UTC
    
        
  • tatster

    970152·text·2.7 KB·2008-04-03 21:19 UTC
    pvscan
     PV /dev/md1 VG vg1 lvm2 [228.17 GB / 0 free]
     Total: 1 [228.17 GB] / in use: 1 [228.17 GB] / in no VG: 0 [0 ]
    
    pvdisplay
     --- Physical volume ---
     PV Name /d
  • Miscellany

    970147·text·155 B·2008-04-03 21:16 UTC
    <VirtualHost *:80>
     servername webmail.domainA.com
     
     proxypass / http://www.domainA.com/
     proxypassreverse / http://www.domainA.com/
    </Virtualhost>
  • Unnamed

    970137·text·558 B·2008-04-03 21:12 UTC
    1.
    on 1:START: { server irc.homelien.no | server -m irc.norbits.net }
    2.
    
    3.
    on 1:connect: {
     4.
     if ($network == EFnet) { nick NICK | join #itavisen | join #itchatten | join #norbits | join
  • Someone

    970129·text·581 B·2008-04-03 21:08 UTC
    NameVirtualHost *:80
    ProxyRequests off
    
    ProxyPass / http://www.domainA.com/
    ProxyPass / http://www.domainB.com/
    
    <VirtualHost *:80>
     ServerAdmin webmaster@localhost
     DocumentRoot /var/ww
  • Untitled

    970125·text·621 B·2008-04-03 21:07 UTC
    sys.path.append("%s/bin/web/" % (definepath))
    class myRequestHandler(BaseHTTPRequestHandler):
     try:
     def do_GET(self):
     # Always Accept GET
     self.printCustomHTTPResponse(200)
     # Site r
  • Stuff

    970107·html·8.8 KB·2008-04-03 20:54 UTC
    <table border="0" cellpadding="0" cellspacing="5" id="main" style="width:100%;">
     <tr>
     <td style="vertical-align:top;">
     
     <table style="width:100%;" cellpadding="4" cellspacing="0">
     <tr>
  • Untitled

    970105·php·8.8 KB·2008-04-03 20:53 UTC
    <table border="0" cellpadding="0" cellspacing="5" id="main" style="width:100%;">
     <tr>
     <td style="vertical-align:top;">
     
     <table style="width:100%;" cellpadding="4" cellspacing="0">
     <tr>
  • Stuff

    970101·scheme·657 B·2008-04-03 20:52 UTC
    ; This is not a trick question. 
    ; This is a real math problem, so don't say that a bus has no legs - and don't worry about the bus driver!
    ; There are 7 girls in a bus.
    ; Each girl has 7 backpack
  • Mine

    970099·php·540 B·2008-04-03 20:51 UTC
    $mesactual=date("Y-m");
    $sql="Select * from custinvoice";
    $consulta=odbc_exec($cid,$sql)or die(exit("Error en odbc_exec"));
    while (odbc_fetch_row($consulta)){
     $fecha=odbc_result($consulta,48);

older pastes →