Wednesday, February 18, 2015

When you don't access to Windows (Reset Password)

Option 1:

copy c:/windows/system32/sethc.exe to c:/ (backup)
copy c:/windows/system32/cmd.exe c:/windows/system32/sethc.exe
--when you restart, push shift key for 5 second, and put.

c:>net user

Option 2:
#mount /dev/sdax  /mnt/windowsc    (mount windows partition using linux)
#cd /mnt/windowsc/Windows/System32/config
#chntpw -l SAM  (for list users)
#chntpw -u SAM (for options)





References:

[1] https://4sysops.com/archives/forgot-the-administrator-password-the-sticky-keys-trick/

[2] http://www.howtogeek.com/howto/windows-vista/change-your-forgotten-windows-password-with-the-linux-system-rescue-cd/


OpenCL Ubuntu 14.04




References:

[1] http://askubuntu.com/questions/412009/open-cl-in-intel/440195#440195

Tuesday, February 17, 2015

OpenCV Basic Headers


#include "opencv2/core/core.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/photo/photo.hpp"
#include "opencv2/video/video.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/ml/ml.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/contrib.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/imgproc/imgproc_c.h"

References
[1] http://opencv-srf.blogspot.com/2010/09/opencv-basics.html

Energy Minimization



References:
========

[1] A Comparative Study of Energy Minimization Methods for Markov Random Fields
    paper: http://vision.middlebury.edu/MRF/eccv06/SZSVKATR-ECCV06.pdf
    webpage: http://vision.middlebury.edu/MRF
[2]

Termografia y sus Aplicaciones


Referencias

[1] http://www.nivelatermografia.net/termografia

Redes Complejas



Referencias:

[1] http://www.fis.unam.mx/~max/English/notasredes.pdf

Tuesday, January 20, 2015

Unable to play YouTube videos in VLC Player


Download file updated youtube.lua [1] and put that in /usr/lib/vlc/lua/playlist/youtube.lua


References:

[1] http://jslover.secsrv.net/VLC/playlist/youtube.lua

Sunday, October 12, 2014

CentOS 6.5 OpenCV compilation & execution problems

$echo `pkg-config --cflags --libs opencv`               
Package opencv was not found in the pkg-config search path.                    
Perhaps you should add the directory containing `opencv.pc'                    
to the PKG_CONFIG_PATH environment variable                                    
No package 'opencv' found  

$ ls /usr/local/lib/pkgconfig
libnl-1.pc  libnl-3.0.pc  libnl-cli-3.0.pc  libnl-genl-3.0.pc  libnl-nf-3.0.pc  libnl-route-3.0.pc  opencv.pc

$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

$ echo `pkg-config --cflags --libs opencv`

-I/usr/local/include/opencv -I/usr/local/include /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.a /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so -lrt -lpthread -lm -ldl   


$g++ letter_recog.cpp -o letter_recog `pkg-config --cflags --libs opencv`



$./letter_recog                                                                                              
./letter_recog: error while loading shared libraries: libopencv_calib3d.so.2.4: cannot open shared object file: No such file or directory
                                                                                                                 
$export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib  


Tuesday, June 17, 2014

How to remove Bill Gates botnet (Fedora)



1) identify and kill process running
 #top
 #killall cupsdd
 . . .

2) verify crontab

#ss -t (show current socket connections)
#crontab -l (list entries)
#crontab -e (edit current)
#crontab -r (remove all entries)

3) remove calls from start scripts
#vi /etc/rc.local   (here anotate entries )
#vi /etc/init.d
#rm /etc/*.lock  (bill.lock and gates.lock)
4) remove physical files
  atddd, cupsdd, cupsddh,ksapdd, kysadd,sksapdd, skysapdd

References

[1] http://lpages.info/billgates-linux-botnet/
[2] https://isc.sans.edu/forums/diary//17282
[3] crontab https://help.1and1.com/hosting-c37630/scripts-and-programming-languages-c85099/cron-jobs-c37727/delete-a-cron-job-a757264.html

Monday, June 02, 2014

Audacity Ubuntu 12.04


$ sudo add-apt-repository ppa:audacity-team/daily
$ sudo apt-get update
$ sudo apt-get install audacity

Thursday, May 15, 2014

Grasa Corporal, omron, plicometro

La verdad es que esto de medir la grasa es todo un Expediente X..

Con cada uno es un mundo, y si te la mides hoy, no te da lo mismo que mañana...

Yo opte por utilizar un metodo que me dijo alguien en el gimnasio..

"...Tu mirate al espejo y si te ves de puta madre, tienes mejor estado fisico.. corres 4 kilometros o los que sean, estas bien contigo... que mierda importa la grasa?¿.."

Daniel.

referencias
[1]  http://www.hispagimnasios.com/foro-de-musculacion-y-nutricion-f3/topic55248.html

Friday, May 02, 2014

Plantillas CSS

News Letter
http://www.templatesbox.com/free-newsletter-templates/index.htm

Plantilla Web

[1] (buena calidad) http://www.mejoresplantillasgratis.es
[2] http://www.interspire.com/templates/

http://www.opendesigns.org/view-designs/44/
http://www.ex-designz.net/template/tempdetail.asp?temp_id=301
http://www.freecsstemplates.org/css-templates/23
http://www.free-css-templates.com/css-templates/13

Sunday, April 13, 2014

Package opencv was not found (CentOs 6.5)

$g++ `pkg-config --cflags --libs opencv` anycode.cpp -o anycode

Package opencv was not found in the pkg-config search path.                                             
Perhaps you should add the directory containing `opencv.pc'                                              
to the PKG_CONFIG_PATH environment variable                                                              
No package 'opencv' found

Solution
1) find opencv.pc
$ locate opencv.pc

/mnt/vol3/installers/opencv/opencv-2.4.8/build/unix-install/opencv.pc      
...    
/usr/local/lib/pkgconfig/opencv.pc  

2) then add to enviroment variable the path
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/



Friday, April 11, 2014

Virtual Machine over Ubuntu 12.04

1) KVM

$sudo egrep '(vmx|svm)' --color=always /proc/cpuinfo
$sudo apt-get install ubuntu-virt-server python-vm-builder kvm-ipxe virtinst libcap2-bin
$sudo adduser `id -un` libvirtd
$sudo adduser `id -un` kvm
$sudo virsh -c qemu:///system list
$sudo apt-get install bridge-utils
$sudo /etc/init.d/networking restart
$sudo vi /etc/network/interfaces
#add this lines
auto kvmbr0
iface kvmbr0 inet dhcp
bridge_ports eth0

$ sudo /etc/init.d/networking restart


References:
[1] http://www.mrxuri.com/2013/11/22/install-kvm-on-ubuntu-server-12-04-lts-and-create-a-virtual-machine.html
[2] http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-12.04-lts

Thursday, April 10, 2014

Latex recursos

Cuando queremos colocar varias imágenes en una misma fila [4] y [5], nos dan un ejemplo para colocar 3 imágenes en una, cada una usa comandos diferentes.

\begin{figure} 
  \begin{subfigure} [b]{0.3\textwidth}
     \includegraphics{}
  \end{subfigure}
  ...
\end{figure}

\begin{figure}
  \minipage{0.32\textwidth}
    \includegraphics{}
  \endminipage
  ...
\end{subfigure}

Cuando las imágenes se desordenan es decir no conservan el lugar que queremos podemos usar [6], que resumido seria:

\begin{figure}[htpb]
  ...
\end{figure}



Referencias:
[1] TexMaker   http://www.xm1math.net/texmaker/
[2] Other editor http://www.texniccenter.org/
[3] Manual/Lo necesario para trabajar con Latex(Crear Pdf)http://copa.uniandes.edu.co/software/latex/manual.html

[4] Floats, Figures, Captions http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
[5] http://tex.stackexchange.com/questions/10245/how-to-order-3-images-horizontally
[6] http://stackoverflow.com/questions/518284/problem-with-float-and-pictures-in-latex

Virtual Printer over Ubuntu


$sudo apt-get install cups-pdf
$sudo /etc/init.d/cupsys restart
 
references
[1] http://ubuntuportal.com/2012/04/easy-way-to-create-pdf-printer-in-ubuntu-12-04.html
[2] http://ubuntuforums.org/showthread.php?t=140815

Latex over Ubuntu 12.04/Centos 6.5

Ubuntu
$sudo apt-get install texlive-full
$sudo apt-get install texmaker

Centos
#yum install tetex
#yum install texlive-*



references:
[1] http://www.linuxhispano.net/2010/11/16/instalar-latex-ubuntu/
[2] http://askubuntu.com/questions/392102/how-to-install-latex-in-ubuntu-13-10

Tuesday, April 08, 2014

Photoshop CS6 Over Ubuntu 12.04

1) Prerequisites
wine installed
winetricks installed

2) Add complements (this take many minutes)
$winetricks -q atmlib gdiplus ie6 vcrun2005sp1 vcrun2008 fontsmooth-rgb corefonts msxml3 msxml6 vcrun2010

3) Download Photoshop
https://www.dropbox.com/s/lzg1hdwwjsy0550/Adobe%20Photoshop%20CS6%20Extended-FOR-UBUNTU%20WIN.zip

4) Install using wine
$wine Adobe\ Photoshop\ CS6\ Extended.exe

5) Post install
$winetricks fontsmooth-rgb

 

references:
[1] https://www.winehq.org/download/ubuntu
[2] http://wiki.winehq.org/winetricks
[3] http://ibuxcomputer.wordpress.com/2013/10/24/como-instalar-photoshop-en-ubuntu-13-04/

Sunday, April 06, 2014

OpenCV Centos 6.5 VideoCapture doesn't work with video files

You need recompile

when  you make configure files
#cmake ..
Or
#cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..


Verify summary

# yum search ffmpeg

ffmpeg-devel.xxxx

gstreamer-ffmpeg.xxxx

# yum search gstreamer
gstreamer-devel.xxxx
gstreamermm.xxxx

install using yum

finally

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib


references:
[1] http://prateekvjoshi.com/2013/10/18/package-opencv-not-found-lets-find-it/

Tuesday, March 25, 2014

Latex Editor on CentOS 6.0/6.5

I trying install latex editor texmaker(good over ubuntu) on centos 6.5 but i get many errors, then i search other app, texstudio works fine.

#rpm -Uvh texstudio-2.7.0-6.1.i686.rpm

Resources
[1] http://texstudio.sourceforge.net/

Thursday, March 20, 2014

