viernes 26 de junio de 2009

añadir usuario en emech

16:53 <@DS> !user +nick #pene nick!*@* 20
16:53 <@DS> !user nick +AO

miércoles 24 de junio de 2009

Evitar la detección de un entorno vmware

Añadir al VMX:

isolation.tools.getPtrLocation.disable = "TRUE"
isolation.tools.setPtrLocation.disable = "TRUE"
isolation.tools.setVersion.disable = "TRUE"
isolation.tools.getVersion.disable = "TRUE"
monitor_control.disable_directexec = "TRUE"
monitor_control.disable_chksimd = "TRUE"
monitor_control.disable_ntreloc = "TRUE"
monitor_control.disable_selfmod = "TRUE"
monitor_control.disable_reloc = "TRUE"
monitor_control.disable_btinout = "TRUE"
monitor_control.disable_btmemspace = "TRUE"
monitor_control.disable_btpriv = "TRUE"
monitor_control.disable_btseg = "TRUE"

miércoles 27 de mayo de 2009

Fecha y Hora en el .bash_history

export HISTTIMEFORMAT="%h/%d - %H:%M:%S "

http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html

domingo 26 de abril de 2009

Setup has encountered a problem while trying to copy :\Setup\VSSetupWatson\DW20.EXE

Instalando VisualStudio 2008 se muestra ese error. En vez de montar la ISO con MagicDisc/Daemon, abrirla con winrar y extraer el contenido a un directorio temporal, ejecutar la instalación desde ese directorio.

jueves 2 de abril de 2009

Instalar XP desde USB

Asus EEE:

  1. You will need a special tool to copy the Installationfiles and making the USB-stick/SD card bootable - usb_multiboot_10.zip
  2. Unpack to any folder. THE PATH TO YOUR FOLDER MUST BE SIMPLE AND WITHOUT SPACES! (ex. c:\usb_multiboot_10)
  3. Insert USBstick / SD card.
    1. ALL DATA ON YOUR STICK WILL BE ERASED! Please back up before running USB_MultiBoot_10.cmd!
  4. Run USB_MultiBoot_10.cmd. follow text description.
  5. Format utility will apear. Choose NTFS for >=4Gb usb flash and FAT16 for other, Start format, Close after finishing.
    1. diamondsw: Using the “HP format” option works fine for any capacity, and you can use FAT32 without problems (I used a 4GB stick). This can be useful as more systems can read FAT32 than NTFS.
    2. NOTE: If you are doing this from a Vista machine, you may need to run PeToUSB.exe as adminstrator in order for this program to recognize the jump drive. (Right click PeToUSB.exe > Properties > Compatibility > “Run this program as an administrator” checked.)
  6. Set options 1 and 2. Set option 0 only if you want to use USB HDD instead of a USB stick/ SD card.
  7. Do not touch other options if you have no idea about it.
  8. Choose 3 after setting all other options. It will create the image and write it to the USB stick as well as making the USBstick / SD card bootable.
  9. Answer Yes to all questions that come up (these vary depending on options selected).
  10. When it finishes copying, remove your usb stick and insert it in the EeePC to install XP.
  11. When you turn on the Eee, hold down “Esc” to choose the boot device and select the USB stick/ SD card. You'll need to do this at each reboot until XP is fully installed and you've logged in.
  12. Choose Text installation at first time and GUI INSTALLATION AFTER REBOOT TWICE! - ( Choose step 1 to start installing, after reboot choose step two, after continued install press step 2 AGAIN to log into XP - As soon as you arrive at the Windows XP Desktop you can safely remove the USBStick / SD card.
    1. If you get hal.dll not found errors, read carefully the last two last bullets!

Referencias:
http://www.msfn.org/board/index.php?showtopic=111406&st=0&p=737643&#entry737643
http://wiki.eeeuser.com/windowsxpusb

miércoles 4 de marzo de 2009

smartd.conf

See the man-page of smartctl for details, but this one seems to be a nice configuration:

/dev/hda -a -o on -S on -s (S/../.././19|L/../../3/21|C/../.././20) -m root
S/../.././19 = short test every day at 19:00
C/../.././20 = conveyance test every day at 20:00
L/../../3/21 = long test every wednesday (3) at 21:00
-m root = root will be emailed if anything strange occurs

martes 3 de marzo de 2009

Imagenes en Word 2007 que no se muestran

vete a

Botón de Office | Opciones Word | Avanzadas
Busca en el panel de la derecha --> Mostrar contenido de documento
desactiva--> Mostrar marcadores de imagen

jueves 22 de enero de 2009

Antivir (Personal Edition) en Windows Server 2008

Para instalar Antivir en W2K8 Server:

1.) Start --> Run --> Regedit
2.) Go to HKEY_LOCAL_MACHINE --> SYSTEM --> CurrentControlset --> Control
3.) Now change the permissions of the folder "ProductOptions" --> add your user account (for example Computername\Username) and deny yourself the read rights for the whole folder. Be careful not to deny the whole rights for all administrators or something like that (I tried that first cause of a black out and it leads to windows not being able to boot).
4.) Now you should be able to install Antivir PE

origen: http://www.win2008workstation.com/forum/viewtopic.php?p=920

domingo 11 de enero de 2009

Expresiones regulares en "find"

Para utilizar expresiones regulares en lo que sería el "-name", del comando "find"

find /var -regex ".*utmp\|.*secure" -ls
Las expresiones regulares son "emacs", no posix, aunque esto se puede cambiar en las nuevas versioens de find mediante: -regextype

lunes 8 de diciembre de 2008

chr() ord() en bash


#!/bin/bash
# chr() - converts decimal value to its ASCII character representation
# ord() - converts ASCII character to its decimal value

chr() {
printf \\$(printf '%03o' $1)
}

ord() {
printf '%d' "'$1"
}

ord A
echo
chr 65
echo





http://wooledge.org:8000/BashFAQ