Wednesday, February 12, 2014
C# Todo sobre puertos Serial(COM) y Paralelo(LPT )
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 …
varias páginas indican dos cosas:
1. agregar en la cebecera del pagina aspx
<%@ Page validateRequest="false" %>
2. modificar web.config
< validaterequest="false">
...
[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
Agregar lo sgte en <system.web> :
<httpRuntime requestValidationMode="2.0" />
Tuesday, February 11, 2014
Windows 7, Build 7600, This Copy of Windows is not genuine
> slmgr -rearm
Tuesday, February 04, 2014
Tuesday, January 28, 2014
Medidor de Ancho de Banda / Bandwith Meter
$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?
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/
Sunday, January 19, 2014
Friday, January 17, 2014
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
Wednesday, December 18, 2013
Starting with Python
References
[1] http://www.vogella.com/articles/Python/article.html
[2] Python http://www.python.org/
Friday, December 13, 2013
Thursday, November 28, 2013
Linux Multimedia BackTrack-Ubuntu
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/
Friday, November 22, 2013
PHP & IIS7.5 Topics
1) Windows 2008 R2
2) IIS 7.5
I Installed using next resources:
[1] PHP http://windows.php.net/download/
[2] Microsoft 2008 C++ Runtime http://www.microsoft.com/en-us/download/details.aspx?id=30679
References:
[1] (Guide) http://www.iisunderground.com/installing-php-on-iis/
[2] http://sqlfromhell.wordpress.com/2009/12/21/instalando-o-php-no-iis-7-5/
[3] Include WordPress http://zousu.com/wp/install-wordpress-with-iis-7-php-mysql/
Tuesday, November 19, 2013
Wednesday, November 13, 2013
Who using my port 80/8080/8085/Other?
> 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
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
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...