Install VLC (Media Player) on Centos 6.5



#yum localinstall --nogpgcheck http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
#yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
 
#yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
#yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm 
 
//verify repository 
#yum --enablerepo=remi-test info vlc
 
#yum --enablerepo=remi-test install vlc
 
#vlc 
//if you like update
# yum --enablerepo=remi-test update vlc
 
References:

[1] http://www.tecmint.com/install-vlc-media-player-in-rhel-centos-6-3-5-6-fedora-17-12/

Wednesday, February 26, 2014

Webinars (Videoconferencias)

a) Any Meeting , $0/Month, 200 attenders, include ADS, not record [1]
b) oovoo, $0/Month, 12 attenders,
c) Vyew, $0/Month Unlimited, 10 attenders

Resources
[1] https://www.anymeeting.com
[2] http://www.oovoo.com/home.aspx
[3] http://vyew.com/s/


References
[1] http://www.dreig.eu/caparazon/2009/01/17/herramientas-libres-para-videoconferencia-webinars-online/

Tuesday, February 25, 2014

Registros DNS (DNS Registers)

Address (IPv4 A) Record:
 Estos se utilizan para traducir los nombres de dominio en direcciones IP.

AAAA (IPv6) Record:
El registro de la dirección IPv6 es un espacio de direcciones mucho más grande que el de un registro de la dirección IPv4. Las direcciones de registros de direcciones IPv6 tienen 128 bits de largo, mientras que las de IPv4 registros de direcciones tienen 32 bits de longitud.

Cuando usted recibe su nombre de dominio con una empresa de hosting, usted contará con una dirección IPv4 o una dirección IPv6. Esto necesita ser configurado como un registro o un registro AAAA respectivamente, para que el nombre de dominio en particular. Con Abaco Hosting cuenta con un panel de control detallado con estas funciones. Evite el registro de dominio con empresas terciarias que no le permiten el manejo de su zona dns.

Mail Exchanger (MX) Record:
Un registro MX identifica el servidor de correo electrónico (s) responsable de un nombre de dominio. Cuando se envía un correo electrónico a usuario@dominio.com, su servidor de correo electrónico debe primero busca el registro MX para sudominio.com a ver qué servidor de correo electrónico en realidad se encarga de correo electrónico para sudominio.com (esto podría ser mail.sudominio.com o algún otro correo electrónico servidor como mail.isp.com). A continuación, busca el registro para el servidor de correo electrónico para conectarse a la dirección IP.

Un registro MX tiene una serie de preferencias, lo que indica el orden en que se debe utilizar el servidor de correo electrónico. Servidores de correo electrónico intentará entregar el correo electrónico al servidor con el número más bajo de primera preferencia, y si no lo consigue continuar con el más bajo, y así sucesivamente.

Canonical Name (CNAME) Record:
Los registros CNAME son alias de nombres de dominio. A menudo los ordenadores en Internet tienen múltiples funciones como el servidor Web, servidor FTP, servidor de chat, etc. Para ocultar esto, Registros CNAME se puede utilizar, por poner nombres de los equipos individuales múltiples (alias).

A veces las compañías registrar varios nombres de dominio para sus marcas de fábrica, pero todavía desea mantener un único sitio web. En tales casos, un registro CNAME tal vez puede utilizarse para reenviar tráfico a su sitio web actual.

Ejemplo:

www.sudominio.com  podría ser CNAME para www.sudominio.net.

El uso más popular del Registro CNAME, es facilitar el acceso a un servidor Web que utiliza tanto la norma www.yourdomainname.com y yourdomainname.com (sin www). Esto suele hacerse mediante la adición de un registro CNAME para el nombre www apuntando al nombre corto [al crear un registro A para el nombre más corto (sin www)].

Los registros CNAME también se puede utilizar cuando un equipo o servicio tiene que ser renombrado, para permitir temporalmente el acceso a través de tanto el nombre antiguo y nuevo.

Referencias:

[1] http://tutoriales.abacohosting.com/manejo-de-dominios/conoce-sobre-los-registros-de-manejo-de-dns/

Friday, February 21, 2014

Alternative C# Develop Environments (IDE)

1) SharpDevelop
  Load without problems projects from Visual Studio 2008/2010. But don't work with reports, not recognize completely .rdlc files.


Resources:


[1] SharpDevelop http://www.icsharpcode.net/opensource/sd/
[2] MonoDevelop http://monodevelop.com/
[3] QuickSharp http://quicksharp.sourceforge.net/
[4] Emonic Eclipse plugin http://emonic.sourceforge.net/


Wednesday, February 19, 2014

Share Files and Directories on Windows 7 with Windows XP


Solution 1:
  1. Goto Network and Sharing Center
  2. Advanced sharing settings
  3. In the bottom Password protected sharing, click on  Turn off password protected sharing
  4. Save changes
Solution 2:

  1. Click on Properties over Directory shared.
  2. Shared properties
  3. Click on Permissions then Add
  4. Find Network and add to list.
  5. Save changes.

References:

Share Files and Directories on Windows 7 with Windows XP.
[1] http://support.microsoft.com/kb/980458/es


Wednesday, February 12, 2014

Wireless Tools (Audit)

Audit the pre-shared key (PSK)
http://www.wirelessdefence.org/Contents/coWPAttyMain.htm

