martes, 6 de junio de 2017

Argegar usuario a sudoers / Debian / Mint

agregar al final de /etc/sudoers

userX ALL=(ALL) ALL   #

martes, 30 de mayo de 2017

VirtualBox - Vmware - VirtualPC

Convertir discos

vboxmanage clonehd "FABIANBOX.VHDX" --format VHD "fabianbox.vhd"
vboxmanage clonehd FABIANBOX.VHDX fabianbox.vdi --format VDI

Cambiar HDUUID

VBoxManage internalcommands sethduuid fabianbox.vdi

Clonar Pc en caliente
Disk2vhd.exe


Restaurar imagenes a PC físia
DDRawCopy
EaseUS partition
Partition Saving - http://www.partition-saving.com


Errores al restaurar
Hypervisor was not running
"bcdedit /set hypervisorlaunchtype Auto"

domingo, 30 de abril de 2017

Autologin windows seven 7 / 10

1. Click Start, type netplwiz, and then press Enter. 2. In the User Accounts dialog box, click the account you want to automatically log on to.If it is available, clear the Users Must Enter A User Name And Password To Use This Computer check box. 3. Click OK. 4. In the Automatically Log On dialog box, enter the user’s password twice and click OK. - si cambiaste la password hay que tildar " Users Must Enter A User Name And Password", aplicar y luego destildar, aplicar.

jueves, 2 de marzo de 2017

josm update en windows (wget / powershell)

usando wget

wget-1.11.4-1-setup.exe


update.cmd

"C:\Program Files (x86)\GnuWin32\bin\wget.exe" "http://josm.openstreetmap.de/josm-latest.jar"
pause

alternativo (choco)
"C:\ProgramData\chocolatey\bin\wget.exe" --no-check-certificate "https://josm.openstreetmap.de/josm-latest.jar"



usando powershell

https://pastebin.com/hWK3fwRw

josm-update.ps1
Import-Module BitsTransfer
Start-BitsTransfer -source "http://josm.openstreetmap.de/josm-latest.jar"
sleep 5

josm-update.cmd
powershell -executionpolicy Bypass -file  josm-update.ps1
timeout 5

sábado, 25 de febrero de 2017

vm-start.cmd // archivo batch para cargar maquina virtual en vmplayer

vm-start.cmd

cd "C:\Program Files (x86)\VMware\VMware Player"
start vmplayer.exe "C:\Users\goku\Documents\Virtual Machines\Debian 8.x 64-bit\Debian 8.x 64-bit.vmx"

Autologin /logon en windows7 y 10

Configure a User Account to Log On Automatically on Windows 7
Requiring the user to enter credentials when his computer starts is an important part of Windows security. If a user account automatically logs on, anyone who has physical access to the computer can restart it and access the user’s files. Nonetheless, there are scenarios where a computer is physically secure and automatic logon might be desired. To configure a workgroup computer (you cannot perform these steps on a domain member) to automatically log on, follow these steps:
Follow Our Daily Tips
RSS | Twitter | Blog | Facebook

Tell Us Your Tips
Share your tips and tweaks.
1. Click Start, type netplwiz, and then press Enter.
2. In the User Accounts dialog box, click the account you want to automatically log on to.If it is available, clear the Users Must Enter A User Name And Password To Use This Computer check box.
3. Click OK.
4. In the Automatically Log On dialog box, enter the user’s password twice and click OK.

The next time you restart the computer, it will automatically log on with the local user account you selected. Configuring automatic logon stores the user’s password in the registry unencrypted, where someone might be able to retrieve it.

From the Microsoft Press book Windows 7 Resource Kit by Mitch Tulloch, Tony Northrup, Jerry Honeycutt, Ed Wilson, and the Windows 7 team.
Looking for More Tips?

For more tips on Windows 7 and other Microsoft technologies, visit the TechNet Magazine Tips library.

miércoles, 28 de diciembre de 2016

wav2mp3

#!/bin/bash
#
# wav2mp3
#
for i in *.wav; do
    lame -h -b 128 "$i" "${i%.wav}.mp3"
done

viernes, 21 de octubre de 2016

Alternativa al Teamviewer

Teamviewer en linux corre sobre wine y cada tanto se cuelga. Buscando alternativas descubrí  Chrome Remote Desktop. Hasta ahora las impresiones fueron todas buenas y es muy estable.

miércoles, 16 de marzo de 2016

Wifi inestable en telefono L7 P705G

Si tu wifi pierde conectividad en este telefono, no te gastes es cambiar de firmware o de buscar apps que reconecten la conexion. El problema es que este telefono tiene un modulo de wifi tan trucho, que no es compatibles con algunos access points. La única solución es probar otro access point. Cuanto mas viejo, parece que anda mejor.

lunes, 16 de noviembre de 2015

Reparar GUB error 17



Mount the partition your Ubuntu Installation


sudo su -


mount /dev/sd6 /mnt



sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&


sudo mount --bind /sys /mnt/sys


sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys

sudo chroot /mnt

grub-install /dev/sda
grub-install --recheck /dev/sda

update-grub

martes, 2 de junio de 2015

teamviewer debian


$ teamviewer --daemon start

Solucionar problema Centos 7 y video Matrox

Solucionar problema Centos 7 y video Matrox. Centos no arranca en modo grafico en HP PROLIANT ML150. Video matrox g200

Agregar en la carga del kernel blacklist del modulo de video (rdblacklist=mgag200)
/boot/grub2/grub.cfg

ejemplo
linux16 /vmlinuz-4.0.4-1.el7.elrepo.x86_64 root=/dev/mapper/centos-root ro rd.lvm.lv=centos/swap vconsole.keymap=la-latin1 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto  rhgb quiet LANG=es_AR.UTF-8 rdblacklist=mgag200

martes, 10 de marzo de 2015

activas mas resoluciones con driver vga stanrdard

1) Run regedit
1a) If you are not on higest tree level, go to him (by click on “Computer” from key tree)
2) Search and modify all values “Display1_DownScalingSupported” from “0″ to “1″
3) Restart the system
4) Enjoy the two new resolutions: 1024×768 px and 1152×864 px