-
2053466·text·1.6 KB·2011-05-03 13:51 UTC
public static boolean isPeriodoDentroMesSeguinte(FeriasPeriodo periodoNEW, FeriasPeriodo periodoDB) {
//Representa data com período mês/ano seguinte ao atual. Ex.: se o mês atual é maio/201
-
2053465·text·2.1 KB·2011-05-03 13:51 UTC
#!/bin/sh
if [ $# -ne 3 ]; then
echo "Invalid Number of parameters"
exit 1;
fi
PRJROOT=$1
SUFF=$2
FILE=$3
cp $PRJROOT/Tools/database/$FILE $PRJROOT/QUIK/src/main/sql/agent/environment
-
2053464·java·554 B·2011-05-03 13:50 UTC
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class test {
/**
* @param args
*/
public static void main(String[] args) {
String text = "<td class=\"tableb
-
2053458·text·111.2 KB·2011-05-03 13:28 UTC
-
2053454·text·591.0 KB·2011-05-03 13:15 UTC
-
2053450·text·288 B·2011-05-03 12:57 UTC
~ $ cat test.php
<?php
$x = 1;
switch ($x) {
case $x++:
print "here\n";
break;
case $x:
print "there\n";
}
switch ((int)$x) {
case $x++:
print "here\n";
-
2053449·text·2.1 KB·2011-05-03 12:53 UTC
10 Extractor M:29 G:0
10 Overlord M:101 G:0
10 ExtractorTrick M:81 G:0
10 +1 Drone on gas M:6 G:0
11 SpawningPool M:201 G:17
12 +1 Drone on gas M:5 G:27
12 +1 Drone on gas M:5 G:27
15 O
-
2053448·text·375 B·2011-05-03 12:48 UTC
def mean_and_stdev(list):
mean=sum(list)/len(list)
sdsq = sum([(i - mean) ** 2 for i in list])
stdev = (sdsq / (len(list) )) ** .5
return mean,stdev
def get_mean_and_stdev(list):
m
-
2053442·text·2.2 KB·2011-05-03 12:32 UTC
make[4]: [/home/alextai/fonosfera-devel/trunk/openwrt/build_dir/linux-fonera2n/linux-2.6.21/.configured] Error 2 (ignored)
rm -rf /home/alextai/fonosfera-devel/trunk/openwrt/build_dir/linux-fonera2n/
-
2053440·text·1.2 KB·2011-05-03 12:23 UTC
~$ cat sier.c
#include <stdio.h>
int main() {
int a=1<<10;
while(a--){putchar(040+0b11*!((a^((a>>5)&a))&037));if(!(a&0x1F))putchar('\n');}
}
~$ ./sier
################################
-
2053437·text·1003 B·2011-05-03 12:07 UTC
2011-05-03 13:17:34 +04:30 --- info: PID: 31953 Time: 900.1621 Memory: 7.73MB URI: message_queue/frontend/server/common/keep_alive IP:Unknown
2011-05-03 13:02:34 +04:30 --- info: SADERAT VERIFY order
-
2053436·text·446 B·2011-05-03 12:04 UTC
~ $ cat test.py
from snakeoil.weakrefs import WeakRefFinalizer
import gc
class foo(object):
__metaclass__ = WeakRefFinalizer
def __init__(self, attr):
self.attr = attr
def
-
2053434·text·7.6 KB·2011-05-03 11:53 UTC
#
# General settings
#
# the path to the widget directory
#setWidgetPath ""
# the color of the bar
setBarColor #252B3E
# the color of the text displayed in the bar
setTextColor #9F97A3
-
2053433·text·6.9 KB·2011-05-03 11:52 UTC
Bugreport
DATE/TIME: Tue May 3 10:52:22 CEST 2011]
VERSION: 1.3rc1
HOSTNAME: localhost.localdomain
EXECUTABLE: /usr/bin/tclsh
SCRIPT:
SYSTEM:
-------
TCL: 8.5.9
OS: L
-
2053431·text·859 B·2011-05-03 11:51 UTC
l# apt-get -o DPkg::Options::="--force-confmiss" --reinstall install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0
-
2053430·text·1.5 KB·2011-05-03 11:42 UTC
# apt-get -o DPkg::Options::="--force-confmiss" --reinstall install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following N
-
2053428·text·928 B·2011-05-03 11:35 UTC
<?php
function getmicrotime($t){
list($usec, $sec) = explode(" ",$t);
return ((float)$usec + (float)$sec);
}
$benchmark_start = microtime(true);
$trans = array("h" => "-", "hello" => "
-
2053427·text·9.9 KB·2011-05-03 11:35 UTC
#############################################################################
# #
# diggtitles.tcl
-
2053425·text·2.3 KB·2011-05-03 11:15 UTC
PseudoList<Integer> pl = new PseudoList<Integer>(new Integer[] {1,2,3});
//works:
for (Iterator<Integer> iter = pl.iterator(); iter.hasNext(); ) {
Integer var = iter.next();
System.out
-
2053424·text·3.3 KB·2011-05-03 11:08 UTC
In my opinion (not saying im right), the answers for the new questions are:
4. a. Use dynamic management views
12. b. Grant the ALTER TRACE perm