RF Power Table (xdBm to xmW)
http://www.ipass.net/teara/dbm.html

C# Todo sobre puertos Serial(COM) y Paralelo(LPT )

How to program Read,Write parallel port in C#?
http://sandeep-aparajit.blogspot.com/2008/08/io-how-to-program-readwrite-parallel.html

Parallel port
http://www.epanorama.net/circuits/parallel_output.html
http://www.epanorama.net/circuits/parallel_output_es.html

I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port
http://www.codeproject.com/KB/cs/csppleds.aspx?df=100&forumid=21021&exp=0&select=974134

I/O Ports Uncensored Part 2 - Controlling LCDs (Liquid Crystal Displays) and VFDs (Vacuum Fluorescent Displays) with Parallel Port
http://www.codeproject.com/KB/cs/cspplcds.aspx

How to Capture LPT Port(s) to Intercept DOS Print Requests
http://www.codeproject.com/KB/system/LPTCapture.aspx

Recursos:
Lpt Monitor y muchos otros muy útiles
http://neil.fraser.name/software/
Com Monitor
http://www.serial-port-monitor.com/
Drivers para dispositivos varios controlados por puertos LPT o COM
http://www.kitsrus.com/software.html

Se detectó un posible valor Request.Form peligroso en el cliente …

en inglés se llama “A potentially dangerous Request.Form value was detected from the client”.

varias páginas indican dos cosas:
1. agregar en la cebecera del pagina aspx
<%@ Page validateRequest="false" %>

2. modificar web.config

< validaterequest="false">

...

pero no siempre funciona, o almenos no para lo que yo queria, entonces lo solucione con el siguiente tag:

[ValidateInput(false)]
public ActionResult SaveEdition(FormCollection form)
{
string editorValue = HttpUtility.HtmlDecode(Request["txtEditor"].ToString());
return null;
}

sobre el método que recibe el codigo html en su respectivo text o textarea


Adicionalmente para versiones recientes:

Agregar lo sgte en <system.web> :

<httpRuntime requestValidationMode="2.0" />




ASP.NET MVC: Implementing HTTP File Upload

Referencias:
[1]  http://www.hanselman.com/blog/ABackToBasicsCaseStudyImplementingHTTPFileUploadWithASPNETMVCIncludingTestsAndMocks.aspx

Tuesday, February 11, 2014

Windows 7, Build 7600, This Copy of Windows is not genuine

open cmd (as Adminstrator), type next command and wait to message for restart

> slmgr -rearm


Tuesday, January 28, 2014

Medidor de Ancho de Banda / Bandwith Meter

< ?php

$data = file_get_contents("textfile.txt"); //obtener la informacion

$fsize = filesize("textfile.txt") / 1024; //determinar el tamaño del archivo en KB: minimo 500k
//Definir el tiempo de comienzo
$start = time();
//enviamos la informacion al usario
echo "";
//definir el momento en que termina la transimicion
$stop = time();

$duracion = $stop - $start; //Calcular diferencia de tiempo
//Dividimos el tamaño del archivo por el numero de segundos que tardo la
transmicion
$speed = round($fsize / $duraccion,2);
//mostramos el resultado en kb
echo "La velocidad de tu red: $speed KB/SEC.";
?>


Referencias:
[1] Php src ftp://concordia.psi.br/pub/linux/apache/bandwidthmeter-0.72.zip

Testers:

[1] www.tracert.org/bandwidth_meter
[2] Telefonica Movistar (Java) 200.121.63.90:8081/myspeed/myspeed_line_appspeed.html
[3] http://www.caezar.net/speedtestnet-medidor-de-ancho-de-banda.html
[4] http://speedtest-netgauge.movistar.cl/

W7/Winamp Do you want to allow the following program to make changes to this computer?

Disable Run As Administrator (don't work), only you need is download and Install appropiate Enhancer Wrapper.


Resources
[1] http://www.nunzioweb.com/daz/enhancer/

Wednesday, January 22, 2014

Wake On LAN/WAN



References:
[1] http://www.adslzone.net/tutorial-20.21.html
[2] http://www.wakeonlan.me/

Resources:
[1] Single magic package sende http://www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx
[2] More early magic package sender http://magicpacket.free.fr/
[3] Portable/Console magic package sender http://www.matcode.com/wol.htm

 

2021

[1] https://help.ubuntu.com/community/WakeOnLan

[2] https://www.techrepublic.com/article/how-to-enable-wake-on-lan-in-ubuntu-server-18-04/

***note*** check the right filename interfaces or 01-network-manager-all.yaml

cat /etc/network/interfaces

sudo vi /etc/netplan/01-network-manager-all.yaml
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp5s0:
      match:
        macaddress: 24:4b:fe:58:4d:cd
      dhcp4: true
      wakeonlan: true

Arduino - Power Supply ATX


References:

[1] http://www.instructables.com/id/Arduino-Controlled-ATX-Power-Supply/?lang=es
[2] Books (Start Guides) http://www.poli.br/~marcilio/Arduino/Livros%20sobre%20Arduino/

Friday, January 17, 2014

Visual Studio & Aplicaciones moviles

Referencias
[1]  http://stackoverflow.com/questions/12787352/visual-studio-and-mobile-phone-development


Router HG520s - Comandos


>show all
>show lan
>show wan node 0l

>ip address | status | ping xxx.xxx.xxx.xxx


Comandos Telnet:
Desconectar: ip detach ppp-0
Conectar: ip attach ppp-0 ppp-0
Logout: user logout


Referencias
http://www.networktutorials.info/router_commands.html
http://www.taringa.net/posts/ebooks-tutoriales/2211110/Como-routear-un-MODEM-Huawei-SmartAx-MT880-+-Configurar-Red.html

Cisco
http://www.cisco.com/en/US/docs/routers/access/700/software/command/reference/700CRsys.html

Thursday, January 02, 2014

Eliminar redirección a megaline.co


Iniciar cmd como Administrador (ejecutar los dos comandos siguientes)

> ipconfig /flushdns
>netsh winsock reset

Reiniciar PC


GNU utilities for Win32


Same Linux Commands over Windows ( grep, cat,...)

Resources:
[1] http://unxutils.sourceforge.net/

Friday, December 13, 2013

OT 639G

http://www.startimes.com/f.aspx?t=33257571

Thursday, November 28, 2013

Linux Multimedia BackTrack-Ubuntu

RMVB
http://leandronunes.org/2009/04/22/rmvb-no-linux-sem-complicacao/
Codecshttp://www.vivaolinux.com.br/artigo/Rodando-videos-.rmvb-no-Linux


1) Mp3 Player (xmms)
http://tombott.com/install_xmms_on_ubuntu_8.04_8.10_9.04_9.10_10.04_last.fm_scrobble


