viernes, 30 de mayo de 2008

Con un Query listar las fechas entre una y otra

Un listado de fechas entre una y otra fecha, bastante interesante y sencillo, es un aporte en la lista de postgres

select '25/05/2008'::date+dia
from generate_series(1,'02/06/2008'::date - '25/05/2008'::date) dia;


?column?
------------
2008-05-26
2008-05-27
2008-05-28
2008-05-29
2008-05-30
2008-05-31
2008-06-01
2008-06-02
(8 rows)

Para poder entenderla mejor prueben este Query:

select *
from generate_series(1,'02/06/2008'::date - '25/05/2008'::date) dia;

Continúa...

jueves, 29 de mayo de 2008

Algunos trucos y artificios para Windows

Siempre hay algunos trucos y artificios que se utilizan para tratar de hacer una mejor labor de Soporte, aqui algunos de esos trucos que me sirven y sirvieron, quizas fuera de epoca, pero en fin para que puedan ser utilizados y encontrados cada vez que se necesiten.


Eliminar Messenger

RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove

Desactivar las activaciones de las memorias USB

1.- Ingresar al RegEdit
2.- Ingresar a la ruta HKLM\system\CurrentControlSet\Services\USBSTORE
3.- Ubicar Start y cambiar el valor de 3 por 4

Error con el Photo Editor

Photo Editor cannot find or open file name

For Microsoft Windows 2000
1.- Log on to Windows 2000 or Windows NT 4.0 by using an account that is a member of the administrators group.
2.- Click Start and then click Run.
3.- In the Open box, type regedt32.exe and then click OK.
4.- In the Registry Editor, select the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters
5.- On the Security menu, click Permissions.
6.- In the Registry Key Permissions dialog box, in the Name list, click Users.
7.- In the Permissions list, under Allow, click to select Full Control.
8.- Click OK.
9.- On the Registry menu, click Exit.
NOTE: You can apply a slightly more restrictive set of permissions to the HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters key by clicking Advanced in the Permissions for Graphics Filters dialog box.

For Microsoft Windows XP
1.- Log on as administrator or as a member of the administrators group.
2.- Click Start and then click Run. In the Open box, type Regedit.exe.
3.- Select the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters
4.- On the Edit menu, click Permissions and then click Advanced.
5.- Verify that the Inherit from parent the permission entries that apply to child objects check box is selected.
6.- Select Users from Permission entries, and then click Edit.
7.- In the Allow column, select the Full Control check box, and then click OK.
8.- Click OK and close the Registry Editor.

Continúa...