Tuesday, March 14, 2006

Links SQL-Server 2005

SQL-Server

http://www.microsoft.com/spanish/msdn/Spain/eventos/encuentromicrosoft/main.asp

VB . NET

http://msdn.microsoft.com/vbasic/

http://www.elguille.info/NET/cursoVB.NET/indice.htm
http://www.elguille.info/NET/ADONET/ejemplo_adonet_bases_tipo_access.htm

Tuesday, March 07, 2006

PHP I

sistema
=====
UTF-8
UTF-16

Latin 1 2 *8 =256
iso-8859-1

Unicode ==2 *16= 65540

http://del.icio.us/pneff/lang:es+curso:php



===========
test.css
===========
ul.navegacion {
background: grey;
color:white;
}
ul.navegacion a {
color: white;
font-weight: bold;
}
.external {
background: grey;
}
===========
Index.html
=========

link rel="stylesheet" href="test.css"





Weblog de Richard


Es mi Weblog


Articulo 2


son estilos de Titulos


Articulo 3




Titulo 4


Titulo 5

Titulo 6

Hola Mundo!


Enlace


eso Tiene Un Enfasis Importante
y aqui tenemos otro Enfasis

Nueva Línea



Patrice
y eso por jemplo
Patrice





========
Bucles en PHP
==========
for($i=0; $i<=10; $i++) { echo "$i
";
}

$i = 0;
while($i <= 10) { echo "$i
";
$i++;
}



foreach($a as $elemento){
echo "$elemento
";
?>



$nombre = "Richard";
$apellido = "Evangelista Piñan";
echo "Hola " .$nombre. ", Como estas
";

$a = array('elemento 1','elemento 2','elemento 3','...');
print_r($a );
if($a[0] == 'elemento 1'){
echo "si está bien!";
}else{
echo "ALGO NO FUNCIONA!";
}


===========
Index.php
=======



Test de PHP:
meta equiv="Content-Type" content="text/html;charset=UTF-8"



Ingrese un Número de 0 - 100







";
$correcto=42;
$_SESSION['intentos']++;
echo "Intentos: $_SESSION[intentos]
";

if($numero==$correcto){
echo "Bien el Numero es: $numero";
}elseif($numero < $correcto){ echo "El Número corecto es Mayor que: $numero"; }else{ echo "El Número corecto es menor que : $numero"; } ?>



===========
Nombre.php
=========









Continuar


===========
nombre2.php
===========







Thursday, March 02, 2006

Configuracion del Repositorio

/etc/apt
=======
deb file:///cdrom/ sarge main local

# deb cdrom:[Debian GNU/Linux edu _Sarge_ - Unofficial i386 Binary-1 (20060120)]/ unstable contrib local main non-free

#deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free
### Use (by uncommenting) either http or ftp, NOT both
### http based apt source: ----------------
deb http://ftp.debian.org/debian/ sarge main contrib non-free
deb http://non-us.debian.org/debian-non-US/ sarge/non-US main contrib non-free
deb http://ftp.skolelinux.no/skolelinux/ sarge local
### ftp based apt source: -----------------
# deb ftp://ftp.debian.org/debian/ sarge main contrib non-free
# deb ftp://non-us.debian.org/debian-non-US/ sarge/non-US main contrib non-free
# deb ftp://ftp.skolelinux.no/skolelinux/ sarge local
# deb http://www.backports.org/debian/ sarge-backports main

deb-src http://ftp.debian.org/debian/ sarge main contrib non-free
deb-src http://non-us.debian.org/debian-non-US/ sarge/non-US main contrib non-free
deb-src http://ftp.skolelinux.no/skolelinux/ sarge local
deb http://tjener.intern/apt/ binary/
deb-src http://tjener.intern/apt/ source/
deb http://ftp.de.debian.org/backports.org/ sarge-backports main contrib non-free
=============
grub
=======
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

title Debian GNU/Linux, kernel 2.6.8-2-386 (sistema testo, /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda3 ro
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386 (sistema testo, /dev/hda3) (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot
=============