lunes, 4 de diciembre de 2017

Ver Youtube en una PC vieja

Como ver youtube en una computadora vieja (pentium 4) con windows XP

-Instalar Firefox old version (ej. Firefox Setup 13.0.1.exe)
-Instalar algun plugin de User Agent
-Poner como default user-agent a Nokia N8
"Mozilla/5.0 (Symbian/3; Series60/5.2 NokiaN8-00/014.002; Profile/MIDP-2.1 Configuration/CLDC-1.1; en-us) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.6.4 3gpp-gba"
-Instalar VLC. www.Videolan.org
-Confirguar Firefox:
Open Firefox, type "about:config" (omit the quotes) in the address bar, and then click the "I'll be careful, I promise" button when the warning page appears.

2
Right-click anywhere on the page and select the "New" item in the context menu. Choose "Boolean" from the submenu, type "network.protocol-handler.expose.rtsp" (omit the quotes), and then press "Enter."

3
Select "False" from the drop-down menu, and then press "Enter" to save the new entry.
-cargamos youtube mobile:  http://m.youtube.com

cuando hagamos click en un video se cargara con protocolo RTSP que debera estar asociado a VLC

lunes, 9 de octubre de 2017

Carpeta startup | inicio en Menu de inicio en Windows 10

ejecutar  (tecla windows + r)

shell:startup

o entrar en

C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Arreglar Recortes de Windows ( %windir%\system32\SnippingTool.exe)

C:\WINDOWS\system32>
C:\WINDOWS\system32>sfc /SCANNOW

Iniciando examen en el sistema. Este proceso tardará algún tiempo.

Iniciando la fase de comprobación del examen del sistema.
Se completó la comprobación de 100%.

Protección de recursos de Windows encontró archivos dañados y los reparó
correctamente. Para obtener más detalles, consulte CBS.Log windir\Logs\CBS\CBS.log. Por
ejemplo,  C:\Windows\Logs\CBS\CBS.log. Tenga en cuenta que actualmente no se
admite el inicio de sesión en los escenarios de instalación sin conexión.

C:\WINDOWS\system32>

jueves, 21 de septiembre de 2017

mount windows share folder command line. prompt password

mymound.sh
read -s -p "Enter Password: " pass
mount -t cifs //10.11.61.210/test test -o username=user,password=$pass

X11XRDP Debian

apt install x11xrdp

 dpkg-reconfigure xserver-xorg-legacy
(anybody)

 mcedit  /etc/xrdp/startwm.sh
at end

#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession
unset DBUS_SESSION_BUS_ADDRESS.
exec mate-session

si no  anda cambiar SUID a Xorg

miércoles, 20 de septiembre de 2017

netstat


puertos de  escucha tcp - mostar pid y nombre del programa

netstat -n -t -lpn

jueves, 8 de junio de 2017

Mini Servidor Web con soporte de "resume"

Mongoose
Servidor web para windows. Tiene 350k.
Atiende en el puerto 8080. No muestra index.
Funciona en linux con wine.

https://code.google.com/archive/p/mongoose/downloads

miércoles, 7 de junio de 2017

Java "abrir con" personalizado - Gnome3 / Debian 9 Stretch



vi ~/.local/share/applications/java.desktop


[Desktop Entry]
Encoding=UTF-8
Name=Oracle Java 8 Runtime
Comment=Oracle Java 8 Runtime
Exec=/usr/local/java/bin/java -jar %f
Terminal=false
Type=Application
Icon=oracle_java8
MimeType=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=true

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.