mayo 04, 2011

Mowes - Apache is not Running / MySQL is running

Sintoma:
Al arrancar Mowes Portable II en Windows 7 y Windows XP SP3
Windows XP service pack 3.

http://www.mowesforum.chsoftware.net/

Solución:
Apache no puede arrancar por varias razones, por ejemplo:

Si Skype esta usando el puerto 80 y el mismo puerto esta definido por defecto para que lo use Apache, entonces ocurre un conflicto con los puertos.

- Cerrar Skype y ejecutar apache.
- Definir el puerto que use apache a otro diferente que el 80 en el archivo de configuración del apache
- Usando "netstat -a" se pueden ver que puertos se encuentran actualmente en uso para ver cuales estan disponibles y cuales no
- Redefinir el puerto de Skype

abril 27, 2011

Photoshop - Círculo sin relleno

Hacer circulo con photoshop sin relleno

1. Seleccionar elipse (con el Eliptical Marquee Tool).

2. Arriba en las opciones en donde dice Style: colocar "Fixed Size" para darle las medidas.

3. Hacer el círculo, haces click derecho y vas a stroke para darle el borde.

abril 25, 2011

Windows 7 - Ubicación del archivo hosts

En Windows 7 la ubicación del archivo hosts se encuentra en:

C:\Windows\System32\drivers\etc

Para editarlo hay que ser administrador

abril 14, 2011

Instalar Windows XP en HP PRO 3130 MINITOWER PC

Como no detecta el CD de arranque de Windows XP para instalarlo en vez del Windows 7 que tiene preinstalado llamé al soporte técnico y me respondió gratuitamente lo siguiente:

Gracias por contactar con Hewlett-Packard.

Este mensaje es la respuesta a su correo electrónico acerca de HP xw3100 Workstation.


Estimado (a) Sr. X

Gracias por contactarse con el soporte técnico de HP.

Por lo que describe en su mensaje entendemos su equipo HP PRO 3130 MINITOWER PC presenta inconveniente con la instalacion.


Por favor verifique la siguiente información

1.- Ingrese al bios con la opcion f10
2.- Elija la opcion “Advanced”
3.- Luego la opcion “SATA1 Controller Mode” la cambia a “IDE”
4.- Realize la reinstalacion del sistema operativo.

Le envio un documento adhunto con la informacion, espero le sirva de ayuda.

Reciba un cordial saludo

HP Services - Latín América

Atentamente,
Soporte HP por Correo Electrónico


y listo

.

febrero 25, 2011

Linux - Formatear partición a NTFS

Una forma de formatear desde la línea de comandos una partición en en Linux en modo rápido es con el siguiente comando.

mkntfs -Q -v -L ntfs500g /dev/sdc1

-Q modo rápido

-v verbose (comentarios que ocurren al ejecutar el comando) http://www.webune.com/forums/linux-verbose-option-explained.html

-L label, etiqueta de la nueva unidad formateada

para eso tienes que ser root por lo que es util este otro comando

$su -c "mkntfs -Q -v -L ntfs500g /dev/sdc1"

nota:

con $df -T identificas en que formato estan las particiones

Ver más en http://www.clopezsandez.com/2010/06/formateo-de-unidades-ntfs.html

febrero 21, 2011

Emacs - Buffer is read-only: #

Si tenemos permiso de escritura a un archivo, pero no tenemos permiso de escritura en el directorio donde reside este, es decir no podemos crear el archivo temporal en el directorio donde esta ubicado el archivo que queremos modificar. Emacs nos da el error como Buffer is read-only o write protected

Para eso podemos apuntar los archivos de backup y los de guardado automático a una dirección distinta que en la que esta ubicado el archivo a editar. Para esto editamos el archivo .emacs en nuestro HOME y agregamos la siguiente indicación

;; apuntar los archivos de backup
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))

;; apuntar los archivos que se guardan automaticamente
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))

febrero 08, 2011

Moodle - nostatstodisplay

Si aparece este error

error/moodle/nostatstodisplay

[Opción 1]
Hay que seguir las instrucciones de:
http://docs.moodle.org/en/error/moodle/nostatstodisplay

Stats

This page can appear if you have not enabled statistics. To enable statistics, log into your Moodle as an administrator. Then, in the Site Administration menu, under Server --> Statistics ensure that they are enabled.

If you have enabled Statistics recently you should note that statistics are collected by a background task and take some time to become available. Try again later, but do note the time for statistics job to be run in the Site Administration page noted above.



[Opción 2]
y de :
http://docs.moodle.org/en/Statistics

Statistics
From MoodleDocs
Jump to: navigation, search

Location: Administration > Server > Statistics


If you enable site statistics, Moodle will gather statistics about each course and for the whole site, and produce graphs displaying them.

The statistics graphs and tables show how many hits there have been on various parts of your site during various time frames. They do not show how many distinct users there have been. They are processed daily at a time you specify. You must enable statistics before you will see anything.
Enabling site statistics

1. Access Administration > Server > Statistics (or Site Administration > Advanced features in 2.0 onwards).
2. Tick the "Enable statistics" checkbox.
3. As stats processing is quite resource intensive, it is recommended that you should set the stats processing to start in the early morning.
4. Click the "Save changes" button.

TIP: Set the stats processing to start an hour before your automated course backups are scheduled to start, then set the maximum runtime to 1 hour. This ensures that stats are not being processed at the same time as course backups are being made.

Statistics not working?

If statistics isn't working and you have checked all the obvious (such as whether it's enabled), check Administration > Modules for any old hidden modules in the database which miss the files in the moodle/mod folder on your server. If you find any, they should be deleted.

You can also try limiting the length of time logs are kept for to reduce the size of the tables. Go to Administration > Server > Cleanup to set this.

To run stats manually, go to the database, go to the mdl_config table and set statslastdaily, statslastweekly and statslastmonthly to 0 (leave statslastmonthly alone if you think it might be large logtables causing the problem). Then go to Administration > Server > Statistics and set statsruntimestarthour to 5 mins ago. Then visit http://www.yoursite.com/admin/cron.php. You should see output there saying that stats are processing, but be patient if it appears to hang - this can take between 5 mins and several hours depending on how big your site is, so just leave it going.


[Opción 3]

http://tracker.moodle.org/browse/MDL-16415


[Opción 4]

http://moodle.org/mod/forum/discuss.php?d=121225

¿Cómo poner el conteo de las filas en una consulta en MySql?

 ¿Cómo poner el conteo de las filas en una consulta en MySql? SELECT  @rownum := @rownum + 1 AS contador,  /*Contador*/ t.*  /* nombre d...