Access to the network host mac address,CPU access to suppliers,...
http://www.hackchina.com/en/cont/82131
Three ways to get your MAC address.
http://www.codeguru.com/Cpp/I-N/network/networkinformation/article.php/c5451
Enterprise Logging for Distributed J2EE Applications
http://javaboutique.internet.com/tutorials/logging/index4.html
How do I get MAC address of a host? (JAVA)
http://www.kodejava.org/examples/250.html
Extract network card address(JAVA)
http://www.rgagnon.com/javadetails/java-0369.html
References:
http://mindprod.com/project/macaddress.html
Sunday, November 07, 2010
Wednesday, November 03, 2010
Cubecart:: Deprecated: Function eregi() is deprecated in
The latest versions of PHP 5 have deprecated a few functions, for turn off those messages as seen in CubeCart.
Edit /includes/ini.inc.php
error_reporting(E_ALL & ~(E_NOTICE | E_STRICT | E_DEPRECATED | E_USER_DEPRECATED));
Edit /includes/ini.inc.php
error_reporting(E_ALL & ~(E_NOTICE | E_STRICT | E_DEPRECATED | E_USER_DEPRECATED));
Wednesday, October 27, 2010
Postgres configuration
classical paths
# vi /etc/postgresql/8.2/main/postgresql.conf
# vi /var/lib/pgsql/data/postgresql.conf
# vi /opt/Postgres/8.4/data/postgresql.conf
Enable Network:
listen_addresses = 'localhost' to listen_addresses = '*'
You must also have appropriate entries in pg_hba.conf for hosts and
authentication type. You could use something like:
#TYPE DATABASE USER ADDRESS METHOD
local all all password
host all all 127.0.0.1/32 password
host all all 192.168.1.0/24 password
Next line allow all ips
host all all 0.0.0.0/0 md5
# vi /etc/postgresql/8.2/main/postgresql.conf
# vi /var/lib/pgsql/data/postgresql.conf
# vi /opt/Postgres/8.4/data/postgresql.conf
Enable Network:
listen_addresses = 'localhost' to listen_addresses = '*'
You must also have appropriate entries in pg_hba.conf for hosts and
authentication type. You could use something like:
#TYPE DATABASE USER ADDRESS METHOD
local all all password
host all all 127.0.0.1/32 password
host all all 192.168.1.0/24 password
Next line allow all ips
host all all 0.0.0.0/0 md5
Sunday, October 24, 2010
Yast Accessing package management failed (opensuse)
Look in /var/run/ for stale yast.pid or zypp.pid.
ls /var/run
less /var/run/zypp.pid or yast.pid
kill #
ls /var/run
less /var/run/zypp.pid or yast.pid
kill #
Subversion (svn)
Delete parts of subversion history
http://robmayhew.com/delete-parts-of-subversion-history/
Subversion Commands and Scripts
http://www.yolinux.com/TUTORIALS/Subversion.html
Delete Subversion revision
http://www.eiben.weite-welt.com/2008/01/delete_subversion_revision/
How do I change the default author for accessing a local SVN repository?
http://stackoverflow.com/questions/45624/how-do-i-change-the-default-author-for-accessing-a-local-svn-repository
http://robmayhew.com/delete-parts-of-subversion-history/
Subversion Commands and Scripts
http://www.yolinux.com/TUTORIALS/Subversion.html
Delete Subversion revision
http://www.eiben.weite-welt.com/2008/01/delete_subversion_revision/
How do I change the default author for accessing a local SVN repository?
http://stackoverflow.com/questions/45624/how-do-i-change-the-default-author-for-accessing-a-local-svn-repository
Thursday, October 21, 2010
Postgres save images
CREATE TABLE images (name text, img bytea);
File file = new File("image.gif");
FileInputStream fis = new FileInputStream(file);
PreparedStatement ps = conn.prepareStatement("INSERT INTO images VALUES (?, ?)");
ps.setString(1, file.getName());
ps.setBinaryStream(2, fis, file.length());
ps.executeUpdate();
ps.close();
fis.close();
setBinaryStream(), transfers a set number of bytes from a stream.
setBytes(), use this method if the contents of the image was already in a byte[].
Retrieving image
PreparedStatement ps = conn.prepareStatement("SELECT img FROM images WHERE name=?");
ps.setString(1, "image.gif");
ResultSet rs = ps.executeQuery();
if(rs.next()) {
byte[] imgBytes = rs.getBytes(1);
}
rs.close();
}
ps.close();
You could have used a InputStream object instead.
Alternatively you could be storing a very large file and want to use the LargeObject API to store the file:
CREATE TABLE imagesLO (imgname text, imgOID OID);
To insert an image, you would use:
conn.setAutoCommit(false); // All LargeObject API calls must be within a transaction
LargeObjectManager lobj = ((org.postgresql.PGConnection)conn).getLargeObjectAPI();
//create a new large object
int oid = lobj.create(LargeObjectManager.READ | LargeObjectManager.WRITE);
//open the large object for write
LargeObject obj = lobj.open(oid, LargeObjectManager.WRITE);
// Now open the file
File file = new File("image.gif");
FileInputStream fis = new FileInputStream(file);
// copy the data from the file to the large object
byte buf[] = new byte[2048];
int s, tl = 0;
while ((s = fis.read(buf, 0, 2048)) > 0)
{
obj.write(buf, 0, s);
tl += s;
}
obj.close();
//Now insert the row into imagesLO
PreparedStatement ps = conn.prepareStatement("INSERT INTO imagesLO VALUES (?, ?)");
ps.setString(1, file.getName());
ps.setInt(2, oid);
ps.executeUpdate();
ps.close();
fis.close();
Retrieving the image from the Large Object:
conn.setAutoCommit(false);
// Get the Large Object Manager to perform operations with
LargeObjectManager lobj = ((org.postgresql.PGConnection)conn).getLargeObjectAPI();
PreparedStatement ps = con.prepareStatement("SELECT imgOID FROM imagesLO WHERE imgname=?");
ps.setString(1, "image.gif");
ResultSet rs = ps.executeQuery();
if (rs.next())
{
int oid = rs.getInt(1);//open the large object for reading
LargeObject obj = lobj.open(oid, LargeObjectManager.READ);
//read the data
byte buf[] = new byte[obj.size()];
obj.read(buf, 0, obj.size());
//do something with the data read here
obj.close();
}
rs.close();
}
ps.close();
JSP Pagination mySQL Postgres
Postgres
select * from ubigeos order by nombre limit 10 offset 0
mySql
select * from ubigeos order by nombre limit 0 , 10
References:
[1] http://www.easywayserver.com/blog/jsp-pagination/
[2] http://www.todoexpertos.com/categorias/tecnologia-e-internet/programacion/java/respuestas/889187/paginacion-con-jsp
select * from ubigeos order by nombre limit 10 offset 0
mySql
select * from ubigeos order by nombre limit 0 , 10
References:
[1] http://www.easywayserver.com/blog/jsp-pagination/
[2] http://www.todoexpertos.com/categorias/tecnologia-e-internet/programacion/java/respuestas/889187/paginacion-con-jsp
Wednesday, October 20, 2010
JavaScript event.keyCode problem
Thursday, October 14, 2010
haar cascading
http://www-personal.umich.edu/~shameem/haarcascade_eye.html
http://note.sonots.com/SciSoftware/haartraining.html
http://note.sonots.com/SciSoftware/haartraining.html
tomcat & servlet resource
Tomcat::configuration of system properties from webapp
SystemPropertiesListener.java
import java.util.Enumeration;
import javax.servlet.*;
public class SystemPropertiesListener implements
javax.servlet.ServletContextListener {
private ServletContext context = null;
public void contextInitialized(ServletContextEvent event) {
context = event.getServletContext();
Enumeration params = context.getInitParameterNames();
while (params.hasMoreElements()) {
String param = (String) params.nextElement();
String value = context.getInitParameter(param);
if (param.startsWith("prefix.")) {
System.setProperty(param, value);
}
}
}
public void contextDestroyed(ServletContextEvent event) {
}
}
web.xml
Resources
[1] http://stackoverflow.com/questions/372686/how-can-i-specify-system-properties-in-tomcat-configuration-on-startup
[2] http://stackoverflow.com/questions/558502/how-a-servlet-can-get-the-absolute-path-to-a-file-outside-of-the-servlet
[3] http://stackoverflow.com/questions/2194930/tomcat-how-can-i-place-parameters-in-web-xml-and-fetch-them-in-my-application
SystemPropertiesListener.java
import java.util.Enumeration;
import javax.servlet.*;
public class SystemPropertiesListener implements
javax.servlet.ServletContextListener {
private ServletContext context = null;
public void contextInitialized(ServletContextEvent event) {
context = event.getServletContext();
Enumeration
while (params.hasMoreElements()) {
String param = (String) params.nextElement();
String value = context.getInitParameter(param);
if (param.startsWith("prefix.")) {
System.setProperty(param, value);
}
}
}
public void contextDestroyed(ServletContextEvent event) {
}
}
web.xml
<context-param>
<param-name>prefix.property</param-name>
<param-value>value</param-value>
<param-type>java.lang.String</param-type>
</context-param>
<listener>
<listener-class>servletUtils.SystemPropertiesHelper</listener-class>
</listener>
Resources
[1] http://stackoverflow.com/questions/372686/how-can-i-specify-system-properties-in-tomcat-configuration-on-startup
[2] http://stackoverflow.com/questions/558502/how-a-servlet-can-get-the-absolute-path-to-a-file-outside-of-the-servlet
[3] http://stackoverflow.com/questions/2194930/tomcat-how-can-i-place-parameters-in-web-xml-and-fetch-them-in-my-application
Wednesday, October 13, 2010
Jasper Report
Ejemplo básico(src)
http://chuwiki.chuidiang.org/index.php?title=Ejemplo_b%C3%A1sico_con_Jasper_Report
Resources
http://abeishbabu.blogspot.com/2009/06/printing-txt-file-directly-to-printer.html
http://www.thatsjava.com/java-core-apis/46844/
http://java.itags.org/java-core-apis/46844/
http://jasperetl.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=34840
http://forums.java.net/jive/message.jspa?messageID=227537
http://www.coderanch.com/t/62982/open-source/Jasper-Report-Text-Exporter
http://helptodeveloper.blogspot.com/2010/02/exporting-jasper-reports-with-save-as.html
http://chuwiki.chuidiang.org/index.php?title=Ejemplo_b%C3%A1sico_con_Jasper_Report
Resources
http://abeishbabu.blogspot.com/2009/06/printing-txt-file-directly-to-printer.html
http://www.thatsjava.com/java-core-apis/46844/
http://java.itags.org/java-core-apis/46844/
http://jasperetl.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=34840
http://forums.java.net/jive/message.jspa?messageID=227537
http://www.coderanch.com/t/62982/open-source/Jasper-Report-Text-Exporter
http://helptodeveloper.blogspot.com/2010/02/exporting-jasper-reports-with-save-as.html
Tuesday, October 12, 2010
Friday, October 08, 2010
Web Service tools for Social Networks
Engine for Java Web service
http://enunciate.codehaus.org/
Social Networks Api
hi5
http://api.hi5.com/
Facebook
http://developers.facebook.com/docs/reference/javascript/
http://enunciate.codehaus.org/
Social Networks Api
hi5
http://api.hi5.com/
http://developers.facebook.com/docs/reference/javascript/
Thursday, October 07, 2010
Wednesday, October 06, 2010
Sunday, October 03, 2010
JNLP vs ClickOnce
Java Web Start (Jnlp) Tutorial
http://www.mkyong.com/java/java-web-start-jnlp-tutorial-unofficial-guide/
Walkthrough: Manually Deploying a ClickOnce Application
http://msdn.microsoft.com/en-us/library/xc3tc5xx
http://www.mkyong.com/java/java-web-start-jnlp-tutorial-unofficial-guide/
Walkthrough: Manually Deploying a ClickOnce Application
http://msdn.microsoft.com/en-us/library/xc3tc5xx
Wednesday, September 29, 2010
Salesforce Customize Content
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/
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/
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
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