-
930473·php·325 B·2008-03-06 16:52 UTC
//1st implementation
public function out_av($v1, v2)
{
return 'The average of'.$v1.' and '.$v2.'is: '.calc_av($v1,$v2)
}
public function calc_av($v1, v2)
{
return ($v1+$v2)/2
}
-
930471·text·823 B·2008-03-06 16:49 UTC
<html>
<body>
<table class="stocktable" cellspacing="0">
<tbody><tr>
<td class="stocktable">Market</td><td> </td>
<td class="stocktable">LAST</td><td> </td>
<td class="stocktabl
-
930470·text·257 B·2008-03-06 16:49 UTC
using System.Collections.Generic;
class ReverseDefaultComparer<T> : IComparer<T>
{
readonly IComparer<T> defaultComparer = Comparer<T>.Default;
public int Compare(T x, T y)
{
-
930469·text·1.5 KB·2008-03-06 16:45 UTC
###
#First of all, in tt_news's locallang.xml, change the "more" setting to:
###
<label index="more"><![CDATA[<!--]]></label>
###
#Then, use this in tt_news TS:
###
temp.tt_news_more_butt
-
930468·text·925 B·2008-03-06 16:45 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-terms/eterm-0.9.4/work/Eterm-0.9.4/config.log
*
* ERROR: x11-terms/eterm-0.9.4 failed.
* Call stack:
*
-
930467·text·11.5 KB·2008-03-06 16:44 UTC
[ext-group]
include => ext-group-custom
exten => 299,1,Macro(user-callerid,)
exten => 299,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != "${RGPREFIX}"]?NEWPREFIX)
exten => 299,n,Set(CAL
-
930466·java·527 B·2008-03-06 16:44 UTC
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
char [][] myArray = new char [4][7];
char abc = 'a';
for(int i
-
930464·text·1.4 KB·2008-03-06 16:44 UTC
###
#First of all, in tt_news's locallang.xml, change the "more" setting to:
###
<label index="more"><![CDATA[<!--]]></label>
###
#Then, use this in tt_news TS:
###
temp.tt_news_more_butt
-
930461·text·2.8 KB·2008-03-06 16:43 UTC
# grep -v -E ^# /etc/gnokiirc
[global]
port = /dev/ttyS0
model = 7110
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[xgnokii]
allow_bre
-
930459·php·5.0 KB·2008-03-06 16:42 UTC
<?
/*************************************************************************************
*
* image generator with hotlink protection
*
* Copyright 2004 - 2005 Ryan Cummins
* All rights res
-
930458·text·119 B·2008-03-06 16:42 UTC
title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1
-
930456·csharp·4.9 KB·2008-03-06 16:42 UTC
public void FlyTo(P3d destination)
{
Random rnd = new Random();
FrameLock fl = new FrameLock(false);
fl.Lock();
P3d me = new P3d(is
-
930455·text·446 B·2008-03-06 16:42 UTC
class Alien
{
public Alien()
{
hp = 100;
}
public int getHp()
{
return hp;
}
public void hit()
{
hp -= 10;
}
int hp;
}
class alien
{
public static void
-
930453·text·1.2 KB·2008-03-06 16:41 UTC
function addNewRow( order, month, year, teacher ) {
sndReq(-1,"addNewRow",order,month+"@;@"+year+"@;@"+teacher+"@;@");
order++;
document.getElementById( "HnewRow" ).id = "Hrep
-
930452·text·240 B·2008-03-06 16:41 UTC
[global]
netbios name = BIGSERVER
workgroup = WORKGROUP
log level = 2
log file = /usr/local/samba/var/samba.log
security = share
[pub]
path = /home/public
browseable = y
-
930451·text·726 B·2008-03-06 16:40 UTC
##file app.scala##
package test.app
import test.implicitObject
class implClass( s: String ) extends implicitObject( s )
{
import test.implicitObject
def getString = "world!"
def t =
-
930450·text·1.5 KB·2008-03-06 16:39 UTC
function createRequestObject() {
var ro;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
ro = new ActiveXObject("Micr
-
930448·text·2.6 KB·2008-03-06 16:37 UTC
[quote]To the pro group, how do we define when security is more important the privacy? Who sets the standard? How do we define the opposite (when privacy prevails over security)?[/quote]
I don't th
-
930447·text·612 B·2008-03-06 16:36 UTC
if(strcmp(cmdtext, "/ticket", true) == 0)
{
if(PD[playerid]==1)
{
new nearcarid;
nearcarid = GetClosestCar(playerid);
if(0.0<=GetDistanceToCar(play
-
930446·text·531 B·2008-03-06 16:35 UTC
If Button1.Text = Button2.Text Or Button1.Text = Button3.Text Or Button1.Text = Button4.Text Then
MsgBox("there is a mistake in row 1")
Exit Sub
End If