-
923084·bash·93 B·2008-02-29 07:21 UTC
#!/bin/bash
#save as ~/bin/automake
sudo ./configure $1
sudo make
sudo make install
-
923082·text·31.8 KB·2008-02-29 07:21 UTC
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/lfs:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X.
-
923081·text·5.8 KB·2008-02-29 07:20 UTC
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
stepping : 6
cpu MHz
-
923080·text·4.7 KB·2008-02-29 07:16 UTC
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)
mQGiBEFEnz8RBAC7LstGsKD7McXZgd58oN68KquARLBl6rjA2vdhwl77KkPPOr3O
YeSBH/voUsqausJfDNuTNivOfwceDe50lbhq52ODj4Mx9Jg+4aHn9fmRkIk
-
923077·python·3.2 KB·2008-02-29 07:13 UTC
import operator, random
#Board:
#[[1,2,3],
# [4,5,6],
# [7,8,9]]
X=0
X=1
class Board:
def __init__(self, size):
"""Size is in cols/rows"""
self.size=s
-
923073·csharp·2.1 KB·2008-02-29 07:02 UTC
using System;
using System.Collections.Generic;
using System.Text;
namespace smallEmulator
{
class CPUemulator
{
const UInt16 LDX = 0x01; //Load x
const UInt16 LDY =
-
923072·text·987 B·2008-02-29 06:59 UTC
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.18-5-686
root (hd0,2)
kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/hda3 ro
initrd /boot/init
-
923071·text·108 B·2008-02-29 06:59 UTC
Options +FollowSymLinks
RewriteEngine on
RewriteCond $1 ^(goodbye\.html)
RedirectMatch ^/.+ /goodbye.html
-
923069·text·3.9 KB·2008-02-29 06:51 UTC
void ANN::train(ImageManager *imageManager)
{
LogManager& mLogManager = LogManager::getSingleton();
ImageSet *imageSet = imageManager->getImageSet(mANNParams->name);
-
923066·text·449 B·2008-02-29 06:40 UTC
#!/bin/bash
BINDIR=$(dirname "$0")
[ $# -ne 0 ] && { echo "Usage: $0"; exit 1; }
IFS=''
find . -mindepth 1 -printf "%P\n" \
| while read f; do
if [[ "$f" =~ "\.talk$" ]]; then
if [[ ! "$f
-
923065·text·988 B·2008-02-29 06:32 UTC
1. Namco - Megalith -Agnus Dei-
2. Deep Purple - Highway Star
3. Machinae Supremacy - Soundtrack to the Rebellion
4. Iron Maiden - The Trooper
5. Russian Red Army Choir - Soviet National Anth
-
923064·text·905 B·2008-02-29 06:30 UTC
$VAR2 = {
'compat_distro' => 'ydl',
'distro' => 'yellowdog',
'chroot' => '/',
'arch' => 'ppc64',
'ident' => 'linux-ppc64-yellowdog-5',
-
923062·apache·4.4 KB·2008-02-29 06:28 UTC
#working example
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin@domain.com
ServerName dev.domain.com
DocumentRoot /var/www/html
<Location /svn/project>
DAV svn
-
923061·text·90 B·2008-02-29 06:28 UTC
Options +FollowSymLinks
RewriteEngine on
RewriteCond $1 !index.php
RedirectMatch ^/.+ /
-
923060·sql·2.9 KB·2008-02-29 06:28 UTC
INSERT INTO creature
()
VALUES
(48401, 17767, 534, 0, 0, 4895.65, -1594.26, 1331.58, 4.64972, 43200, 0, 0, 4895.65, -1594.26, 1331.58, 4.64972, 4200000, 1016100, 0, 0);
INSERT INTO creatur
-
923059·text·526 B·2008-02-29 06:27 UTC
#!/bin/bash
set -e
[[ "$1" == *.talk ]] && exit 0 # no .talk.talk
[ "$1" = . -o "$1" = .. ] && exit 0
if [ -f "$1" ]; then
OUTNAME="${1}.talk"
elif [ -d "$1" ]; then
OUTNAME="${1}/_dirname.
-
923058·text·526 B·2008-02-29 06:27 UTC
#!/bin/bash
set -e
[[ "$1" == *.talk ]] && exit 0 # no .talk.talk
[ "$1" = . -o "$1" = .. ] && exit 0
if [ -f "$1" ]; then
OUTNAME="${1}.talk"
elif [ -d "$1" ]; then
OUTNAME="${1}/_dirname.
-
923056·javascript·1.6 KB·2008-02-29 06:24 UTC
<script src="http://live.simplepie.org/app/0.5/base.js" type="text/javascript" charset="utf-8"></script>
<script src="/scripts/mootools-1.2b2.js" type="text/javascript" charset="utf-8"></script>
<
-
923055·python·218 B·2008-02-29 06:21 UTC
def render_partial(filename, context):
file = open(filename)
data = file.read()
return Template(data).render(c = context.kwargs.get('c'),
h = context.
-
923053·text·343 B·2008-02-29 06:20 UTC
#!/usr/bin/python
#
# Save this to a file, chmod +x it, then do:
# ./file.py | /usr/sbin/sendmail your@yourdomain.com
# On a postfix box the email will come through corrupted with
# the header li