1.1) if you have dependency problems

[1.1.a] http://howik.com/Install_XMMS_on_Ubuntu_10.04
[1.1.b] https://launchpad.net/ubuntu/hardy/i386/libglib1.2ldbl/1.2.10-19build1
[1.2.c] https://launchpad.net/ubuntu/+source/gtk+1.2/1.2.10-18.1build2/+build/484191

if xmms don't play mp3, showing next message:

** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such file or directory

then, change preferences:


xmms --> Preferences --> Audio I/O Plugins --> OSS Driver 1.2.10 --> Configure --> Audio Device

was changed from "Default (Intel HD Audio play output)" to "Use alternate device: /dev/dsp0"


2) MPLAYER
http://www.backtrack-linux.org/forums/showthread.php?t=25037

2.1) MPlayer dependency

gtk http://www.gtk.org/download/linux.php
  |
 +-- glib http://ftp.acc.umu.se/pub/gnome/sources/glib/
       |
      +-- libffi https://launchpad.net/ubuntu/+source/libffi/3.0.9-1

 +-- atk http://ftp.gnome.org/pub/gnome/sources/atk/
 +-- cairo https://launchpad.net/ubuntu/+source/cairo/1.8.10-2ubuntu1
    + https://launchpad.net/ubuntu/+source/pixman/0.24.4-1
 +-- pango http://ftp.gnome.org/pub/gnome/sources/pango/
 +--
 +-- gdk pixbuf http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/

Tuesday, November 19, 2013

Wednesday, November 13, 2013

Who using my port 80/8080/8085/Other?

Windows Plataform

> netstat -aon  | grep "LIST"
> netstat -aon  | grep ":80" | grep "LIST"

*Get pid (Process id) and execute next command

>tasklist | grep "xxxx" 

* xxxx is pid value

Resume for W7


>netstat -aon  | grep ":80" | findstr "LIST"
>tasklist | findstr "xxxx" 
Linux Plataform
#lsof

or

#netstat -tulpn | grep :80

..continue


Notes:
If you mean MS-DOS then there's only FIND, as far as I know. But it's an ancient OS not used anymore.
If you mean NT(XP/2K/7/Vista)'s Command Prompt you can use find, findstr and grep if you download GnuWin32.
The basic differences are that findstr has some regex support. Grep supports regex best.

References:
[1] http://superuser.com/questions/300815/command-prompt-msdos-windows-7-grep-equivalent


Tuesday, November 12, 2013

Tools for Video Edit

1) Any Video Converter Ultimate
     flv/mp4 -> mpg/avi (common requirement)

2) Virtual Dub [Video Editor +/- Audio stream]
     http://www.free-codecs.com/virtualdub-mpeg2_download.htm

3) Audacity [Audio Editor]+ Pluging (Center Pan Remover/Vocal remover )
     http://audacity.sourceforge.net/






Vocal/Voice Remove Apps

I think Audicity pluging is best of below list

References
[1] http://mp3.about.com/od/essentialsoftware/tp/Top_Vocal_Removers.htm

Friday, September 27, 2013

SalesForce Security Revision - SSL Configuration Vulnerability



Resources:
[1] Setting Tool https://www.nartac.com/Products/IISCrypto/Default.aspx
[2] Scanner https://www.ssllabs.com/ssldb/index.html (Used by SalesForce Security Revision process)
[3] SSL Info http://www.serversniff.net

Asp.Net Insecure Session Cookie Handling Vulnerability

Add next code in c:\inetpub\wwwroot\web.config


    <system.web>
      <httpCookies
             httpOnlyCookies="true"
             requireSSL="true" />
    </system.web>


References:
[1] http://www.codeproject.com/Articles/291562/Asp-net-web-application-Security-Review-Dos-Dont
[2] http://forums.asp.net/t/1756774.aspx
[3] http://www.enterprisenetworkingplanet.com/netsecur/ten-tips-to-make-your-ssl-secure.html
[4] https://www.owasp.org/index.php/HttpOnly
[5] http://xss.cx/examples/dork/programming/ssl-cookie-without-secure-flag-set-example.html#1.7


