All pastesPublic feed

Public feed

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

    2096941·text·660 B·2011-12-28 13:30 UTC
    #create build area in a ramdisk mounted at /usr/src, sync with backed up sources (saving bandwidth, and your time)
    function f_begin(){
     if mount | grep "ramfs" | grep -qv "/usr/src"; then
  • Stuff

    2096938·text·533 B·2011-12-28 12:55 UTC
    #create build area in a ramdisk mounted at /usr/src, sync with backed up sources (saving bandwidth, and your time)
    function f_begin(){
     if ((mount | grep "ramfs" | grep "/usr/src") = ""); then
     mo
  • asdf

    2096934·cpp·2.7 KB·2011-12-28 12:44 UTC
    if (Packet[0] == 0x5A)
     {
     if (Packet[1] == 0x00)
     {
     if (V_ModifiedLeaveString)
     {
     for (INT i = 0; i < V_Players.GetSize(); i++)
     {
     if (!_stricmp((LPSTR)&Packet[8], V_Player
  • Untitled

    2096915·text·668 B·2011-12-28 11:49 UTC
    #create build area in a ramdisk mounted at /usr/src, sync with backed up sources (saving bandwidth, and your time)
    function f_begin(){
     if [[mount | grep "ramfs" | grep "/usr/src"] == ""]; th
  • Unnamed

    2096894·text·160 B·2011-12-28 11:02 UTC
    RewriteEngine On 
    RewriteCond %{SERVER_PORT} 80 
    RewriteCond %{REQUEST_URI} administrator
    RewriteRule ^(.*)$ https://blog.somesite.com/administrator/$1 [R,L]
  • Anonymous

    2096886·perl·445 B·2011-12-28 10:48 UTC
    #!perl -w
    use strict;
    
    my @new = ();
    
    get_file($ARGV[0]);
    
    sub get_file {
     my ($dir) = @_;
     use File::Find;
     finddepth(\&wanted, $dir);
     sub wanted {
     if (-f $_ && -s $_
  • Miscellany

    2096862·text·206 B·2011-12-28 10:02 UTC
    [InstallShield Silent]
    Version=v7.00
    File=Log File
    [ResponseResult]
    ResultCode=0
    [Application]
    Name=Realtek High Definition Audio Driver
    Version=3.13
    Company=Realtek Semiconductor Corp.
    Lang=
  • Stuff

    2096861·text·206 B·2011-12-28 10:01 UTC
    [InstallShield Silent]
    Version=v7.00
    File=Log File
    [ResponseResult]
    ResultCode=0
    [Application]
    Name=Realtek High Definition Audio Driver
    Version=3.13
    Company=Realtek Semiconductor Corp.
    Lang=
  • Mine

    2096846·text·1.3 KB·2011-12-28 09:52 UTC
    --- /usr/portage/app-forensics/openscap/openscap-0.8.0.ebuild 2011-12-26 15:30:28.000000000 +0100
    +++ openscap-0.8.0.ebuild 2011-12-28 10:51:27.000000000 +0100
    @@ -15,11 +15,12 @@
     LICENSE="LGPL-2.
  • Unnamed

    2096824·text·82.4 KB·2011-12-28 09:27 UTC
    
        
  • Untitled

    2096815·text·2.7 KB·2011-12-28 09:07 UTC
    This is ApacheBench, Version 2.3 <$Revision: 655654 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
  • Something

    2096811·text·2.7 KB·2011-12-28 08:58 UTC
    MPlayer SVN-r34466-4.1.2 (C) 2000-2011 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote cont
  • Something

    2096810·text·451 B·2011-12-28 08:56 UTC
    MPlayer SVN-r34466-4.1.2 (C) 2000-2011 MPlayer Team
    Available video output drivers:
     fbdev Framebuffer Device
     fbdev2 Framebuffer Device
     cvidix console VIDIX
     n
  • Miscellany

    2096796·text·740 B·2011-12-28 08:27 UTC
    import numpy as np
    #r_i=7
    #r_k=5
    maxtime=3.0
    l=1.0
    #r_k=20
    #r_i=40
    eta=1.0
    rho=1.0
    omega=0.1
    #ht=maxtime/r_k
    #hx=l/r_i
    hx=0.1
    ht=0.1
    K=maxtime/ht
    I=l/hx
    r_k=int(K)
    r_i=int(I)
    a=eta/r
  • Mine

    2096770·text·21 B·2011-12-28 07:46 UTC
    .....................
  • Mine

    2096769·text·1.1 KB·2011-12-28 07:46 UTC
    I am thinking of dropping programming 11. I don't get anything out of it unless Michael and Garwood tells me what to do. I do not understand a word that the teacher says, and she thinks that I am not
  • Stuff

    2096764·php·1.6 KB·2011-12-28 07:32 UTC
    <?php
    
    function game_menu() {
     $items = array();
     $items['admin/config/game'] = array(
     'title' => 'Game Admin',
     'type' => MENU_NORMAL_ITEM,
     'weight' => 10,
     'page cal
  • Stuff

    2096762·text·14.2 KB·2011-12-28 07:28 UTC
    Line 42: Jan 1 00:00:21 syslog: Linesync lost
     Line 45: Jan 1 00:00:24 syslog: Linesync lost
     Line 50: Jan 1 00:00:38 syslog: Linesync lost
     Line 51: Jan 1 00:00:41 syslog: Linesync lost
     Lin
  • Something

    2096731·text·1.2 KB·2011-12-28 06:16 UTC
    // ==UserScript==
    // @name RAMSS new window killer
    // @namespace aCoolNameSpace
    // @version .01
    // @description gets rid of the annoying new window 
    // @include https://courses.ryer
  • Unnamed

    2096726·python·2.0 KB·2011-12-28 06:05 UTC
    import xml.etree.ElementTree as ET
    import subprocess
    
    cmd = ". /local/export/sge/default/common/settings.sh; qstat -xml"
    p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, s

older pastes →