jueves, 8 de diciembre de 2011

Error al instalar windows 7

A required CD/DVD device driver is missing

Error del setup de windows 7, se debe cancelar el mensaje asi como la pantalla de busqueda, esto te regresa a la pantalla inicial de instalación, en este momento saca el usb drive y colocalo en otro puerto, vuelve a intentar la instalación y listo

miércoles, 9 de noviembre de 2011

Dudas de CSS

¿Para qué sirve padding? R= Coloca margen interior en un DIV
¿Para qué sirve marging? R= Coloca margen exterior en un DIV

viernes, 23 de septiembre de 2011

Paginación en SQL Server 2005 o superior

select
Resultado.*
from
(
select
[tradeName],
[rfc],
ROW_NUMBER() over (order by m.[tradeName], m.[rfc]) as RowNum
from
[vwCompany] m
)
Resultado
where
RowNum between 10 and 20
order by
[tradeName], [rfc]

donde 10 y 20 se refieren a los registros que se quieren de vuelta.

jueves, 22 de septiembre de 2011

Parallels no corre en Lion

Ejecutar estas lineas en una terminal y listo

sudo kextutil "/Library/Parallels/Parallels Service.app/Contents/Kexts/10.6/prl_hypervisor.kext"

sudo kextutil "/Library/Parallels/Parallels Service.app/Contents/Kexts/10.6/prl_hid_hook.kext"

sudo kextutil "/Library/Parallels/Parallels Service.app/Contents/Kexts/10.6/prl_usb_connect.kext"

sudo kextutil "/Library/Parallels/Parallels Service.app/Contents/Kexts/10.6/prl_netbridge.kext"

sudo kextutil "/Library/Parallels/Parallels Service.app/Contents/Kexts/10.6/prl_vnic.kext"

lunes, 12 de septiembre de 2011

Generación de certificado para server y cliente

makecert -pe -n "CN=SSLTest Root Auth" -ss my -sr LocalMachine -a sha1 -sky signature -r "SSLTestRootAuth.cer"

certmgr -add -all -c "SSLTestRootAuth.cer" -s -r LocalMachine Root

makecert -pe -n "CN=localhost" -ss my -sr LocalMachine -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1 -in "SSLTest Root Auth" -is my -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 localhost.cer

makecert -pe -n "CN=Axayacatl, O=SSLTest Cliente, OU=Desarrollo, E=jaraujo@advantagesecurity.com, C=MX" -ss my -sr CurrentUser -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.2 -in "SSLTest Root Auth" -is Root -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 -# 25000000 Axayacatl.cer

jueves, 5 de mayo de 2011

Make a web service proxy using WSDL command

Example:

wsdl /out:C:\Proyectos\avatar\Capitales.FrontEnd\Capitales.Engine.Api\Clients\Proxies\OrdenWSService.cs http://172.16.17.6:9080/capitales-services/OrdenWSService/OrdenWSService.wsdl

Path can be different, I used my own path.

Do you need more detail? use this link

sábado, 26 de febrero de 2011

Restoring Windows Partition

If you try to use Linux and Windows and, afterall you prefer Windows, then you need to execute this command from a windows command.

bootsect /nt60 SYS /mbr [INTRO]

You need to insert your Windows 7 installation disk and choose windows command from the installation options, this will erase Linux boot and make your old windows boot again.

viernes, 7 de enero de 2011

Make a bootable USB

Insert your USB drive.

In a command line window type: diskpart [ENTER]

And then within:

list disk [ENTER]
select disk [ your disk ] [ENTER]
clean [ENTER]
create partition primary [ENTER]
select partition 1 [ENTER]
active [ENTER]
format fs=fat32 [ENTER]
assign [ENTER]
exit [ENTER]

ok, now you have a bootable usb, now all you have to do is to copy all files from a disk installation with XCOPY command, i.e. XCOPY D:*.* /s/e/f H: