All pastesPublic feed

Public feed

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

    2046527·text·119 B·2011-04-14 19:56 UTC
    <?php $path_string = "/taxonomy/term/" . $fields['tid']->content;
    print l($fields['name']->content, $path_string);
    ?>
  • Something

    2046526·text·122 B·2011-04-14 19:56 UTC
    <?php $path_string = "/taxonomy/term/" . $fields['tid']->content;
     print l($fields['name']->content, $path_string);
    ?>
  • Someone

    2046525·text·13.1 KB·2011-04-14 19:53 UTC
    04-14 22:36:05.368: DEBUG/dalvikvm(279): GC_EXTERNAL_ALLOC freed 605K, 57% free 3553K/8135K, external 13167K/13187K, paused 74ms
    04-14 22:36:12.108: INFO/ActivityManager(184): Starting: Intent { act=
  • Someone

    2046523·text·3.2 KB·2011-04-14 19:51 UTC
    #!/bin/bash
    ####################################################
    ####################################################
    ##################### OPTIONS ######################
    #########################
  • Untitled

    2046516·text·598 B·2011-04-14 19:34 UTC
    mysql> SHOW CREATE PROCEDURE get_season_dates;
    +------------------+----------+------------------+
    | Procedure | sql_mode | Create Procedure |
    +------------------+----------+---------------
  • Unnamed

    2046514·nasm·1.8 KB·2011-04-14 19:25 UTC
    Code Segment
     assume CS:Code, DS:Data, SS:Stack
     
    Start:
     mov ax, Code
     mov DS, AX
     
     mov jobb, 0
     mov bal, 24
     mov lent, 79
     mov fent, 0
     
     mov sebesseg, 1
     mov sebesseg2, 3
     
     mov akt
  • Mine

    2046513·text·1.8 KB·2011-04-14 19:25 UTC
    Code Segment
     assume CS:Code, DS:Data, SS:Stack
     
    Start:
     mov ax, Code
     mov DS, AX
     
     mov jobb, 0
     mov bal, 24
     mov lent, 79
     mov fent, 0
     
     mov sebesseg, 1
     mov sebesseg2, 3
     
     mov akt
  • Something

    2046512·text·1.8 KB·2011-04-14 19:23 UTC
    #include <iostream>
    #include <string>
    #include <iomanip>
    
    using namespace std; 
    
    int main() {
     //Begin declaring variables
     double num_first_cat;
     string first_cat;
     int num_second_cat;
     st
  • Miscellany

    2046511·text·715 B·2011-04-14 19:21 UTC
    void puthex (unsigned int a) //converte para hexadecimal 
    {
     int base = 16; //hexadecimal
     int potencia = 16; //primeira potencia para verificação 16^1
     int i; //contador
     unsigned int b = a;
  • Unnamed

    2046508·text·4.1 KB·2011-04-14 19:14 UTC
    plugin:
     permissions:
     system: default
     copies: ''
    groups:
     Default:
     default: true
     info:
     prefix: ''
     suffix: ''
     build:
  • Untitled

    2046506·text·220 B·2011-04-14 19:13 UTC
    1:PackageKit-0.6.3-12.4ms.i586 requires PackageKit-zypp = 0.6.3-12.4ms
    1:PackageKit-0.6.3-12.4ms.i586 requires PackageKit-glib = 0.6.3-12.4ms
    1:PackageKit-0.6.3-12.4ms.i586 requires PackageKit-gtk-m
  • Untitled

    2046505·lisp·612 B·2011-04-14 19:10 UTC
    (defproject geocommit "1.0.0-SNAPSHOT"
     :description "geocommit.com HTTP API"
     :dependencies [[org.clojure/clojure "1.2.0"]
     [org.clojure/clojure-contrib "1.2.0"]
  • Unnamed

    2046499·text·305 B·2011-04-14 18:41 UTC
    #!/usr/bin/python
    
    class FooBar:
     def __init__(self):
     self.x = 1
     def a(self):
     if self.x < 5:
     self.x += 1
     return "hello"
     else:
     def newa(self):
     return
  • Someone

    2046498·text·253 B·2011-04-14 18:40 UTC
    #!/usr/bin/python
    
    class FooBar:
     def __init__(self):
     self.x = 1
     def a(self):
     if self.x < 5:
     self.x += 1
     return "hello"
     else:
     return "world"
    
    f = FooBar()
  • Unnamed

    2046496·text·232 B·2011-04-14 18:34 UTC
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} ^/store$
    RewriteRule ^(.*)$ https://properwines.com/store [R,L]
    
    RewriteCond %{HTTPS} on
    RewriteCond %{REQUEST_URI} !^/store
    RewriteRule ^(.*)
  • Miscellany

    2046495·php·681 B·2011-04-14 18:30 UTC
    <?php
    
    class A() {
     private $methods = array();
     private function defaultMethods() {
     $this->methods['func1'] = function() { return "Foo"; };
     }
     public function __construct(
  • Miscellany

    2046494·php·682 B·2011-04-14 18:30 UTC
    <?php
    
    class A() {
     private $methods = array();
     private function defaultMethods() {
     $this->methods['func1'] = function() { return "Foo"; };
     }
     public function __construct(
  • Miscellany

    2046493·php·672 B·2011-04-14 18:29 UTC
    <?php
    
    class A() {
     private $methods = array();
     private function defaultMethods() {
     $this->methods['func1'] = function() { return "Foo"; };
     }
     public function __construct(
  • Miscellany

    2046492·php·660 B·2011-04-14 18:28 UTC
    <?php
    
    class A() {
     private $methods = array();
     private function defaultMethods() {
     $methods['func1'] = function() { return "Foo"; };
     }
     public function __construct() {
  • Something

    2046489·text·93 B·2011-04-14 18:23 UTC
    http://axure.com/cs/blogs/axure/archive/2011/04/11/Axure-RP-6-Update-_2D00_-Almost-There.aspx

older pastes →