Wednesday, June 09, 2010
mySQL Tools
http://www.heidisql.com/download.php
Tuesday, June 08, 2010
ASP.NET HttpException: Maximum request length exceeded
Las siguientes lineas cambian a 20MB
<configuration>
...
<system.web>
...
<httpRuntime maxRequestLength="20480" />
</system.web>
</configuration>
Otras Configuraciones
<httpRuntime executionTimeout="300" maxRequestLength="51200"/>
<httpRuntime
executionTimeout="1200"
maxRequestLength="102400"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
Nota:
maxRequestLength<=1048576 (1 GB) para .NET Framework 1.0/1.1 y
maxRequestLength<=2097151 (2 GB) for .NET Framework 2.0.
Referencias
FileUpEE - Large Uploads in ASP.NET:
http://support.softartisans.com/docs/fileupeev4/doc/dotnet/aspdotnet_largeuploads.asp
FileUpSE - large uploads in ASP.NET:
http://support.softartisans.com/docs/fileupv4/prog_g_dotnet_largeuploads.htm
Thursday, June 03, 2010
Wednesday, June 02, 2010
Aplicaciones para desarrollo Wap (Celular)
TTEmulator
http://www.inetis.com/index.php?module=ttemulator#free
http://emulator.mtld.mobi/emulator.php?emulator=nokiaN70&webaddress=http%3A%2F%2Fverifytransport.somee.com%2Fwap%2F
Browser WAP Emulador
Wap Proof (Muy bueno, muestra source code de las url)
http://www.wap-proof.com/wap_browser_download.php
WinWAP for Windows/Smartphone Browser Emulator(UN asco, no permite cambiar url)
Toolkits
Nokia Qt SDK Beta - QT & symbian (aprox. 800mb)
http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/
Tutoriales WAP/WML
http://www.terra.es/personal/wapfacil/manwml6.htm
Comandos Mobile completo con ejemplos asp
http://www.w3schools.com/dotnetmobile/mobile_reference.asp
Are there specific HTTP headers for mobile?
http://www.thewirelessfaq.com/are_there_specific_http_headers_for_mobile
How to make ASP.NET Applications that support mobile devices
http://www.beansoftware.com/ASP.NET-Tutorials/WML-Mobile-PDA.aspx
Tuesday, June 01, 2010
Funny Pictures
http://www.pickmeupnews.com
Andrea parker, all
http://wall.bete.tv/catlist.php?mcat=7&page=79
Tuesday, May 25, 2010
Conceptos referenciales
http://www.persystems.net/sosvirus/pregunta/payload.htm
Cross Site Request Forgery(CSRF)
http://es.wikipedia.org/wiki/Cross_Site_Request_Forgery
XSS
http://es.wikipedia.org/wiki/XSS
Otras referencias
============================================================
http://www.exploit-db.com/exploits/12051
http://blackploit.blogspot.com/2010/05/buffer-overflow-en-php-6-dev.html
http://www.dragonjar.org/buffer-overflow-en-php-6-dev.xhtml
Revisar
===================
http://blackploit.blogspot.com/2010/05/csrftester-10-creando-poc-csrf.html
http://foro.elhacker.net/bugs_y_exploits/shellcode_compressor-t287699.0.html;wap2=
http://www.milw0rm.com/
Monday, May 24, 2010
SyntaxHighlighter on Web & Blogger
2. Unrar to a temp folder. ex: c:\temp\syntaxhighlighter
3. Transfer the folders (Scripts and Styles) to a web server. I use google code to host my files.
4. Open blogger.com and sign in.
5. Goto "Template" and choose "Classic" layout.
6. Goto Edit Html.
7. After <head> insert the following:
<link href="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Styles/SyntaxHighlighter.css" type="text/css" rel="stylesheet" /> </link>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shCore.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushCSharp.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushXml.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushCss.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushJScript.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushSql.js"></script>
8. And before </body> insert:
<script language="javascript">
dp.SyntaxHighlighter.ClipboardSwf = 'http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
</script>
or
<script language='javascript'>
dp.SyntaxHighlighter.BloggerMode();
dp.SyntaxHighlighter.HighlightAll('code');
</script>
Fuente:
http://morten.lyhr.dk/2007/12/how-to-get-syntax-highlighting-in.html
http://code.google.com/p/syntaxhighlighter/w/list
for Blogger
http://yacoding.blogspot.com/2008/05/how-to-add-syntax-highlight-to-blogger.html
C# Resize image
public void ResizeImage(string OriginalFile, string NewFile, int NewWidth, int MaxHeight, bool OnlyResizeIfWider)
{
System.Drawing.Image FullsizeImage = System.Drawing.Image.FromFile(OriginalFile);
// Prevent using images internal thumbnail
FullsizeImage.RotateFlip(System.Drawing.RotateFlipType.Rotate180FlipNone);
FullsizeImage.RotateFlip(System.Drawing.RotateFlipType.Rotate180FlipNone);
if (OnlyResizeIfWider)
{
if (FullsizeImage.Width <= NewWidth)
{
NewWidth = FullsizeImage.Width;
}
}
int NewHeight = FullsizeImage.Height * NewWidth / FullsizeImage.Width;
if (NewHeight > MaxHeight)
{
// Resize with height instead
NewWidth = FullsizeImage.Width * MaxHeight / FullsizeImage.Height;
NewHeight = MaxHeight;
}
System.Drawing.Image NewImage = FullsizeImage.GetThumbnailImage(NewWidth, NewHeight, null, IntPtr.Zero);
// Clear handle to original file so that we can overwrite it if necessary
FullsizeImage.Dispose();
// Save resized picture
NewImage.Save(NewFile);
}
Resources
=========
C#: Resize An Image While Maintaining Aspect Ratio and Maximum Height
http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing
Sunday, May 23, 2010
Lugares interesantes
http://superpatanegra.com/correoanonimo/index.php
Invertir teto
http://generadores.arredemo.org/girartexto/
flv player
http://superpatanegra.com/banners/index-video.php
http://superpatanegra.com/textoaimagen/image.php
email a imagen
http://superpatanegra.com/email/
Saturday, May 22, 2010
Targetas de crédito
http://en.wikipedia.org/wiki/List_of_Bank_Identification_Numbers
Generador de números de targeta de crédito validas aleatorias
http://mediakey.dk/~cc/wp-dyn/credit-card-number-generator.php
http://www.darkcoding.net/credit-card-generator/
Genera codigo vv2
http://www.xonico.com.ar/index.php?s=CodigoCC
http://generadores.arredemo.org/ccgenerador/
Thursday, May 20, 2010
Great design and scripts
http://blogvecindad.com/lista-completa-de-menus-con-css-para-diseandores-web/2007/06/05
http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm
http://www.javascriptkit.com/script/cutindex16.shtml
http://www.creativeprogramming.it/blogs/wp/index.php/2009/08/19/gwt-ext-how-to-programmatically-swap-themes/#tb
http://www.daniweb.com/forums/thread127263.html
JavaScript Resources
http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm
http://www.quizzpot.com/2009/10/combo-box-loaded-dynamically-and-remotely/
Tuesday, May 18, 2010
Friday, May 14, 2010
Restaurando VS2008
>devenv /ResetSettings
En mi caso fue asi.
>C:\Archivos de programa\Microsoft Visual Studio 9.0\Common7\IDE>devenv /resetset
tings
NHibernate
http://codelog.climens.net/2010/03/16/nhibernate-y-localizacion/
Thursday, May 13, 2010
Trabajando con Delegados en C#
==========================================
public delegate void DelegateType(string message);
Codigo 2
==========================================
public static void Method(string message)
{
System.Console.WriteLine(message);
}
Función cualquiera con la misma firma que DelegateType es decir void xxx(string yyy)
Codigo 3
==========================================
DelegateType handler = Method; //Esto es posible xq DelegateType es una referencia
//a funciones con la firma void xxx(string yyy).
handler("Hello World"); //Llama a Method
Codigo 4
==========================================
public void MethodWithCallback(int param1, int param2, DelegateType callback)
{
callback("The number is: " + (param1 + param2).ToString());
}
Codigo 5
==========================================
MethodWithCallback(1, 2, handler); //Llamada enviando una referencia a Method
Codigo 6
==========================================
public void Method1(string message) { }
public void Method2(string message) { }
DelegateType d1 = Method1;
DelegateType d2 = Method2;
DelegateType d3 = Method;
DelegateType allMethodsDelegate = d1 + d2;//assigna referencia a d1 y d2
allMethodsDelegate += d3; //agrega referencia a una tercera funcion
Codigo 8
==========================================
allMethodsDelegate -= d1; //elimina d1 de la lista de referencias
DelegateType oneMethodDelegate = allMethodsDelegate - d2; //Copia todos menos d2
Codigo 9
==========================================
int invocationCount = d1.GetInvocationList().GetLength(0); //Cantidad de referencias
Codigo 10
==========================================
using System.Reflection;
namespace DemoDelegate
{
public delegate void D();
public class ComprobaciónDelegados
{
public static void Main()
{
Type t = typeof(ComprobaciónDelegados);
MethodInfo m = t.GetMethod("Metodo1");
D obj = (D) Delegate.CreateDelegate(typeof(D), m);
obj();
}
public static void Metodo1()
{ Console.WriteLine("Ejecutado Método1"); }
public static void Metodo2(string s)
{ Console.WriteLine("Ejecutado Método2");
}
}
}
Friday, May 07, 2010
Imagen a Icono
Iconos
http://www.softicons.com/free-icons/application-icons/web-application-icons-by-ray-cheung/back-icon
SMS Gratis (SDKs)
Importante ver la documentación de como hacer envios flash(rápido)
https://labs.ericsson.com/apis/sms-send-and-receive/documentation
http://stackoverflow.com/questions/238579/free-sms-api
Wednesday, May 05, 2010
Tuesday, May 04, 2010
VPN Linux & Windows
http://www.deperu.com/internetgratis/Windows_XP.htm
OpenVPN
http://www.alcancelibre.org/staticpages/index.php/openvpn-clientes-win-linux-shorewall-P2
http://peloenpecho.blogcindario.com/2008/05/00003-armando-una-vpn-cliente-servidor-con-linux.html
Thursday, April 29, 2010
Friday, April 23, 2010
Grids
http://pixelco.us/blog/240-plugins-para-jquery/
http://code.google.com/p/flexigrid/
http://www.dataprix.com/blogs/magm/plugin-eglu-jquery-flexigrid-2-versi-n-01-documentaci-n
http://www.extjs.com/deploy/dev/examples/grid/grid-plugins.html
http://www.extjs.com/deploy/dev/examples/
http://www.trirand.com/blog/jqgrid/jqgrid.html
El API de Java
Shared Library
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html
On Windows too
http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/stepbystep/step5.html
http://www.javaworld.com/javaworld/javatips/jw-javatip23.html
Load C++ LIbrary from Java
http://www.nag.co.uk/industryArticles/CallingCLibraryRoutinesfromJava.pdf
How to write shared Library
http://people.redhat.com/drepper/dsohowto.pdf
Thursday, April 22, 2010
Microondas
http://casaames.com/index2.php?option=com_content&do_pdf=1&id=48
Wednesday, April 21, 2010
Networking Linux
http://www.ex-parrot.com/pdw/iftop/
$ sudo iftop -i eth0
Tuesday, April 20, 2010
Friday, April 16, 2010
Servicio Web
http://www.webservicex.net/WS/CATs.aspx?CATID=12&DESC=Utilities
Implementar un WebService desde php
http://ityprogramacion.blogspot.com/2005/12/como-crear-un-web-service-en-php.html
Creando proxy apartir de un WSDL
C:\Archivos de programa\Microsoft SDKs\Windows\v6.0A\Bin>wsdl /l:cs /protocol:SOAP http://www.kusaconsultores.es/services/impuestos.php?wsdl
Thursday, April 15, 2010
ASP.NET Filtros de Acceso
http://www.techbubbles.com/aspnet/creating-action-filters-in-aspnet-mvc-applications/
Filter interceptors
http://weblogs.asp.net/scottgu/archive/2008/07/14/asp-net-mvc-preview-4-release-part-1.aspx
Securing Your Controller Actions
http://blog.wekeroad.com/blog/aspnet-mvc-securing-your-controller-actions/
http://www.openbeta.cn/Default.aspx?Page=Filters&AspxAutoDetectCookieSupport=1
Action filter
http://www.allanonwriting.net/post/HOW-TO-Create-a-ASPNET-MVC-Action-Filters.aspx
mySQL grant
show grants
Grant para habilitar acceso a servidor mySQL
http://stackoverflow.com/questions/2433543/how-to-make-a-remote-connection-to-a-mysql-database-server
Monday, April 12, 2010
Radio Mobile
http://www.cplus.org/rmw/english1.html
Tutorial de como usar
http://blog.e2h.net/2009/11/27/instalando-radio-mobile-para-predecir-el-rendimiento-de-un-sistema-de-radio/
Thursday, April 08, 2010
Tuesday, April 06, 2010
Tuesday, March 30, 2010
Que operador de Perú es (Celular)
http://deperu.info/celulares/index.php
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/movil/movil.htm
https://verifica.osiptel.gob.pe/
Friday, March 26, 2010
Mobile OS and SDKs
http://www.forum.nokia.com/info/sw.nokia.com/id/05c63dfd-d6e9-4c0e-b185-d365e7001aeb/S60-SDK-0548-3.0-f.3.215f.zip.html
http://blog.neuronaltraining.net/?p=1117
http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/thread/6a5af8f7-9cb6-457a-b97c-efa199171a6b
http://www.forosdeelectronica.com/f24/uso-celular-gsm-pic-pc-2730/
http://www.ozekisms.com/
http://www.ozekisms.com/p_61-it-system-interface-sms.html7&info=product-manual/index.php?ow_page_number=315
http://www.emant.com/681002.page
Thursday, March 25, 2010
Monday, March 22, 2010
Thursday, March 11, 2010
Wednesday, March 10, 2010
Tuesday, March 09, 2010
Comercio Electrónico (php)
http://support.cubecart.com/index.php?_m=downloads&_a=view&parentcategoryid=5&pcid=0&nav=0
http://www.oscommerce.com/solutions/downloads
Friday, March 05, 2010
Mobil Wap
http://enviar.sincelular.com/index.php (Similar al anterior)
http://www.nkwap.com.ar/ (uhmm solo funciona para los cheee...ss)
References
wap.filetac.com (For load wap page with code)
http://www.filetac.com/uploadfile.php
http://www.wapforum.org
Thursday, March 04, 2010
mySQL .NET
Tutorial
http://dev.mysql.com/usingmysql/dotnet/
Single tutorial
http://windows-programming.suite101.com/article.cfm/how_to_access_mysql_with_c
Guille
http://www.elguille.info/colabora/puntoNET/versae_MySQLNET.htm
Resources:
Conector
http://dev.mysql.com/downloads/connector/net/
Another Conector sourceforce
http://sourceforge.net/projects/mysqldrivercs/
http://www.webresourcesdepot.com/test-sample-data-generators/
Store procedures
http://forums.asp.net/t/988462.aspx
Wednesday, March 03, 2010
Tuesday, March 02, 2010
Salesforce API Resources
http://www.fishofprey.com/2009/12/salesforce-cheat-sheets-web-services.html
http://wiki.i-dialogue.com/%28S%28s2lidw555m1vwl45vvrbibvn%29%29/Default.aspx?Page=Adding_Custom_Buttons_to_Salesforce_Records&AspxAutoDetectCookieSupport=1
http://community.salesforce.com/sforce/board/print?board.id=general_development&message.id=26857&page=1&format=page
Thursday, February 25, 2010
Reports using Classes
http://blog.n-technologies.be/?tag=/c%23+2.0
http://blog.n-technologies.be/post/2007/03/26/SQL-Server-Reporting-Services-Create-and-Call-a-Custom-Assembly.aspx
http://www.developerfusion.com/article/4585/printing-reports-in-net/3/
http://stackoverflow.com/questions/223952/c-create-an-instance-of-a-class-from-a-string
http://www.koders.com/csharp/fidCCD62B6AEEDA5BC8F7F8FD2031EBD168185B1F60.aspx?s=dataset#L45
Wednesday, February 24, 2010
Mobile Web Forms in Visual Studio 2008
http://blogs.msdn.com/webdevtools/attachment/4776222.ashx
http://msdn.microsoft.com/en-us/library/bb158682.aspx
ActiveSync 4.5
http://www.microsoft.com/downloads/details.aspx?FamilyID=9E641C34-6F7F-404D-A04B-DC09F8141141&displaylang=es
Windows Mobile Software Developer's Kit
http://www.microsoft.com/downloads/details.aspx?FamilyID=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
Emulador
http://www.microsoft.com/downloads/details.aspx?familyid=3D6F581E-C093-4B15-AB0C-A2CE5BFFDB47&displaylang=en
Thursday, February 18, 2010
Wednesday, February 17, 2010
Optimizar ficheros JavaScript
http://www.arsys.info/diseno-web/mejora-la-velocidad-de-carga-de-tus-paginas-web-vi/
Comprimir js
http://www.tufuncion.com/comprimir-js
Referencias:
http://crockford.com/javascript/jsmin
http://developer.yahoo.com/yui/compressor/
Saturday, February 13, 2010
Software
http://megasoft-rapid.com/category/utility
Utilidades varis Screen Capture / Generadores de código
http://www.osmazum.com/Programas/
mySQL php generator
http://www.sqlmaestro.com/products/mysql/phpgenerator/
Thursday, February 11, 2010
Concatenar Filas de un Query
http://www.simple-talk.com/content/article.aspx?article=539#forum
Tuesday, February 09, 2010
Friday, February 05, 2010
Hosting IIS 7 ASP.NET, Php, Perl, SVN
Hosting asp.net 3.5 sp1, probado con webservice
http://somee.com/
Lista de otros proveedores( no probados)
http://blogs.iis.net/bills/archive/2007/4/28/1686437.aspx
PHP
http://www.freewebhostingarea.com
http://x10hosting.com (muy bueno, pero estrictos en contenido)
SVN
http://www.projectlocker.com (5 Proyectos x 100Mb)
mejor visitar http://www.svnhostingcomparison.com/
Thursday, February 04, 2010
Salesforce AJAX API
Queries personalizados con JavaScript en Salesforce
http://www.salesforce.com/us/developer/docs/ajax/Content/sforce_api_ajax_more_samples.htm
Tuesday, February 02, 2010
JavaScript Evaluador de Código
IE Web Developer
http://www.taringa.net/posts/downloads/1796691/El-firebug-definitivo-para-Internet-Explorer-IE-WebDeveloper.html
Firebug para IE
http://getfirebug.com/lite
IE Tester
http://www.my-debugbar.com/wiki/IETester/HomePage
Companion.JS
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
Instalación
http://www.anieto2k.com/2007/10/18/companionjs-el-firebug-de-internet-explorer/
Examinando URLs con Google
site:jincahuanaco.awardspace.info
cache:jincahuanaco.awardspace.info
filetype:extension
Monday, February 01, 2010
Sunday, January 31, 2010
Utilitarios de rastreo
robots.txt sobre Google
El estándar de la metaetiqueta "no index" se describe en http://www.robotstxt.org/meta.html. Este método es útil si no tiene acceso al directorio raíz del servidor, ya que le permite controlar el acceso a su sitio web página por página.
Para evitar que cualquier robot indexe una determinada página de su sitio, deberá insertar la metaetiqueta que le indicamos a continuación en la sección <head&rt; de su página:
<meta name="robots" content="noindex">
Para que todos los robots, excepto los de Google, indexen una página determinada de su sitio:
<meta name="googlebot" content="noindex">
Si Google detecta una metaetiqueta "noindex" en una página, elimina la página por completo de los resultados de búsqueda, incluso en el caso de que otras páginas enlacen con ella. Sin embargo, otros motores de búsqueda pueden interpretar esta directiva de forma distinta. Como consecuencia, es posible que todavía aparezca un enlace en sus resultados de búsqueda.
Tenga en cuenta que debido a que tenemos que rastrear la página para ver la etiqueta "noindex", existe una pequeña posibilidad de que Googlebot no vea y respete la metaetiqueta. Si su página sigue apareciendo en los resultados, probablemente se debe a que no hemos rastreado su sitio desde que añadió la etiqueta. (Igualmente, si ha utilizado el archivo robots.txt para bloquear la página, tampoco podremos ver la etiqueta).
Si el contenido se encuentra en nuestro índice, lo eliminaremos cuando finalice el próximo rastreo del mismo. Para acelerar el proceso, utilice la herramienta de solicitud de eliminación de URL incluida en las Herramientas para webmasters de Google.
Saturday, January 30, 2010
Antenas & Wireless
http://hwagm.elhacker.net/htm/galeriaconectores.htm
Todo sobre antenas caseras
http://www.paramowifix.net/antenas/EnlacesAntenas.html
Modificación de Laptops para Wifi
http://hwagm.elhacker.net/calculo/galeria-phreackgsm.htm
Antenas parabolicas para Wifi
http://www.ea1uro.com/woktenna/Woktenna.htm
Galeria de Antenas caseras(Excelente)
http://antenasmontemariapucon.blogspot.com/2008/04/antenas-caseras.html
mas caseras
http://www.gratis-tutoriales.com.ar/antenas-wifi-caseras
Omnidireccinal
http://tomaspizarroilaed.blogspot.com/2007/11/antena-casera-fcil-de-24-ghz.html
Abriendo una Bicuad original
http://www.zero13wireless.net/foro/showthread.php?269-Antena-Panel-Interline-Biquad-8-dBi-s-al-Descubierto-!!
Placa impresa par panel 12dbi
http://www.taringa.net/posts/info/4122680/fabrica-tu-propia-antena-panel-de-14-dbi.html
http://www.taringa.net/posts/info/4041460/antena-wifi-panel-de-14-dbi-by--tutodarck.html
Thursday, January 28, 2010
Generadores de Codigo y COmponentes ASP.NET
http://www.sg.com.mx/guia/node/618
Wiki en ASP.NET
http://www.screwturn.eu/MainPage.ashx?From=Wiki
ASP.NET COmponentes, Herramientas
http://www.sg.com.mx/guia/category/keywords/aspnet
FORM BUILDER:
http://www.solotuweb.com/fs~id~1304.html
MyGeneration
http://sourceforge.net/projects/mygeneration/files/
http://ajgenesisstudio.codeplex.com/
http://ajgenesis.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=7262
Code Generation
http://davidhayden.com/blog/dave/category/15.aspx
Tuesday, January 26, 2010
Scripts Java & jQuery
====================
setInterval("reloj()",1000);
function reloj() {
var fObj = new Date() ;
var horas = fObj.getHours() ;
var minutos = fObj.getMinutes() ;
var segundos = fObj.getSeconds() ;
if (horas <= 9) horas = "0" + horas; if (minutos <= 9) minutos = "0" + minutos; if (segundos <= 9) segundos = "0" + segundos; window.status = horas+":"+minutos+":"+segundos; } setTimeout("document.location.href='http://www.google.es';",5000); //5seg. setInterval("reloj()",1000); setTimeout("clearInterval("+id+")",15000); setTimeout("clearInterval('reloj')",15000); Work with IFrame ============= < id="'iFrame'" onload="'onIFrameLoad();'">
$("iFrame").src = "sumGet.phtml?figure1=5&figure2=1";
function onIFrameLoad()
{
var serverResponse = extractIFrameBody($("iFrame")).innerHTML;
$("response").innerHTML = serverResponse;
}
var iFrameBody = extractIFrameBody($("iFrame"));
iFrameBody.innerHTML =
"<form action="'sumPostForm.phtml'" method="'POST'">" +
"<input name="'figure1'" value="'5'" type="'text'">" +
"<input name="'figure2'" value="'2'" type="'text'">" +
"</form>";
var form = iFrameBody.firstChild;
form.submit();
var iFrameBody = document.getElementById("iFrame").contentWindow.document.body;
iFrameBody.innerHTML = "whatever html code you want";
#iFrame {
display : none;
visibility : hidden;
height : 1px;
}
reset all styles margin & padding
* {
margin: 0;
padding: 0;
}
* { margin:0; padding:0; }
body {
line-height: 1;
color: black;
background: white;
}
p { margin:5px 0 10px 0; }
}
body {
line-height: 1;
color: #996633
background:#ccc url(your-tiled-image.gif) repeat-x top left;
}
referencias:
http://ideamill.synaptrixgroup.com/?p=6
http://www.dyn-web.com/tutorials/iframes/
http://stackoverflow.com/questions/997986/write-elements-into-a-child-iframe-using-javascript-or-jquery
Upload
http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=280
http://www.codeweblog.com/upload-file-false-ajax/
http://css.dzone.com/news/upload-files-like-gmail-client
Saturday, January 23, 2010
Instalar Camara de Vigilancia
http://foro.meteored.com/fotografia/fotografia+automatica-t77979.0.html
Proteger Camara web para exterior
http://www.meteored.com/ram/2225/cmo-construir-un-protector-para-una-cmara-webcam-de-exterior-de-bajo-coste/
Monday, January 11, 2010
Recursos Web
http://www.xthedaniex.com/
Cine gratis
http://www.cinegratis24h.com/2010/01/sherlock-holmes-2009.html
Thursday, January 07, 2010
Información de IP
http://whois.domaintools.com/
domain to ip
http://www.localizarip.com/
DNS
http://www.adslayuda.com/modulo-FSDns.html
http://www.adslzone.net/dns.html
Proxies
http://www.samair.ru/proxy/time-01.htm
Información completa (Ip/Dns/Proveedor/...)
http://network-tools.com
Routers Herramientas
http://www.elifulkerson.com/articles/net-snmp-windows-binary-unofficial.php
MD5 Crack
http://www.dragonjar.org/como-recuperar-una-clave-en-md5.xhtml
Default Password List
http://www.phenoelit-us.org/dpl/dpl.html
Wednesday, January 06, 2010
Tuesday, January 05, 2010
Comandos Frecuentes
$ uname -r
2.6.17.13-smp
¿Qué versión de X tengo instalada?
$ X -version 2>&1 | sed '/^$/d' | head -n1
X Window System Version 6.9.0
¿Tengo aceleración por hardware en mi placa de video?
$ glxinfo | grep "direct rendering"
direct rendering: Yes
¿Qué procesador(es) tiene mi compu?
$cat /proc/cpuinfo | grep "model name"
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
¿Cuál es la frecuencia del(los) procesador(es)?
$ cat /proc/cpuinfo | grep "cpu MHz"
cpu MHz : 3000.586
cpu MHz : 3000.586
¿Que porcentaje del disco(s) esta usado/libre?
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 10G 6.5G 3.5G 65% /
/dev/sda2 10G 4.9G 5.2G 49% /home
¿Cual es la temperatura del CPU?
$ cat /proc/acpi/thermal_zone/THRM/temperature
temperature: 43 C
¿Cual es el nombre de la maquina?
$ hostname
amd64
¿Cual es la MAC de la placa de red?
$ /sbin/ifconfig | awk '/HWaddr/ {print $5}'
00:XX:XX:XX:XX:XX
¿Cual es el estado de mi memoria RAM?
Total: $ free -m | sed -n '2,2p' | awk '{print $2 " MB"}'
494 MB
Uso: $ free -m | sed -n '3,3p' | awk '{print $3 " MB"}'
297 MB
Libre: $ free -m | sed -n '3,3p' | awk '{print $4 " MB"}'
195 MB
¿Hace cuanto que está encendida la compu?
$ uptime | cut -d, -f1 | cut -d" " -f3-
¿Qué proceso está consumiendo más CPU?
$ ps -eo pcpu,pid,user,args | sort -k1 -r -n | head -2
%CPU PID USER COMMAND
2.1 10346 zarpele /usr/lib/opera/9.27-20080331.6/opera -style Plastik
¿Qué dispositivos tengo en los bus PCI?
$ /sbin/lspci
00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express PCI Express Root Port (rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Express Chipset Family Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
¿Qué dispositivos tengo en los bus USB?
$ /sbin/lsusb
Bus 5 Device 1: ID 0000:0000
Bus 3 Device 1: ID 0000:0000
Bus 2 Device 1: ID 0000:0000
Bus 1 Device 1: ID 0000:0000
Bus 4 Device 2: ID 03f0:1d17 Hewlett-Packard
Bus 4 Device 1: ID 0000:0000
¿Cuál es el nombre de usuario que tengo?
$ whoami
zarpele
¿A que grupos del sistema pertenezco?
$ groups
users floppy audio video cdrom
¿Cuánto espacio de disco usa mi cuenta?
du -sh $HOME
3.6G /home/eternauta
¿Que versión del compilador de C tengo instalado?
$ gcc –version | head -n1
gcc (GCC) 3.4.6
¿Qué librerías utiliza el programa xxx (por ejemplo mplayer)?
$ ldd /usr/bin/mplayer
linux-gate.so.1 => (0xffffe000)
libdvdnav.so.4 => /usr/lib/libdvdnav.so.4 (0xb7ecc000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e9c000)
libmad.so.0 => /usr/lib/libmad.so.0 (0xb7e87000)
libdv.so.4 => /usr/lib/libdv.so.4 (0xb7e5f000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7e31000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e2c000)
libpng.so.3 => /usr/lib/libpng.so.3 (0xb7df1000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7ddf000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7dc2000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7d02000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7cfe000)
libxmms.so.1 => /usr/lib/libxmms.so.1 (0xb7cf1000)
libmpcdec.so.5 => /usr/lib/libmpcdec.so.5 (0xb7ce3000)
Monday, January 04, 2010
Router Zyxel
http://taichi.obolog.com/howto-desbloqueo-zyxel-prestige-p-660hw-t1-v2-92292
http://www.adslayuda.com/Zyxel650.html
GMail en tu dominio
http://www.google.com/apps/intl/es/business/index.html
Tutorial
http://www.galder.net/2007/04/09/gmail-para-tu-dominio/
Acceso @Speedy
INTERNET GRATIS ! Todas las dudas respuesta
http://foro.portalhacker.net/index.php?action=printpage;topic=67438.0
Material de lectura
http://www.elhacker.org/index.php?Ver=Seccion&Id=7
http://www.vilecha.com/Autodidactas/sniffers.html
http://foro.elhacker.net/redes/hackear_el_cablemodem-t78891.0.html
Llamda anonima?
o67xxxxx
Work Passwords
https://www.grc.com/passwords.htm
The Diceware Passphrase Home Page
http://world.std.com/~reinhold/diceware.html
Wireless en Linux & Otros
http://blog.unlugarenelmundo.es/category/networking/wireless/
Sunday, January 03, 2010
Saturday, January 02, 2010
Backtrack a Disco
http://hwagm.elhacker.net/htm/backtrack.htm
Configurar Lilo
#vi /etc/lilo.conf
----------
boot = /dev/hda
prompt
default = BackTrack
timeout = 60
bitmap = /boot/splash.bmp
change-rules
reset
vga = normal
image = /boot/vmlinuz
root = /dev/hda2
label = BackTrack
read-write
other = /dev/hda1
label = WindowsXP
-------
#lilo -v
#lilo
Distros Linux
http://docs.fedoraproject.org/install-guide/f12/es-ES/html/ch-new-users.html#sn-making-media
Friday, January 01, 2010
Wireless ( Drivers )
http://www.intellinuxwireless.org/?n=Downloads
Driver monitor mode for Intel wireless wifi link 4965agn
http://www.intellinuxwireless.org/?p=iwlwifi&n=Downloads
Friday, November 13, 2009
Redes Neuronales
http://dynamicnotions.blogspot.com/2008/11/c-self-organising-map-som.html
http://www.shy.am/2005/12/kohonen-self-organizing-map-demos/
http://www.codeproject.com/KB/recipes/sofm.aspx
http://69.10.233.10/KB/recipes/aforge_neuro.aspx
http://www.heatonresearch.com/encog
http://www.aforgenet.com/framework/downloads.html
Thursday, November 12, 2009
Wednesday, November 11, 2009
Vesicula Biliar
http://www.ecodigest.net/atlas_cap02.php
Limón y propiedades contra calculos vesicuales
http://www.casapia.com/Paginacast/Paginas/Paginasdemenus/MenudeInformaciones/LosAlimentos/ElLimon.htm
Thursday, November 05, 2009
SQL Server 200x Backups Automáticos
=============
1. Activar SQL Server Agent
2. Crear plan de Mantenimiento en el Management Studio(Management/Maintenance Plans)
2.1 Arrastar y editar Back Up Database Task
2.2 Programar la ejecucion en Subplan Schedule(botón)
Otras forma a manera de Script
BACKUP DATABASE [CompelligenceRelease2DB] TO DISK = N'D:\Backup\Fisical\CompelligenceRelease2DB.bak' WITH NOFORMAT, NOINIT, NAME = N'CompelligenceRelease2DB_backup_2009_11_05_104833_3906250', SKIP, REWIND, NOUNLOAD, STATS = 10
Otra form con Script Externo, programar la tarea en Windows
osql -S SERVIDOR\SQLEXPRESS -U usuario -P contraseña -Q "backup
database nombrebd to dispositivobackup"
Tuesday, November 03, 2009
-
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/...
Odoo 17 - Custom adds
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal