noviembre 20, 2015

Cortar (mover) un archivo en Mac Os X

Cortar (mover) un archivo en Mac Os X

Paso 1. Elegir Archivo
Paso 2. Comando+c
Paso 3. Posicionarse en la carpeta de destino
Paso 4 Comando+Alt+v

noviembre 13, 2015

AppEH corre lenta mi Mac



You installed one or more variants of the "InstallMac" trojan. Take the steps below to disable it.
The criminal behind this attack tries to make the malware hard to remove by varying the names of the files it installs. This procedure works as of now, as far as I know. It may not work in the future. Anyone finding this comment a few days or more after it was posted should look for a more recent discussion, or start a new one.
Back up all data before continuing.
1. Triple-click the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
~/Library/LaunchAgents
In the Finder, select
          Go Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted because a line break is included. Press return. A folder named "LaunchAgents" will open.
2. Inside the folder you just opened, there may be files with a name of the form
          something.AppRemoval.plist
          something.download.plist
          something.ltvbit.plist
          something.update.plist
where something is usually a meaningless string, such as any of the following:
          Epolife
          InstallMac
          Javeview
          Kuklorest
          Manroling
          Otwexplain
These are examples, not a complete list. The string could be anything. The point is that the same string will usually appear in the name of three or four files.
You could have more than one copy of the malware, with different values of something.
Move all such items to the Trash. If there are any other files with a name that begin with something, move them to the Trash also. After you've done that, there may not be anything left in the LaunchAgents folder; in that case, you can delete the folder, but otherwise don't delete it. Other files in the folder are not necessarily malicious (though they could be, if you also installed some other kind of malware.)
Log out or restart the computer. The trojan will now be inactive, but there are a few more components of it that should be cleaned up.
3. Open this folder in the same way as above:
~/Library/Application Support
and move to the Trash any subfolders named with the same something you found in Step 2.
Don't move the Application Support folder or anything else inside it.
4. Open the Applications folder. If there is an item with the same name as in Step 3, or any of the other names listed in Step 2, or with the name "Zip Devil," drag it to the Trash.
If in doubt, press the key combination option-command-4 to arrange the apps by date added. Look at the apps that have been added since you first noticed the problem. If there is one you don't recognize, drag it to the Trash.
Empty the Trash.
If you get an alert that the application is in use, force it to quit.
5. From the Safari menu bar, select
          Safari Preferences... Extensions
Uninstall all extensions you don't know you need. If in doubt, remove all of them. None is required for normal operation. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
6. Reset the home page in each of your browsers, if it was changed. In Safari, first load the home page you want, then select
          Safari Preferences... General
and click
          Set to Current Page

noviembre 12, 2015

Eliminar Partición EFI / GPT

Eliminar Partición EFI / GPT (creadas en Mac) en Windows 7

Eliminar Partición EFI / GPT (creadas en Mac) en Windows 7
Categoría: Trucos Windows

Actualizado SJale el dia 23-01-2012 16:42
Articulo Visto 10352 Veces
Hace unos dias me ha llegado un disco duro multimedia 500Gb y un pendrive de 8Gb, ambos con una partición EFI y otra partición GPT creadas al formatearlas con un Mac. El problema que causó fue que el software del disco duro multimedia no fuera capaz de reconocer y menos reproducir el contenido almacenado en el disco duro, y en el pendrive la perdida de 200 megas que no le aparecía por ningún lado...
En este artículo no voy a tratar como funciona, ni que son estos sistemas de partición (para ello he enlazado sus nomenclaturas a la web de wikipedia), aquí simplemente indicaré como eliminarlas desde un Windows 7, Vista y XP en sus versiones 64Bits.
EFI y GPT Particion Partition

Ambas unidades de disco disponen de 2 particiones, una de 200Mb con formato "EFI System Partition" y la segunda con formato protegido PGT. De estas dos particiones, la segunda es posible borrarla desde el propio Administrador de Discos, usando la opción "Eliminar Partición", pero para quitar la partición EFI, la forma más sencilla es usando el comando Diskpart. En esta pequeña guia indico los pasos/comandos necesarios para eliminar ambas particiones desde el propio Diskpart.
Primero debemos acceder al comando "Diskpart" del windows
Nota: Las comillas no se escriben, son solo para resaltar lo que se debe buscar o escribir.
  1. Pulsa a la vez las Teclas "Windows + R" para abrir la ventana del comando "Ejecutar"
     
  2. En ella Escribe "Cmd" y pulsa la tecla "Enter" o el botón "Aceptar"
     
  3. En la ventana negra con texto blanco que se abre escribe "Diskpart" y pulsa "Enter" 
     
comando command Diskpart

Una vez en el menú del Diskpart comenzamos:

Nota: He resaltado en negrita lo que se debe escribir.
  1. Escribe List disk y presiona Enter -> Se mostrarán las unidades instaladas en el ordenador. Debes estar seguro de cual es el disco que vas a borrar antes del siguiente paso. En mi caso al disco duro que quiero borrar le corresponde el numero 2.
     
     
  2. Escribe Select disk=2 y presiona Enter -> En la lista anterior, 2 corresponde al disco que quiero limpiar de particiones y si te fijas en la imagen que está al final de estos pasos, tiene un asterisco bajo la opción Gpt, lo que indica el tipo de partición.
     
  3. Escribe List Partition y presiona Enter -> Ahora se listarán las particiones que tiene el disco indicado antes. En mi caso me salen 2 particiones, una con 200 mb y otra con el resto. Primero eliminaré una y luego la otra.
     
  4. Escribe Select Partition=2 y presiona Enter -> Seleccionamos la segunda partición para borrarla.
     
  5. Escribe Delete partition override y presiona Enter -> Con esto acabas de borrar la segunda partición del disco.
     
  6. Ahora repite desde el paso 3 para borrar la otra partición, si solo tenías una partición salta este paso y con esto ya has liberado todo el espacio del disco duro.
     
     
  7. Como expuse en el paso 2, el disco esta preparado para particiones del tipo Gpt, por lo que debemos convertirla al sistema Mbr. Escribe Convert MBR y en un segundo ya tienes todo listo para salir.
     
  8. Para salir del Diskpart, solo tienes que escribir Exit. 
     
Diskpart
Imagen extraida desde el Google Imágenes
 
Para terminar solo tienes que acceder al Administrador de Discos y crear una nueva partición con formato de Windows.´
 

Imagenes y Archivos Adjuntos:


Imagen 1 :
Imagen 2 :


Enviado por: SJale el 23-01-2012 16:42




  Fuente: http://www.solotrastos.es/?Id=244

noviembre 11, 2015

La operación de borrado está bloqueada por un recurso existente. Moodle


Error:

ATENCIÓN: La operación de borrado está bloqueada por un recurso existente. Puede actualizar en primer lugar sus recursos, o pedir al administrador que desactive este mecanismo de seguridad en la configuración global de los recursos.

configuración global de los recursos moodle

Solución

En ADMINISTRACIÓN DEL SITIO entras en MÓDULOS-ACTIVIDADES-RECURSO. Aquí:

Bloquear la eliminación de archivos referenciados
resource_blockdeletingfile
 Valor por defecto: Sí
Eliminación de bloques de archivos y directorios a que se refieren los recursos. Por favor, advierta que las imágenes y otros archivos referenciados desde html no están protegidos.

El valor por defecto es SI, lo quitáis y et voilá!

La respuesta se encuentra en:
https://moodle.org/mod/forum/discuss.php?d=143105

¿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...