-
941612·text·284 B·2008-03-13 20:38 UTC
on *:INPUT:#: {
if ($1 == .akick) {
cs akick # add $2-
}
if ($1 == .stick) {
cs akick # stick $2-
}
if ($1 == .akickl) {
cs akick # list
}
if ($1 == .k) {
/tim
-
941611·c·955 B·2008-03-13 20:36 UTC
/* Ohjelma lukee tiedostoista mata.txt ja matb.txt 10x10 suuruiset */
/* Matriisit ja laskee ne yhteen ja printtaa tuloksen tiedostoon */
/* summa.usr. */
#include <stdio.h>
int** matriisien_l
-
941609·text·243 B·2008-03-13 20:34 UTC
Database Error Code: Cannot delete or update a parent row: a foreign key constraint fails (`psoj_civicrm/civicrm_household`, CONSTRAINT `FK_civicrm_household_contact_id` FOREIGN KEY (`contact_id`) REF
-
941608·ruby·553 B·2008-03-13 20:33 UTC
#!/usr/bin/ruby
#PROBLEM:
#The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
#Find the sum of all the primes below two million.
#SOLUTION
#Summing primes up to and with:
n=2*10**6
-
941606·diff·1.6 KB·2008-03-13 20:31 UTC
Index: target/linux/ar7/files/arch/mips/ar7/platform.c
===================================================================
--- target/linux/ar7/files/arch/mips/ar7/platform.c (revision 10602)
+++ t
-
941605·text·15 B·2008-03-13 20:31 UTC
mysqlyog = POS!
-
941604·text·1.3 KB·2008-03-13 20:30 UTC
<?php
class My_Acl extends Zend_Acl {
protected static $_instance = null;
protected function _initialize()
{
$db = Zend_Db_Table::getDefaultAdapter();
$roles = $db->fetchA
-
941603·c·953 B·2008-03-13 20:29 UTC
/* Ohjelma lukee tiedostoista mata.txt ja matb.txt 10x10 suuruiset */
/* Matriisit ja laskee ne yhteen ja printtaa tuloksen tiedostoon */
/* suuma.usr. */
#include <stdio.h>
int matriisien_las
-
941602·ruby·846 B·2008-03-13 20:29 UTC
class Todo < DataMapper::Base
property :todo, :text
property :status, :string
property :done, :boolean
belongs_to :context
belongs_to :category
def to_s
"#{status} #{todo} <
-
941601·text·850 B·2008-03-13 20:28 UTC
class Todo < DataMapper::Base
property :todo, :text
property :status, :string
property :done, :boolean
belongs_to :context
belongs_to :category
def to_s
"#{status} #{todo} <
-
941598·text·4.1 KB·2008-03-13 20:27 UTC
<html>
<head>
<title>ROBOT9000 Test Results</title>
</head>
<body>
<?php
$link = mysql_connect('localhost', 'andrew', 'excellent')
or die('could not connect' . mysql_error());
mysql_select
-
941596·text·322 B·2008-03-13 20:26 UTC
Packet Miss: (expected: 32812, got: -1) framecnt=70804
Packet Miss: (expected: 32812, got: -1) framecnt=70805
FRAMCNT_DIFF = -3 ----- A Packet was lost, or did came too late (try -l 3)
FRAMCNT_DIFF
-
941595·text·428 B·2008-03-13 20:26 UTC
on *:OPEN:?: {
msg $nick Please wait...
timer 1 0 acceptq $timestamp $nick
}
alias acceptq {
set %acc $input( $1 will you accept a query from $+($2,?),yqdv,Accept Query )
acceptqcheck
-
941594·text·428 B·2008-03-13 20:25 UTC
on *:OPEN:?: {
msg $nick Please wait...
timer 1 0 acceptq $timestamp $nick
}
alias acceptq {
set %acc $input( $1 will you accept a query from $+($2,?),yqdv,Accept Query )
acceptqcheck
-
941593·text·427 B·2008-03-13 20:24 UTC
on *:OPEN:?: {
msg $nick Please wait...
timer 1 0 acceptq $timestamp $nick
}
alias acceptq {
set %acc $input( $1 will you accept a query from $+($2,?),yqdv,Accept Query )
acceptqcheck
-
941592·text·19.9 KB·2008-03-13 20:24 UTC
▄▄▄▄
▄▄▓██████▄███▄
▓███████████████▓
▄█████
-
941591·php·1.1 KB·2008-03-13 20:23 UTC
// Find all the braces subgroups
preg_match_all( '%\{([^\}.]+)+\}%', $pattern, $matches );
// Replace commas by vertical bars and wrap values with parentheses
$new_parens= arr
-
941590·c·306 B·2008-03-13 20:23 UTC
#include <stdio.h>
void tulostaja(int *luvut,int x);
int main()
{
int lkm = 4;
int kokonaisluvut[] = {1, 4, 22, 91};
tulostaja(kokonaisluvut, lkm);
return 0;
}
void tulost
-
941588·text·339 B·2008-03-13 20:20 UTC
;;;;;;;;;;;;;;;
; new way
;;;;;;;;;;;;;;;
[get_account]
exten => _X,1,Set(DIGITS=${DIGITS}${EXTEN})
exten => _X,2,WaitExten()
;;;;;;;;;;;;;;;
; old way
;;;;;;;;;;;;;;;
exten => _X,1,
-
941587·text·1.1 KB·2008-03-13 20:19 UTC
// Find all the braces subgroups
preg_match_all( '%\{([^\}.]+)+\}%', $pattern, $matches );
// Replace commas by vertical bars and wrap values with parentheses
$new_parens= arr