All pastesPublic feed

Public feed

Pastes people chose to make public. Author names hidden.
  • bib creation

    2065719·text·3.6 KB·2011-05-20 13:59 UTC
    # Keep a count of the loaded records.
    my $count = 0;
    # We are now ready to process the downloaded MARC file.
    # my $marc_file = MARC::File::USMARC->in($fname); # For reals.
    my $marc_file = MARC::Fi
  • henrique

    2065716·php·308 B·2011-05-20 13:57 UTC
    <?php 
     echo "<div id='hiddenmeta' style='display: none;'>";
     
     $meta_titulo = get_post_custom(); 
     foreach ( $meta_titulo as $id => $valor ) {
     if (substr($id, 0, -1) == "titulo") {
  • xnox

    2065709·text·1.4 KB·2011-05-20 13:48 UTC
    vm072:/etc/apt# sudo apt-get update
    Err http://ftp.nl.debian.org squeeze Release.gpg
     Could not resolve 'ftp.nl.debian.org'
    Err http://ftp.nl.debian.org/debian/ squeeze/main Translation-en
     Coul
  • Miscellany

    2065693·text·345 B·2011-05-20 13:26 UTC
    señor Patata, señora Zanahoria, señor Parque de Atracciones, señor Montaña Rusa
    
    03:24 coma después de "correctamente"
    06:35 retrasar inicio
    06:40 Total, no...
    07:34 falta un punto
    07:38 acortar
  • Stuff

    2065689·text·621 B·2011-05-20 13:22 UTC
    home# smartctl -H /dev/ad0
    smartctl 5.40 2010-10-16 r3189 [FreeBSD 7.0-RELEASE i386] (local build)
    Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
    
    === START OF READ SMA
  • Untitled

    2065679·text·7.9 KB·2011-05-20 13:15 UTC
    home# smartctl -a /dev/ad0
    smartctl 5.40 2010-10-16 r3189 [FreeBSD 7.0-RELEASE i386] (local build)
    Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
    
    === START OF INFORMAT
  • delete bibs by source 2

    2065676·text·600 B·2011-05-20 13:15 UTC
    if ($download_type eq 'full') {
     my $count = 0;
     my $session = OpenSRF::AppSession->create('open-ils.storage');
     my $request = $session->request('open-ils.storage.direct.biblio.record_entr
  • Something

    2065674·text·1.1 KB·2011-05-20 13:15 UTC
    private void showSkadeType()
     {
     AlertDialog.Builder builder = new AlertDialog.Builder(BeskrivActivity.this.getParent());
     builder.setTitle("Skadetype");
     
     int checkedIndex =
  • Someone

    2065671·text·481 B·2011-05-20 13:11 UTC
    home# df
    Filesystem 1K-blocks Used Avail Capacity Mounted on
    /dev/ad0s1a 507630 131750 335270 28% /
    devfs 1 1 0 100% /dev
    /dev/ad0s1e 507630
  • Anonymous

    2065648·text·150 B·2011-05-20 12:58 UTC
    /dev/root 106G 14G 87G 14% /
    frednas:/public 2.8T 198G 2.6T 8% /mnt/public
    /dev/sda2 224G 196G 29G 88% /mnt/windows
  • Miscellany

    2065645·text·558 B·2011-05-20 12:52 UTC
    import Data.List
    import System.Environment
    import System.IO
    import Text.Printf
    import Data.Bits
    import Debug.Trace
    import Control.Applicative
    
    present :: (Int, Maybe Int) -> IO ()
    present
  • Stuff

    2065638·text·1.7 KB·2011-05-20 12:44 UTC
    Company name:
    TappyTaps
    
    Company slogan:
    
    Brief Company Description:
    A Prague-based company founded by two brothers that focuses on the development of unique applications for modern mobile dev
  • deleting bibs by source

    2065626·perl·1.1 KB·2011-05-20 12:26 UTC
    # Lookup our bib_source's id
    my $source = OpenILS::Application::AppUtils->storagereq('open-ils.storage.direct.config.bib_source.search_where',
  • PKGBUILD ruby-compass 0.11.1

    2065620·bash·988 B·2011-05-20 12:22 UTC
    # Maintainer: Aliaksiej Artamonaŭ <aliaksiej.artamonau@gmail.com>
    
    pkgname=ruby-compass
    pkgver=0.11.1
    pkgrel=1
    pkgdesc="A Real Stylesheet Framework"
    arch=("any")
    url="http://compass-style.org"
  • leleobhz

    2065612·text·1.3 KB·2011-05-20 12:17 UTC
    ┌─[leleobhz@daniela.leleobhz.org] 
    └─[~]> qdbus org.bansheeproject.Banshee /org/bansheeproject/Banshee/PlayerEngine org.bansheeproject.Banshee.PlayerEngine.
    org.bansheeproject.Banshee.PlayerEngine.C
  • null

    2065608·text·1.3 KB·2011-05-20 12:12 UTC
    function query(scpi) {
    
     enableSRQ();
    
     /* możliwe że wystarczy zrobić to raz, w enable SRQ. Funkcja poniżej jest wbita inline, ale oczywiście powinna być to metoda w srqHandlerze */
     th
  • Mine

    2065607·text·738 B·2011-05-20 12:06 UTC
    java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager()
     .addKeyEventDispatcher(new java.awt.KeyEventDispatcher() {
     public boolean dispatchKeyEvent(java.awt.event.KeyEv
  • Someone

    2065604·text·236 B·2011-05-20 12:06 UTC
    function query(scpi) {
     enableSRQ();
     setSRQHandler(function() {
     /* funkcja zostanie uruchomiona w watku obslugujacym srq */
     monitor.signal();
     })
     
     device.send(
  • Unnamed

    2065590·text·976 B·2011-05-20 11:54 UTC
    pieter@uks:~$ dig @2607:f4e0:400:111::18 supranet.net
    
    ; <<>> DiG 9.7.0-P1 <<>> @2607:f4e0:400:111::18 supranet.net
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opco
  • Unnamed

    2065589·text·1.8 KB·2011-05-20 11:54 UTC
    <?php
    
     class Email implements iEmail{
    
     
     public $reply_to;
     public $subject;
     public $from;
     public $to;
     public $cc;
     public $bcc;
     public $message;
     public $charset = "iso-

older pastes →