IIS Custom Errors



1. Make html with custom message, and save that on any directory
    c:\inetpub\wwwroot\custom_errors\404.html
    c:\inetpub\wwwroot\custom_errors\500.html

2. Alter web.config of c:\inetpub\wwwroot, add next content.

<system.webServer> 
<httpErrors errorMode="Custom" existingResponse="Auto" defaultResponseMode="ExecuteURL">
  <clear />
  <error statusCode="404" path="/custom_errors/404.html" responseMode="ExecuteURL" />
  <error statusCode="500" path="/custom_errors/500.html" responseMode="ExecuteURL" /> 
</httpErrors> 
</system.webServer> 



References:
[1] http://stackoverflow.com/questions/434272/iis7-overrides-customerrors-when-setting-response-statuscode
[2] http://stackoverflow.com/questions/619895/how-can-i-properly-handle-404-in-asp-net-mvc
[3] http://stackoverflow.com/questions/717628/asp-net-mvc-404-error-handling

Friday, September 20, 2013

Aficionado al dibujo a Lapiz ( Como iniciar )





Referencias:
http://www.dibujemos.com

Generating Unique Key ID for Computer


Reference:
[1] http://sowkot.blogspot.com/2008/08/generating-unique-keyfinger-print-for.html

Claro Habla Gratis



Envia un SMS con el sgte formato(No te cobran los 3 primeros minutos):

La estructura del SMS (sin costo) al 779 es HG(espacio)(número voz 1)(coma)(número voz 2)(coma)(número SMS).

Nota: El número SMS puede ser también uno de los primeros y la recarga es de S/.15 mínimo al mes.


referencia:
[1] http://www.claro.com.pe/wps/wcm/connect/pe/claro-2013-peru/pc/personas/movil/prepago/promociones/habla-gratis

Wednesday, September 18, 2013

MS Access Client GUI (For Sql Commands)




References:
[1] http://www.albahari.com/  (Parallel programing/Threading and more )
[2] Query Express http://www.albahari.com/queryexpress.aspx
[3] LinqPad http://www.linqpad.net/

Tuesday, September 17, 2013

API Key Google Maps

https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
Ir a:
ttps://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf
https://code.google.com/apis/console#sthash.FclYhbcs.dpuf

https://code.google.com/apis/console

Referencias:

[1] http://www.nonomartinez.com/2012/03/13/como-crear-una-api-key-para-google-maps-v3

MoSync over W7

MoSync no yet support 64bits, then after installation you get message related to jvm.dll

Solution:
Install standalone Java 32bits, over C:\Program Files(x86)\Java, then after installation of moSync you need create new shortcut.

C:\MoSync>C:\mosync\eclipse\mosync.exe -vm "C:\Progra~2\Java\jdk1.6.0_17\jre\bin\server\jvm.dll" eclipse.vm="C:\Progra~2\Java\jdk1.6.0_17\jre\bin\server\jvm.dll
" java.home="C:\Progra~2\Java\jdk1.6.0_17\jre" java.runtime.version=1.6


Nod32 best serials

Validos
Vencimiento U                  C
25/03/2014 EAV-84218011 fk3tv8p57v

Serial 1
http://actualizatu-nod32.blogspot.com/
Otros
http://serialnod32gratis.blogspot.com.br
http://nod32-serial.blogspot.com/
http://www.archivogeek.com/windows/software/username-y-password-serial-para-nod32/

Sunday, September 15, 2013

Wednesday, September 04, 2013

Tuesday, September 03, 2013

Xcode 4.2 installation requeriments on vmware 7.1.4

Monoprocesador ACPI de PC
CPUID : AMD Sempron(tm) 140 Processor
Velocidad de reloj original  2700 MHz
Memoria del sistema 2048 MB  (DDR3-1333 DDR3 SDRAM)
Placa de video ATI Radeon HD 5450  (1024 MB)

Note:
a) Parameters for start -v cpus=1 busratio=4
b) For others machines try use cpu-z and divide Score speed / Bus speed ~  busratio


1) Install Mac OSX Snow Leopard 10.6.6 Intel AMD Vmware Image
http://thepiratebay.se/torrent/6120172

2) OSX Snow Leopard 10.6.7 update (Xcode 4.2 works with OSX 10.6.7)
http://download.info.apple.com/Mac_OS_X/041-4916.20110321.Sx74f/MacOSXUpd10.6.7.dmg


3) Download and Install Xcode 4.2
http://thepiratebay.se/torrent/6721955
   3.1) Enable Root user
          * Go -> /System/Library/CoreServices/
          * Launch “Directory Utility” and Unlock using the padlock icon and entering the administrator password (empty for this case).
          * Edit -> Enable Root User
   3.2) if fail xcode installation, then change system date before to 03-2012
          #date 0101000012 (01 of January of 2012)
4) After installation(for execute)

open -a /Developer/Applications/Xcode.app
or
open -a Xcode.app


References:

[1] http://osxdaily.com/2011/03/21/mac-os-x-10-6-7-update-download/
[2] Enable root http://osxdaily.com/2012/01/09/enable-root-user-account-os-x-lion/

