Wednesday, June 09, 2010

mySQL Tools

Great administrative/struture of mySql Database and Statistics
http://www.heidisql.com/download.php

Tuesday, June 08, 2010

ASP.NET HttpException: Maximum request length exceeded

Limite por defecto para uploads en Web.Config es 4096 (4 megabytes)

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

Modern Talking

http://www.taringa.net/posts/musica/1518848/Discografia-de-Modern-Talking.html

Monday, May 24, 2010

SyntaxHighlighter on Web & Blogger

1. Download the latest version
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

Encriptar/Desencriptar texto

http://online.arredemo.org/codificar/

Lugares interesantes

Correo anonimo
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

Recovery Password

http://mediakey.dk/~cc/howto-how-to-reset-the-mysql-root-password/

Targetas de crédito

Bancos
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://www.cssplay.co.uk/menus/
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.dynamicdrive.com/dynamicindex16/
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

Erotic pictures gallery

This summary is not available. Please click here to view the post.

Friday, May 14, 2010

Restaurando VS2008

Si perdiste tus templates los puedes restaurar asi

>devenv /ResetSettings
En mi caso fue asi.
>C:\Archivos de programa\Microsoft Visual Studio 9.0\Common7\IDE>devenv /resetset
tings

Ayuda ASP.NET MVC2

http://feeds.feedburner.com/climens_aspnetmvc

NHibernate

NHibernate y localización
http://codelog.climens.net/2010/03/16/nhibernate-y-localizacion/

Thursday, May 13, 2010

jQuery para iframe

http://huuah.com/jquery-and-iframe-manipulation/

Trabajando con Delegados en C#

Codigo 1
==========================================
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");
}

}
}

Wednesday, May 05, 2010

Tuesday, May 04, 2010

C# Report with Images

Show images into reports on C# (ReportViewer)

Mime types

http://www.ltsw.se/knbase/internet/mime.htp

VPN Linux & Windows

Acceso telefonico a redes TELMEX
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

Friday, April 23, 2010

Grids

http://www.hasankoroglu.com/demos/flexigrid/
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

http://www.scribd.com/doc/2621827/Tutorial05api

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

Ringtones alta calidad

http://www.zedge.net/ringtones/3-6-1/

Thursday, April 22, 2010

JavaScript Debug en IE

http://www.my-debugbar.com/wiki/CompanionJS/HomePage

Microondas

http://casaames.com/index2.php?option=com_content&task=view&id=48
http://casaames.com/index2.php?option=com_content&do_pdf=1&id=48

Wednesday, April 21, 2010

Networking Linux

Monitorizar red desde Linux, no necesarimente funciona en debian
http://www.ex-parrot.com/pdw/iftop/

$ sudo iftop -i eth0

Tuesday, April 20, 2010

Drawing

http://www.midtel.net/~imaginee/the_drawing_board.html

Friday, April 16, 2010

Servicio Web

Servicios Web libres en la red
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

Utilidades en la Web

JPG a Texto
http://www.pcworld.com/article/171435-2/19_free_web_services_that_keep_saving_you_money.html

Deploying a Java Web Start Application

http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html

Tuesday, March 30, 2010

Friday, March 26, 2010

Mobile OS and SDKs

http://en.wikipedia.org/wiki/Mobile_operating_system

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

Tuesday, March 09, 2010

Comercio Electrónico (php)

Software para Comercio electrónico en 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://wapupload.filetac.com/
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, February 25, 2010

Reports using Classes

Create and Call a Custom Assembly
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

Thursday, February 11, 2010

Tuesday, February 09, 2010

Sunday, January 31, 2010

Utilitarios de rastreo

http://www.xirrus.com/library/wifitools.php

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.

Thursday, January 28, 2010

Generadores de Codigo y COmponentes ASP.NET

Dot Net Nuke

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

ASP.NET MVC 13 Preguntas

http://www.variablenotfound.com/2009/04/aspnet-mvc-trece-preguntas-basicas.html

Tuesday, January 26, 2010

VB6 Portable

http://www.plunder.com/Visual-Basics-6-Portable-download-69648.htm

Scripts Java & jQuery

Timers
====================



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

Monday, January 11, 2010

Recursos Web

Software
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://www.cuwhois.com/
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

Herramientas para setear Router
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

Tuesday, January 05, 2010

Comandos Frecuentes

¿Qué versión del kernel tengo?
$ 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

Password por defecto
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.galder.net/2007/04/09/gmail-para-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

http://www.forospyware.com/t152259.html

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

Perfect 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

Script

/etc/rc.d/rc.local
En GNU/Linux:
  1. Crear el archivo de comandos o de shell .sh con los comandos deseados
  2. Programar la tarea: Puedes usar y/o combinar los comandos cron, at, crontab

Saturday, January 02, 2010

Backtrack a Disco

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

Fedora: Creacion de USB Live o Live CD
http://docs.fedoraproject.org/install-guide/f12/es-ES/html/ch-new-users.html#sn-making-media

Friday, January 01, 2010

Friday, November 13, 2009

Redes Neuronales

Kohonen maps
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 05, 2009

mySQL Backups Autmatico

SQL Server 200x Backups Automáticos

SQL Server 2008
=============

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"

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com