Tabbed Accounts
http://wiki.developerforce.com/index.php/Tabbed_Accounts_in_30_seconds
Custom button
http://cathylopez.com/2010/02/22/invoke-apex-from-custom-button-using-visualforce-page/
Advanced component
http://www.tehnrd.com/super-cool-advanced-lookup-component/
Redirecting Users to Different Visualforce Pages
http://jeffdonthemic.wordpress.com/2008/11/14/redirecting-users-to-different-visualforce-pages/
Record Type Redirect to VisualForce Page Using Button Override
http://www.forcetips.com/2010/05/record-type-redirect-to-visualforce-page-using-button-override/
Wednesday, September 29, 2010
Friday, September 24, 2010
Windows XP Inicio rápido
Si no se puede restaurar en la barra la sección de inicio rápido, ejecuta las siguientes lineas:
1) Inicio, Ejecutar regsvr32 /i shell32.dll
2) Inicio, Ejecutar regsvr32 /i browseui.dll
Restaurar Mostrar Escritorio
Abrir la carpeta C:\Documents and Settings\[USER]\Datos de programa\Microsoft\Internet Explorer\Quick Launch.
-------------Desktop.scf--------------
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
--------------------------------------
1) Inicio, Ejecutar regsvr32 /i shell32.dll
2) Inicio, Ejecutar regsvr32 /i browseui.dll
Restaurar Mostrar Escritorio
Abrir la carpeta C:\Documents and Settings\[USER]\Datos de programa\Microsoft\Internet Explorer\Quick Launch.
-------------Desktop.scf--------------
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
--------------------------------------
Thursday, September 23, 2010
Wednesday, September 22, 2010
Spring.NET NHibernate Dynamic ConnectionString
Configuration cfg = new
Configuration().Configure("hibernate.cfg.xml");
cfg.SetProperty("connection.connection_string", "Data
Source=MI_BASE;User ID=ID_USUARIO; Password=PASS_USUARIO");
References
[1] The Spring.NET Framework
http://www.springframework.net/doc-latest/reference/html/index.html
[2] http://gist.github.com/432083 (src-best)
[3] Changing your connection string at runtime with Spring.Net (src)
http://blog.bennymichielsen.be/2009/03/24/changing-your-connection-string-at-runtime-with-spring-net/
[4]How to change a connection string at runtime? (src)
http://forum.springframework.net/showthread.php?t=3390&page=3
[5] Authentication, Impersonation, and Dynamic NHibernate Connection Strings
http://jasondentler.com/blog/2009/11/authentication-impersonation-and-dynamic-nhibernate-connection-strings/
[6] Setting and retrieving the database connectionstring in nHibernate
http://codebetter.com/blogs/peter.van.ooijen/archive/2008/03/07/setting-and-retrieving-the-database-connectionstring-in-nhibernate.aspx
Configuration().Configure("hibernate.cfg.xml");
cfg.SetProperty("connection.connection_string", "Data
Source=MI_BASE;User ID=ID_USUARIO; Password=PASS_USUARIO");
References
[1] The Spring.NET Framework
http://www.springframework.net/doc-latest/reference/html/index.html
[2] http://gist.github.com/432083 (src-best)
[3] Changing your connection string at runtime with Spring.Net (src)
http://blog.bennymichielsen.be/2009/03/24/changing-your-connection-string-at-runtime-with-spring-net/
[4]How to change a connection string at runtime? (src)
http://forum.springframework.net/showthread.php?t=3390&page=3
[5] Authentication, Impersonation, and Dynamic NHibernate Connection Strings
http://jasondentler.com/blog/2009/11/authentication-impersonation-and-dynamic-nhibernate-connection-strings/
[6] Setting and retrieving the database connectionstring in nHibernate
http://codebetter.com/blogs/peter.van.ooijen/archive/2008/03/07/setting-and-retrieving-the-database-connectionstring-in-nhibernate.aspx
Monday, September 20, 2010
CMS Drupal Themes (Temas)
theme developer module for drupal
http://drupal.org/node/209561
Make drupal them step by step
http://www.inmensia.com/articulos/drupal/temas.html
http://drupal.org/node/209561
Make drupal them step by step
http://www.inmensia.com/articulos/drupal/temas.html
Friday, September 17, 2010
Wednesday, September 15, 2010
Sunday, September 12, 2010
VB6 C#.NET Interop
[1] Using .NET Controls in VB6 http://www.codeproject.com/KB/vb-interop/UsingDotNETControlsInVB6.aspx
[2] Interop Forms Toolkit 2.0 Tutorial http://www.codeproject.com/KB/vb-interop/VB6InteropToolkit2.aspx
[3] InteropForms ToolKit - Visual Studio 2008 http://blogs.msdn.com/b/vbteam/archive/2008/03/05/interopforms-toolkit-visual-studio-2008-edition.aspx
[2] Interop Forms Toolkit 2.0 Tutorial http://www.codeproject.com/KB/vb-interop/VB6InteropToolkit2.aspx
[3] InteropForms ToolKit - Visual Studio 2008 http://blogs.msdn.com/b/vbteam/archive/2008/03/05/interopforms-toolkit-visual-studio-2008-edition.aspx
Thursday, September 09, 2010
Funny links
http://www.pixyard.com/_Huge_dogs
http://smilepanic.com/funny-animals-8#67
http://www.weirdexistence.com/very-attractive-female-cartoons/
Hello World
http://artsyspot.com/hello-world/
http://www.funfani.com
http://www.weirdexistence.com/very-naughty-animals/
Bichos pelo mundo
http://g1.globo.com/mundo/fotos/2010/04/bichos-pelo-mundo.html
http://smilepanic.com/funny-animals-8#67
http://www.weirdexistence.com/very-attractive-female-cartoons/
Hello World
http://artsyspot.com/hello-world/
http://www.funfani.com
http://www.weirdexistence.com/very-naughty-animals/
Bichos pelo mundo
http://g1.globo.com/mundo/fotos/2010/04/bichos-pelo-mundo.html
ReportViewer with ASP.NET/ASP.NET MVC in Local Mode
Source code of original tutorial How to create local reports RDLC featuring barcode images in ASP.NET[0] on [1].
And adapted for ASP.NET MVC on [2]
Reference
[0] http://neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=1&sid=66#2
[1] ReportViewer ASP.NET Sample Local mode http://www.megaupload.com/?d=RMP2MMI1
[2] ReportViewer ASP.NET MVC Sample Local mode http://www.megaupload.com/?d=U4SCTYDG
[3]Understanding ASP.NET View State http://msdn.microsoft.com/en-us/library/ms972976.aspx
[4] Creating Charts Using Aspnet ReportViewer Control http://www.highoncoding.com/Articles/339_Creating_Charts_Using_Aspnet_ReportViewer_Control.aspx
[5] Microsoft Report Viewer Redistributable 2008 http://www.microsoft.com/downloads/en/details.aspx?familyid=cc96c246-61e5-4d9e-bb5f-416d75a1b9ef&displaylang=en
[6] Leveraging the ASP.NET ReportViewer Control http://www.devproconnections.com/article/aspnet2/leveraging-the-asp-net-reportviewer-control.aspx
And adapted for ASP.NET MVC on [2]
Reference
[0] http://neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=1&sid=66#2
[1] ReportViewer ASP.NET Sample Local mode http://www.megaupload.com/?d=RMP2MMI1
[2] ReportViewer ASP.NET MVC Sample Local mode http://www.megaupload.com/?d=U4SCTYDG
[3]Understanding ASP.NET View State http://msdn.microsoft.com/en-us/library/ms972976.aspx
[4] Creating Charts Using Aspnet ReportViewer Control http://www.highoncoding.com/Articles/339_Creating_Charts_Using_Aspnet_ReportViewer_Control.aspx
[5] Microsoft Report Viewer Redistributable 2008 http://www.microsoft.com/downloads/en/details.aspx?familyid=cc96c246-61e5-4d9e-bb5f-416d75a1b9ef&displaylang=en
[6] Leveraging the ASP.NET ReportViewer Control http://www.devproconnections.com/article/aspnet2/leveraging-the-asp-net-reportviewer-control.aspx
Wednesday, September 08, 2010
Salesforce tips
Colors
http://www.interactiveties.com/b_custom_colors.php
Resume
http://www.scribd.com/doc/37003218/Force-com-fundamentals
Rally Support
https://docs.rallydev.com/rsm/setup.pdf
Creating web tab
http://tttest.nfshost.com/screensteps/Creating_a_Web_Tab_in_Salesforce_for_Training_Content.html
User experience
http://www.nimbleuser.com/blogs/Knowledge_Base/knowledge_base/Salesforce_com_User_Experience_%E2%80%93_How_Low%E2%80%A6_I_mean_Granular,_can_you_go_.aspx
http://www.visokio.com/installed-salesforce-tab
Send SMS from salesforce
http://www.clintslee.com/2010/07/19/send-sms-from-salesforce-build-your-own/
Traveling Salesman: Using Google Data on Salesforce.com
http://code.google.com/apis/gdata/articles/salesforce.html
Tutorial: SalesForce.com Integration (Surveygizmo)
http://www.surveygizmo.com/survey-support/tutorials/salesforce-integration/
http://www.interactiveties.com/b_custom_colors.php
Resume
http://www.scribd.com/doc/37003218/Force-com-fundamentals
Rally Support
https://docs.rallydev.com/rsm/setup.pdf
Creating web tab
http://tttest.nfshost.com/screensteps/Creating_a_Web_Tab_in_Salesforce_for_Training_Content.html
User experience
http://www.nimbleuser.com/blogs/Knowledge_Base/knowledge_base/Salesforce_com_User_Experience_%E2%80%93_How_Low%E2%80%A6_I_mean_Granular,_can_you_go_.aspx
http://www.visokio.com/installed-salesforce-tab
Send SMS from salesforce
http://www.clintslee.com/2010/07/19/send-sms-from-salesforce-build-your-own/
Traveling Salesman: Using Google Data on Salesforce.com
http://code.google.com/apis/gdata/articles/salesforce.html
Tutorial: SalesForce.com Integration (Surveygizmo)
http://www.surveygizmo.com/survey-support/tutorials/salesforce-integration/
Tuesday, September 07, 2010
Wireless tools
MicroAlcarria (distance/distancia)
http://www.microalcarria.com/miscelanea/distancia_antenas.php
http://www.paramowifix.net/antenas/calculoenlacewlan.html
http://www.microalcarria.com/miscelanea/distancia_antenas.php
http://www.paramowifix.net/antenas/calculoenlacewlan.html
Thursday, September 02, 2010
Flash tools freeware
Slides/Media Slide Show
http://www.flashxml.net/
mp3 player
http://www.colewebs.org/spip.php?article24
Flash Animations with XML
http://www.flashcomponents.net/components/free_flash_files.html
http://www.flashxml.net/
mp3 player
http://www.colewebs.org/spip.php?article24
Flash Animations with XML
http://www.flashcomponents.net/components/free_flash_files.html
Wednesday, September 01, 2010
Snapshot of website, Webshot, WebCapture
online (not full height)
http://webthumb.bluga.net/home
desktop (full height/Best for me)
http://www.websitescreenshots.com/
Firefox addon (Screengrab)
https://addons.mozilla.org/es-ES/firefox/addon/1146/
http://webthumb.bluga.net/home
desktop (full height/Best for me)
http://www.websitescreenshots.com/
Firefox addon (Screengrab)
https://addons.mozilla.org/es-ES/firefox/addon/1146/
Tuesday, August 31, 2010
Php Cms Resources
CMS without database
1) http://get-simple.info/download/ (best for me)
Themes http://get-simple.info/extend/all_themes.php
2) Cms from Scratch http://cmsfromscratch.com/user-guide/
https://code.google.com/archive/p/cmsfromscratch/downloads (2nd)
CMS with database
1) Drupal http://drupal.org/project
1.1) Languaje http://localize.drupal.org/translate/languages
CMS Related Resources
[1]CMS without database
http://www.makeuseof.com/tag/gpeasy-simple-cms-no-database/
http://forums.digitalpoint.com/showthread.php?t=1073287
[2] Build your CMS http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/
Plugins
[3] Rich text editor http://ckeditor.com/download
More resources:
https://www.cmscritic.com/top-10-simple-cms/
1) http://get-simple.info/download/ (best for me)
Themes http://get-simple.info/extend/all_themes.php
2) Cms from Scratch http://cmsfromscratch.com/user-guide/
https://code.google.com/archive/p/cmsfromscratch/downloads (2nd)
CMS with database
1) Drupal http://drupal.org/project
1.1) Languaje http://localize.drupal.org/translate/languages
CMS Related Resources
[1]CMS without database
http://www.makeuseof.com/tag/gpeasy-simple-cms-no-database/
http://forums.digitalpoint.com/showthread.php?t=1073287
[2] Build your CMS http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/
Plugins
[3] Rich text editor http://ckeditor.com/download
More resources:
https://www.cmscritic.com/top-10-simple-cms/
Windows XP/Linux Boot Desde USB
Windows XP USB Portable
Fué creado con el PE-Builder, ocupa ~ 150 megabytes
Secuencia:
- Seleccionar como opción de booteo el dispositivo USB.
- Descargar paquete [2],[3],[4]
- Formatear USB/Pendrive con HP USB Disk Storage format Tool(HPUSBFW.EXE) en FAT
- Copiar todos los archivos a nuestro pendrive
- Reiniciar
Linux USB Portable
Secuencia:
- Descargar http://unetbootin.sourceforge.net/ (Win/Linux)
- Ejecutar UNetbootin con opción Disk image para copiar .ISO al USB
- Ejecutar bootinst.bat/bootinst.sh según donde lo estes creando
Crear instalador Windows XP/Vista/7 Desde USB
WinToFlash[1] inicia un asistente que te ayudará a extraer el contenido de una ventana de instalación de CD o DVD y lo transfiere a una unidad USB para convertirse en un sustituto de arranque para la unidad óptica.
Referencias:
[1]http://wintoflash.com/download/es/
[2] http://rapidshare.com/files/79488093/WinXP-USB-www.DraxOfAvalon.com.rar
[3]http://www.x-caleta.com/software/20557-windows-xp-usb-portable-espasol.html
[4] http://rapidshare.com/files/137088930/Windows_XP_USB_Flash_Vagoneta_Edition.rar
Usar PeToUSB.exe, Quick format, Enable File Copy.
Fué creado con el PE-Builder, ocupa ~ 150 megabytes
Secuencia:
- Seleccionar como opción de booteo el dispositivo USB.
- Descargar paquete [2],[3],[4]
- Formatear USB/Pendrive con HP USB Disk Storage format Tool(HPUSBFW.EXE) en FAT
- Copiar todos los archivos a nuestro pendrive
- Reiniciar
Linux USB Portable
Secuencia:
- Descargar http://unetbootin.sourceforge.net/ (Win/Linux)
- Ejecutar UNetbootin con opción Disk image para copiar .ISO al USB
- Ejecutar bootinst.bat/bootinst.sh según donde lo estes creando
Crear instalador Windows XP/Vista/7 Desde USB
WinToFlash[1] inicia un asistente que te ayudará a extraer el contenido de una ventana de instalación de CD o DVD y lo transfiere a una unidad USB para convertirse en un sustituto de arranque para la unidad óptica.
Referencias:
[1]http://wintoflash.com/download/es/
[2] http://rapidshare.com/files/79488093/WinXP-USB-www.DraxOfAvalon.com.rar
[3]http://www.x-caleta.com/software/20557-windows-xp-usb-portable-espasol.html
[4] http://rapidshare.com/files/137088930/Windows_XP_USB_Flash_Vagoneta_Edition.rar
Usar PeToUSB.exe, Quick format, Enable File Copy.
Monday, August 30, 2010
Friday, August 27, 2010
Salesforce apps/addons
Add google maps to salesforce account
http://salesforce.phollaio.com/
http://salesforce.phollaio.com/2008/04/23/inline_google_maps/
http://salesforce.phollaio.com/
http://salesforce.phollaio.com/2008/04/23/inline_google_maps/
Thursday, August 26, 2010
Friday, August 20, 2010
Cross-Domain & jsonp (java struts, php, asp.net mvc, otros )
Cross-Domain Proxy
En el caso de Ajax, por seguridad sólo se permite acceder al mismo dominio origen de la página web que realiza la petición. Si se necesita acceder a otros servicios localizados en otros dominios, se instala un Cross-Domain proxy en el dominio origen que recibe las peticiones ajax y las reenvia a los dominios externos.
Con jsonp es posible la llamada cross-domain, debido a que no es una llamada ajax sino una carga de un script js completo que lanza una función que definimos en la url y que actúa como callback.
Mientras que por motivos de seguridad es lógico que Ajax no funcione en dominios distintos al que lanza la web; con esta técnica JSON con Padding se genera un archivo JSON dinámicamente dejandolo abierto en el script que lo crea. Una variable que podemos definir nosotros mismos en la url será colocada antes del objeto Json, así al crear el script Json decidimos que variable "callback" usar.
Referencias
[1] jQuery y Strust
http://blog.pontt.com/json-con-java/generar-respuesta-en-java-struts-para-getjson-de-jquery/
[2] jQuery y php http://www.9lessons.info/2009/12/display-cross-domain-data-json-callback.html
[3] jQuery y Asp.Net Mvc (cross-domain JSON to ASP.NET MVC with jQuery)
http://www.integratedwebsystems.com/2010/07/cross-domain-jsonp-using-asp-net-mvc-and-jquery/
[4] cross-domain JSON to ASP.NET MVC with jQuery II
http://stackoverflow.com/questions/2022878/posting-cross-domain-json-to-asp-net-with-jquery
[5] Genericos(muy buenos)
http://www.ibm.com/developerworks/library/wa-aj-jsonp1/
http://ox.no/posts/ajast-cross-domain-rest-calls-using-json-injection
[6] Json to JsonP (easy)
http://www.codeproject.com/KB/aspnet/JSONToJSONP.aspx
http://www.codedigest.com/Articles/jQuery/310_Calling_a_WebService_using_jQuery_in_ASPNet.aspx
[7] Cross-site data retrieval using JSONP http://www.stpe.se/2008/10/cross-site-data-retrieval-using-jsonp/
En el caso de Ajax, por seguridad sólo se permite acceder al mismo dominio origen de la página web que realiza la petición. Si se necesita acceder a otros servicios localizados en otros dominios, se instala un Cross-Domain proxy en el dominio origen que recibe las peticiones ajax y las reenvia a los dominios externos.
Con jsonp es posible la llamada cross-domain, debido a que no es una llamada ajax sino una carga de un script js completo que lanza una función que definimos en la url y que actúa como callback.
Mientras que por motivos de seguridad es lógico que Ajax no funcione en dominios distintos al que lanza la web; con esta técnica JSON con Padding se genera un archivo JSON dinámicamente dejandolo abierto en el script que lo crea. Una variable que podemos definir nosotros mismos en la url será colocada antes del objeto Json, así al crear el script Json decidimos que variable "callback" usar.
Referencias
[1] jQuery y Strust
http://blog.pontt.com/json-con-java/generar-respuesta-en-java-struts-para-getjson-de-jquery/
[2] jQuery y php http://www.9lessons.info/2009/12/display-cross-domain-data-json-callback.html
[3] jQuery y Asp.Net Mvc (cross-domain JSON to ASP.NET MVC with jQuery)
http://www.integratedwebsystems.com/2010/07/cross-domain-jsonp-using-asp-net-mvc-and-jquery/
[4] cross-domain JSON to ASP.NET MVC with jQuery II
http://stackoverflow.com/questions/2022878/posting-cross-domain-json-to-asp-net-with-jquery
[5] Genericos(muy buenos)
http://www.ibm.com/developerworks/library/wa-aj-jsonp1/
http://ox.no/posts/ajast-cross-domain-rest-calls-using-json-injection
[6] Json to JsonP (easy)
http://www.codeproject.com/KB/aspnet/JSONToJSONP.aspx
http://www.codedigest.com/Articles/jQuery/310_Calling_a_WebService_using_jQuery_in_ASPNet.aspx
[7] Cross-site data retrieval using JSONP http://www.stpe.se/2008/10/cross-site-data-retrieval-using-jsonp/
Labels:
ASP.NET MVC,
jQuery,
Web.Developer
Friday, August 13, 2010
Thursday, August 12, 2010
Traductores offline pdf
Systran Premium Translator 6.0(52 idiomas, traduce archivos pdf)
http://www.megaupload.com/?d=ZZGWBBP1
http://www.megaupload.com/?d=A0L0AB3P
http://www.megaupload.com/?d=JYZ034B0
http://www.megaupload.com/?d=ZC9SC0MQ
http://www.megaupload.com/?d=BK06MWND
http://www.megaupload.com/?d=G6A68ZUY
http://www.megaupload.com/?d=UDPG3S6P
http://www.megaupload.com/?d=2GCNMLO7
http://www.megaupload.com/?d=C7SY8H9T
http://www.megaupload.com/?d=P8RJ2OKX
http://www.megaupload.com/?d=X5IXRC3M
http://www.megaupload.com/?d=ZZGWBBP1
http://www.megaupload.com/?d=A0L0AB3P
http://www.megaupload.com/?d=JYZ034B0
http://www.megaupload.com/?d=ZC9SC0MQ
http://www.megaupload.com/?d=BK06MWND
http://www.megaupload.com/?d=G6A68ZUY
http://www.megaupload.com/?d=UDPG3S6P
http://www.megaupload.com/?d=2GCNMLO7
http://www.megaupload.com/?d=C7SY8H9T
http://www.megaupload.com/?d=P8RJ2OKX
http://www.megaupload.com/?d=X5IXRC3M
Friday, August 06, 2010
Event Scheduler - Cron Tables (Crontab) in Suse-openSUSE
Cron is the Unix/Linux event scheduler.
Features:
Execute on background: Cron is the daemon to execute scheduled commands. It's actions are determined by a Cron Table or "crontab".
Who Can Access Cron Tables: There are two files these are /etc/cron.allow and /etc/cron.deny.
A Look at a Cron Table Entry:
* * * * * cp /home/myname/source/* /home/myname/destination (execute every minutes)
The Timing String:
Minutes: 0 -> 59
Hours: 0 -> 23
Days of month:1 -> 31
Months: 1 -> 12 or jan -> dec
Days of week: 0 -> 7 or sun -> sun
15 6 * * * mpg123 /home/myname/Music/"When She's Gone.mp3" (play mp3 at 6.15 a.m every days)
Editing the Cron Table: crontab -e
Viewing and Purging Cron Jobs: crontab -l
Remove all your cron tasks you issue this command: crontab -r
References:
http://www.linuxtotal.com.mx/index.php?cont=info_admon_006
http://www.nagios.org/documentation
Features:
Execute on background: Cron is the daemon to execute scheduled commands. It's actions are determined by a Cron Table or "crontab".
Who Can Access Cron Tables: There are two files these are /etc/cron.allow and /etc/cron.deny.
A Look at a Cron Table Entry:
* * * * * cp /home/myname/source/* /home/myname/destination (execute every minutes)
The Timing String:
Minutes: 0 -> 59
Hours: 0 -> 23
Days of month:1 -> 31
Months: 1 -> 12 or jan -> dec
Days of week: 0 -> 7 or sun -> sun
15 6 * * * mpg123 /home/myname/Music/"When She's Gone.mp3" (play mp3 at 6.15 a.m every days)
Editing the Cron Table: crontab -e
Viewing and Purging Cron Jobs: crontab -l
Remove all your cron tasks you issue this command: crontab -r
References:
http://www.linuxtotal.com.mx/index.php?cont=info_admon_006
http://www.nagios.org/documentation
Thursday, August 05, 2010
Wednesday, August 04, 2010
Universal Share Downloader
Universal Share Downloader, gestor de descarga muy popular para megaupload, rapidshare entre otros,mas detalle
Descarga:
http://www.megaupload.com/?d=TI97MKXR
Descarga:
http://www.megaupload.com/?d=TI97MKXR
Thursday, July 29, 2010
Instalar conexión a escritorio remoto (Remote Desktop Connection)
Generalmente se encuentra en Inicio/Programas/Accesorios/Comunicaciones; sino extuviere entonces deemos buscarlo el ejecutable es mstsc.exe
Sino estuviera en disco entonces procedemos a instalar la aplicación siguiendo las referencias debajo.
Referencias:
Windows XP Remote Desktop Connection software
http://www.microsoft.com/windowsxp/downloads/tools/rdclientdl.mspx
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=80111f21-d48d-426e-96c2-08aa2bd23a49&displayLang=en
Sino estuviera en disco entonces procedemos a instalar la aplicación siguiendo las referencias debajo.
Referencias:
Windows XP Remote Desktop Connection software
http://www.microsoft.com/windowsxp/downloads/tools/rdclientdl.mspx
http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=80111f21-d48d-426e-96c2-08aa2bd23a49&displayLang=en
Monday, July 26, 2010
Traducir pdf en linea ( Translate pdf file online)
Paso 1:
Click en el siguiente link http://viewer.zoho.com/home.do
Paso 2: Click en Browse/Explorar y seleccionar el fichero
Paso 3: Una vez seleccinado el archivo, click en View/Ver
Zobyhost cargará el archivo y luego en la barra de direcciones debe aparecer algo como lo siguiente http://viewer.zoho.com/docs/vyAdi.
seleccionar la direccion y copiar(click en la dirección+click derecho luego opción copiar)
Paso 4: Click en la siguiente dirección http://www.google.com.pe/language_tools?hl=es
Paso 5: En el casillero que titula "traducir una pagina web" borrar el contenido y click derecho luego opción pegar.
Paso 6: Finalmente click en translate/traducir
Click en el siguiente link http://viewer.zoho.com/home.do
Paso 2: Click en Browse/Explorar y seleccionar el fichero
Paso 3: Una vez seleccinado el archivo, click en View/Ver
Zobyhost cargará el archivo y luego en la barra de direcciones debe aparecer algo como lo siguiente http://viewer.zoho.com/docs/vyAdi.
seleccionar la direccion y copiar(click en la dirección+click derecho luego opción copiar)
Paso 4: Click en la siguiente dirección http://www.google.com.pe/language_tools?hl=es
Paso 5: En el casillero que titula "traducir una pagina web" borrar el contenido y click derecho luego opción pegar.
Paso 6: Finalmente click en translate/traducir
Friday, July 16, 2010
Thursday, July 15, 2010
Winamp Gracenote tools not installed?
The MusicID libraries aren't installed on Winamp Lite, only for Full version.
First:
Download dll files
Second:
Register dll files
regsvr32 "C:\Archivos de programa\Winamp\Plugins\Gracenote\CddbMusicIDWinamp.dll"
regsvr32 "C:\Archivos de programa\Winamp\Plugins\Gracenote\cddbcontrolwinamp.dll"
Resources:
dll files http://www.megaupload.com/?d=EQOWXQPC
First:
Download dll files
Second:
Register dll files
regsvr32 "C:\Archivos de programa\Winamp\Plugins\Gracenote\CddbMusicIDWinamp.dll"
regsvr32 "C:\Archivos de programa\Winamp\Plugins\Gracenote\cddbcontrolwinamp.dll"
Resources:
dll files http://www.megaupload.com/?d=EQOWXQPC
Monday, July 12, 2010
Power Line Communication (Dispositivos)
Power Line Communication
http://listado.mercadolibre.com.pe/Adaptador-Plc-Ethernet
http://listado.mercadolibre.com.pe/Adaptador-Plc-Ethernet
Mikrotik
Software
http://www.taringa.net/posts/downloads/1679987/Mikrotik-firmware-3_2.html
Tutoriales
http://mum.mikrotik.com/presentations/AR09/Rediamerica.pdf
http://wiki.mikrotik.com/wiki/Dude_usage_notes
http://www.taringa.net/posts/downloads/1679987/Mikrotik-firmware-3_2.html
Tutoriales
http://mum.mikrotik.com/presentations/AR09/Rediamerica.pdf
http://wiki.mikrotik.com/wiki/Dude_usage_notes
Friday, July 09, 2010
Violentar Windows XP SP2
1. Inicio, Ejecutar, regedit
2. Localizar HKEY_LOCAL_MACHINE/Sofware/Microsoft/Windows NT/CUrrentVersion/WPAEvents
3. Editar, eliminar 'fd'
4. Cerrar regedit.
5. Inicio, Ejecutar, oobe/msoobe /a
6. Seleccionar cambiar la clave del producto y luego método del telefono.
7. Introducir clave valida por ejmplo: GDFJC-Y292J-R332C-MXRDX-XT6GY
8. Aceptar y reiniciar
9. Inicio, Ejecutar, oobe/msoobe /a
10. Eres un delincuente informático mas
Eliminar ampay de copia pirata(estrellita) via script
----------------------VilentarXpSp2-2.cmd-------------------------------------
taskkill /im wgatray.exe
Del c:\Windows\System32\WgaTray.exe
Del c:\Windows\System32\dllcache\WgaTray.exe
echo Windows Registry Editor Version 5.00 >%temp%\WGANFIX.REG
echo. >>%temp%\WGANFIX.REG
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon] >>%temp%\WGANFIX.REG
regedit /s %temp%\WGANFIX.REG
del %temp%\WGANFIX.REG
del c:\windows\system32\wgalogon.dll
del c:\windows\system32\dllcache\wgalogon.dll
Windows 10 - Jun-2018
QJNXR-YD97Q-K7WH4-RYWQ8-6MT6Y
2. Localizar HKEY_LOCAL_MACHINE/Sofware/Microsoft/Windows NT/CUrrentVersion/WPAEvents
3. Editar, eliminar 'fd'
4. Cerrar regedit.
5. Inicio, Ejecutar, oobe/msoobe /a
6. Seleccionar cambiar la clave del producto y luego método del telefono.
7. Introducir clave valida por ejmplo: GDFJC-Y292J-R332C-MXRDX-XT6GY
8. Aceptar y reiniciar
9. Inicio, Ejecutar, oobe/msoobe /a
10. Eres un delincuente informático mas
Eliminar ampay de copia pirata(estrellita) via script
----------------------VilentarXpSp2-2.cmd-------------------------------------
taskkill /im wgatray.exe
Del c:\Windows\System32\WgaTray.exe
Del c:\Windows\System32\dllcache\WgaTray.exe
echo Windows Registry Editor Version 5.00 >%temp%\WGANFIX.REG
echo. >>%temp%\WGANFIX.REG
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon] >>%temp%\WGANFIX.REG
regedit /s %temp%\WGANFIX.REG
del %temp%\WGANFIX.REG
del c:\windows\system32\wgalogon.dll
del c:\windows\system32\dllcache\wgalogon.dll
Windows 10 - Jun-2018
QJNXR-YD97Q-K7WH4-RYWQ8-6MT6Y
Tuesday, July 06, 2010
Configuración conector DB15 para Monitor LG 500G
No siempre todos los fabricantes siguen el standard, asi q despues de 8hr de jugar con el cautil logré encontrar esta configuración.
Rosado (en el tuyo rojo) = pin 1
Verde = pin 2
Azul = pin 3
Tierra = pin 4
Negro delgado = pin 5
Tierra = pin 6
Morado = pin 9
Tierra = pin 11 (este es el que va al zocalo)
Anaranjado = pin 12
Transparenete/Gris = pin 13
Amarillo = pin 14
Blanco = pin 15
Rosado (en el tuyo rojo) = pin 1
Verde = pin 2
Azul = pin 3
Tierra = pin 4
Negro delgado = pin 5
Tierra = pin 6
Morado = pin 9
Tierra = pin 11 (este es el que va al zocalo)
Anaranjado = pin 12
Transparenete/Gris = pin 13
Amarillo = pin 14
Blanco = pin 15
Thursday, July 01, 2010
Tuesday, June 22, 2010
Exploits documentación
Stack overflow referencia práctica
http://www.elgaragevirtual.com.ar/2009/05/exploits-y-stack-overflows-en-windows.html
Referencias
Estadisticas desde ESET NOD32
http://blogs.eset-la.com/laboratorio/2010/04/05/problemas-paquetes-vulnerabilidades-exploits/
Aurora en acción
http://blog.metasploit.com/2010/01/reproducing-aurora-ie-exploit.html
Testeados
http://www.clshack.it/es/guida-alluso-di-metasploit.html
Recursos
http://www.dragonjar.org/reemplazo-de-milw0rm.xhtml
http://sebug.net/
http://www.pentester.es/2009/11/por-que-no-consigo-shell-con-mi.html
http://www.elgaragevirtual.com.ar/2009/05/exploits-y-stack-overflows-en-windows.html
Referencias
Estadisticas desde ESET NOD32
http://blogs.eset-la.com/laboratorio/2010/04/05/problemas-paquetes-vulnerabilidades-exploits/
Aurora en acción
http://blog.metasploit.com/2010/01/reproducing-aurora-ie-exploit.html
Testeados
http://www.clshack.it/es/guida-alluso-di-metasploit.html
Recursos
http://www.dragonjar.org/reemplazo-de-milw0rm.xhtml
http://sebug.net/
http://www.pentester.es/2009/11/por-que-no-consigo-shell-con-mi.html
Saturday, June 19, 2010
TL-WN722N
Driver compatible bajo Linux
http://linuxwireless.org/en/users/Drivers/ath9k_htc
http://linuxwireless.org/en/users/Drivers/ath9k_htc/devices TL-WN721N (Sin adap. externo)
Notas:
El adaptador TP-WN722N tiene un "hermanito", el WN721N. Los dos son reconocidos como "man: 0cf3 - dev: 9271".
http://linuxwireless.org/en/users/Drivers/ath9k_htc
http://linuxwireless.org/en/users/Drivers/ath9k_htc/devices TL-WN721N (Sin adap. externo)
Notas:
El adaptador TP-WN722N tiene un "hermanito", el WN721N. Los dos son reconocidos como "man: 0cf3 - dev: 9271".
Wednesday, June 16, 2010
Cross-site data retrieval
Using jQuery for load webService on Same domain
http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/
Using Proxy
http://www.west-wind.com/weblog/posts/324917.aspx
Flicker service
http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=jQueryAjaxRESTfulWebServiceJSON
http://encosia.com/2008/03/27/using-jquery-to-consume-aspnet-json-web-services/
Using Proxy
http://www.west-wind.com/weblog/posts/324917.aspx
Flicker service
http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=jQueryAjaxRESTfulWebServiceJSON
Tuesday, June 15, 2010
Links necesarios
pagina blancas directo
http://paginasblancas.com.pe/resultados.asp?t=225151
guid
http://createguid.com/
firefox personal addon
http://foro.elhacker.net/programacion_general/howto_crear_extensiones_para_firefox-t127159.0.html
http://paginasblancas.com.pe/resultados.asp?t=225151
guid
http://createguid.com/
firefox personal addon
http://foro.elhacker.net/programacion_general/howto_crear_extensiones_para_firefox-t127159.0.html
Firefox Developer
Addon make new addons
http://ted.mielczarek.org/code/mozilla/extensiondev/
How To Disable ‘will not be installed because it does not provide secure updates’ Warning in Firefox 3
By default, Firefox 3 prevents users from installing any extensions that do not offer a secure connection for automatic updates. This prevents users from being victims of hijacked update URLs.
But for developers or people installing extensions they know they can trust, it is a pain.
Luckily it is easily disabled by:
1. Enter ‘about:config’ into address bar, hit go
2. Right click somewhere in the list of keys below. Select New->Boolean
3. Enter ‘ extensions.checkUpdateSecurity ‘ as the name
4. Select false as the value
5. Reattempt installation of your plugin.
Ran into this problem when installing Extension Developer’s Extension while working on Read It Later.
Found the solution at MozillaZine (via Google)
http://ted.mielczarek.org/code/mozilla/extensiondev/
How To Disable ‘will not be installed because it does not provide secure updates’ Warning in Firefox 3
By default, Firefox 3 prevents users from installing any extensions that do not offer a secure connection for automatic updates. This prevents users from being victims of hijacked update URLs.
But for developers or people installing extensions they know they can trust, it is a pain.
Luckily it is easily disabled by:
1. Enter ‘about:config’ into address bar, hit go
2. Right click somewhere in the list of keys below. Select New->Boolean
3. Enter ‘ extensions.checkUpdateSecurity ‘ as the name
4. Select false as the value
5. Reattempt installation of your plugin.
Ran into this problem when installing Extension Developer’s Extension while working on Read It Later.
Found the solution at MozillaZine (via Google)
Saturday, June 12, 2010
DNS IP Tools
Dns verifyier
https://www.dns-oarc.net/oarc/services/dnsentropy
IP Information Country/City/Map and more...
http://whatismyipaddress.com/ip-lookup
IP tools
http://www.iptools.com/
TCPView Similarly
http://www.nirsoft.net/utils/cports.html
https://www.dns-oarc.net/oarc/services/dnsentropy
IP Information Country/City/Map and more...
http://whatismyipaddress.com/ip-lookup
IP tools
http://www.iptools.com/
TCPView Similarly
http://www.nirsoft.net/utils/cports.html
Friday, June 11, 2010
Wednesday, June 09, 2010
mySQL Tools
Great administrative/struture of mySql Database and Statistics
http://www.heidisql.com/download.php
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
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)
http://www.webmasterfree.com/WAPTor_d628.html
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
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
Funny Pictures
http://www.pickmeupnews.com
Andrea parker, all
http://wall.bete.tv/catlist.php?mcat=7&page=79
http://www.pickmeupnews.com
Andrea parker, all
http://wall.bete.tv/catlist.php?mcat=7&page=79
Tuesday, May 25, 2010
Conceptos referenciales
Payload
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/
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
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
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
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/
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
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/
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
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/
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
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
>devenv /ResetSettings
En mi caso fue asi.
>C:\Archivos de programa\Microsoft Visual Studio 9.0\Common7\IDE>devenv /resetset
tings
NHibernate
NHibernate y localización
http://codelog.climens.net/2010/03/16/nhibernate-y-localizacion/
http://codelog.climens.net/2010/03/16/nhibernate-y-localizacion/
Thursday, May 13, 2010
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");
}
}
}
==========================================
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
http://ico.bradleygill.com/index.php
Iconos
http://www.softicons.com/free-icons/application-icons/web-application-icons-by-ray-cheung/back-icon
Iconos
http://www.softicons.com/free-icons/application-icons/web-application-icons-by-ray-cheung/back-icon
SMS Gratis (SDKs)
https://labs.ericsson.com/user/login
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
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
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
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://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
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
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&task=view&id=48
http://casaames.com/index2.php?option=com_content&do_pdf=1&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
http://www.ex-parrot.com/pdw/iftop/
$ sudo iftop -i eth0
Tuesday, April 20, 2010
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
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
Introducción
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
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
Viualizar Privilegios otorgados
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
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
Simulador de enlaces de radio/wireless
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/
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
Subscribe to:
Posts (Atom)
-
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