Wednesday, August 21, 2013

Thursday, July 25, 2013

Host File Browser

Some times you need explore your files in your host server, here you have tools for that.


References:
 [1] http://www.vonloesch.de/filebrowser.html
 [2] Download  http://www.4shared.com/zip/B2XFPfrI/jspbrowser.html

Tuesday, July 23, 2013

CRM Companies


Below we have referenced the top online CRM companies providing services today.

References:


[1] http://crm-software-review.toptenreviews.com/
[2] http://www.thetoptens.com/best-online-crm-companies/

Tuesday, July 09, 2013

jQuery MultiSelect work using jQuery 1.9.1 and jQuery-ui-1.10.3

Version 1.13 - 08/19/2012
==============================================
- Fixed: jQuery 1.8 compatibility
 

We using multiselect, that work fine using jquery 1.8-ui, but we need migrate jquery to  jQuery 1.9.1 and jQuery-ui-1.10.3.

for that we changed source jquery.multiselect.filter.js (line 29)

   instance = (this.instance=$(this.element).data("echMultiselect")),/*fix for jquery 1.10.3*/ /*multiselect")),*/


References:


[1] http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/

jQuery Addons

jQuery Contdown
http://keith-wood.name/countdown.html

Tree View con jQuery
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/

Tooltip
[1] http://patelshailesh.com/index.php/css-tooltip-on-mouse-hover
[2] http://www.queness.com/resources/html/tooltip/jquery-tooltip-queness.html
[3] http://www.filamentgroup.com/examples/fg-tooltip/



Wednesday, June 12, 2013

C# Send/Read SMS using MT6225(Chine) Cellular

Code works over Windows XP/Sp2 + VS2008, problem is on Windows 7/x64


First you need download/install driver for Windows 7 from [1], after that download c# sample from [2].
for understand code, you need know At commands, that code only send AT command to Comx for interchange information with the cellular phone.
Same usually commands:

AT 
  (if result is OK, then connection is good)
AT+CMGF=1
    (Set message format  0:New/1:Read)
AT+CMGF?
    (Read current setting)
AT+CMGF=?
    (Show list possible values) 
AT+CMGL="ALL"
    (List of all messages)

Classic sequence:
AT+CMGF=1
AT+CMGL="ALL"

References:
[1] MT6225 for W7/x64 Driver http://hotfile.com/dl/42358552/cb0f022/MTK6227_Driver__For_XP__Vista.rar
[2] C# Source Code for test http://www.elguille.info/colabora/NET2006/mauro_melgar_envio_sms.htm
[3] AT Commands http://www.telit.com/module/infopool/download.php?id=542


Wednesday, May 29, 2013

Extend USB with UTP (20mts) Solved!



White Orange & Orange <=> Red
White Green <=> White
Green <=> Green
Rest <=> Black.


References:

[1] http://www.instructables.com/id/How-to-Extend-yout-USB-using-UTP/step2/The-making-of-Part-1/
[2] http://tutallerdebricolaje.com/como-hacer-un-alargador-o-extensor-usb/
[3] http://forums.hardwarezone.com.sg/mass-order-corner-251/mo-power-over-ethernet-poe-convertor-turn-any-ip-camera-into-poe-device-3826552.html

Linux::Network configuration::CentOS

1) Configure by console interfaces
system-config-network
system-config-securitylevel-tui
/etc/init.d/network restart
/etc/init.d/NetworkManager restart
service network restart

2) Working by scripts
2.1) Static

vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
HWADDR=00:11:22:33:44:55
IPADDR=192.168.1.x
NETMASK= 255.255.255.0
NETWORK= 192.168.1.0
ONBOOT=yes
GATEWAY= 192.168.1.y
TYPE=Ethernet

2.2) DHCP
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=www.kusaconsultores.com
GATEWAY=192.168.1.1

vi /etc/resolv.conf
nameserver 200.48.225.130
nameserver 200.48.225.146

/etc/init.d/network restart

References:
[1]http://rm-rf.es/como-configurar-tarjetas-de-red-en-red-hat-enterprise-centos-y-fedora-core/
[2]route
http://systemadmin.es/2009/04/anadir-rutas-route-add-en-centos

Thursday, May 23, 2013

Trying Mount W7 Image (Ghost) over VMWare

Problem:
I need start Virtual Machine with W7, so  i don't have DVD Installer, but i have W7 image (created with Norton Ghost).

I Think make one iso file with W7 image for mount that, next mount ghost boot tool for restore from W7 iso file, but ghost not read files from iso mounted.

One alternative is mount USB as Hard Disk, but now my usb have only 4Gb (image file is ~ 7Gb )
I Think too mount iso image over virtual drive using winmount http://www.winmount.com/winmount-free.html


 VMware vCenter Converter StandAlone (tool for convert your physical computer to virtual machine)

thinking more, then i choice one solution very very crazy.

I try shrink my physical partition for add one aditional partition using Computer Management, Disk Managment (10Gb), then attach that new partition on VMWare Disk and try  restore image with Ghost.

So,  Microsoft Windows Server 2008 R2 – Media is write protected. For resolve that you need execute next commands.

cmd
diskpart 
list disk
select disk N
attributes disk clear readonly


* Too i try put .gho file into .iso for mount then restore, for that i need use iso editor, por example poweriso:
http://www.poweriso.com/download.htm  (v5.6)
Name: TEAM CRUDE
Key   : MIT68-I7WLE-CAGZN-DJYPR-PVNE4

* Alternatives
http://www.magiciso.com/download.htm
http://www.minidvdsoft.com/isocreator/

* Ghost32 ( For Convert .gho to .vmdk )

>ghost64 -clone,mode=restore,src=AmdW7-100.GHO,dst=toW7-100.vmdk -batch -sure

[1] http://www.mediafire.com/download/s2xp8f734b5a5xa/Ghost32_ghost64_11.5.1_Symantec.rar
[2] Convert .gho to .vmdk using ghost32 http://www.gregoryaubry.com/virtualisation-2/converting-image-file-format-from-gho-to-vmdk-and-from-vmdk-to-gho-symantec-connect/

*Plop BootManager (force boot from USB on VMware) http://www.plop.at/en/bootmanager/download.html

* System Repair Disk (ISO) http://www.windowsreinstall.com/winre/createfromiso/#Downloads


* http://www.filecrop.com (for search resources)

Wednesday, May 22, 2013

Sql Server 2008 Mirroring Tips

Problem:
  *, **, ***
Solution:


Common Error Messages:
1) The server network address TCP:// can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.



References:
[1]Mirroring vs Replication and Others http://nilebride.wordpress.com/2011/07/24/log-shipping-vs-mirroring-vs-replication/
[2] Introduction http://www.guillesql.es/Articulos/database_Mirroring_SQL_Server_2005_2008.aspx

[3] High Recomended http://www.mssqltips.com/sqlservertip/1705/implementing-database-mirroring-in-sql-server-2005-across-domains/

[4] Resume http://blog.capside.com/2012/04/10/como-configurar-db-mirroring-utilizando-certificados-sql-server-2008-r2-db-mirroring-untrusted-servers-using-certificates/
[5] Mirroring 2008 using GUI http://www.databasejournal.com/features/mssql/article.php/3828341/Database-Mirroring-in-SQL-Server-2008.htm
[6] *  http://blog.sqlauthority.com/2010/01/11/the-server-network-address-tcpsqlserver5023-can-not-be-reached-or-does-not-exist-check-the-network-address-name-and-that-the-ports-for-the-local-and-remote-endpoints-are-operational-microso/
[7] ** http://www.gknzcfc.net/subsite/server-tcp-provider-failed-to-listen-on-1433-tcp-port-is-already-in-use.html
[8] *** https://www.simple-talk.com/sql/database-administration/sql-server-endpoints-soup-to-nuts/
[9] SQL Server Data Encryption http://selfhandle.com/post/2011/08/05/How-to-enableremove-Transparent-Data-Encryption-%28TDE%29.aspx


Monday, May 20, 2013

Nucom model R5000UNv2 Settings (Enable VNC ports by telnet)

Problem:
I need open vnc port 5900/5901 but i don't acces to GUI console(Web), only i have access to network by ssh. Then i need login to router and try set that with commands.


Syntax:

natp add <name> <WAN Interface> <TCP/UDP|TCP|UDP> <External Port(start:end)>
              <Internal Port(start:end)> <ipaddr>

 

#telnet 192.168.1.1


> wan show   # for show wan interfaces

> natp show table # for show current settings

> natp add vncport ppp0 TCP/UDP 5901:5901 5901:5901 192.168.1.100

ready!

Notes:
* Try use TP-Link W8960N for bandwidth control.
* If router mac is AABBCCDDEEFF try use BBAADDCCFFEE and user admin (Probably work)

References:
[1] http://www.adslzone.net/postt276042.html




Friday, May 17, 2013

Alternatives to dyndns (dyn.com)

dyndns.org/.com -> dyn.com (you need log to panel at least one time /month)

Alternatives:
 a) https://dynu.com
 b) http://freedns.afraid.org



References

[1] Server Software/Dns & DDns Providers http://www.dyndnsservices.com/tech.htm
[2] Providers list http://dnslookup.me/dynamic-dns/









Friday, May 03, 2013

SQL Server same versions and limits


SQL Server 2008 Express has a 4 GB limit on database size 
SQL Server 2008 R2 Express has 10 GB.
Windows Server 2008 R2 Evaluation (180 days)

Thursday, April 18, 2013

Sunat: impuesto por cuarta categoría/recibo por honorarios.


Declarar recibos por honorarios en PDT 601

Calcule su impuesto por cuarta categoría. http://mass.pe/node/305

SUNAT - RECIBOS POR HONORARIOS - EJERCICIO 2013
http://www.khronos.com.pe/SUNAT-RECIBOS-POR-HONORARIOS.html

Ejemplos: http://www.forosperu.net/showthread.php?t=174125 (Leer respuestas)

Php Mvc


References
[1] http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/
[2] http://www.ajaxline.com/10-best-php-frameworks-and-cms

http://stackoverflow.com/questions/11770104/cms-routing-in-mvc
http://stackoverflow.com/questions/7361638/does-anyone-know-a-good-php-cms-built-on-a-mvc-framework

http://codereview.stackexchange.com/questions/14550/mvc-structured-cms

Facturador Sunat SEE SFS (Linux)

    /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar ./facturadorApp-2.1.jar server prod.yaml References: [1] Make temp certificate for test...