Wednesday, December 29, 2010
Postgres CentOS iptables
# iptables -L
# service iptables save
# service iptables restart
# iptables -L
references:
[1] http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/
Tuesday, December 28, 2010
Postgres CentOS
Login as the root user and enter the command:
# yum install postgresql postgresql-server
Start Postgresql
Type the following two command:
# chkconfig postgresql on
# service postgresql start
Connect to Postgresql Server
Connect to server using
# su - postgres
Connect using psql command line tool:
$ psql -d template1 -U postgres
Open TCP port 5432
Finally make sure iptables allows remote access to Postgresql database server:
Open /etc/sysconfig/iptables file:
# vi /etc/sysconfig/iptables
Append following line before COMMIT line to open port 5432:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5432 -j ACCEPT
Save and close the file. Restart the firewall:
# service iptables restart
wget http://yum.pgsqlrpms.org/reporpms/8.4/pgdg-centos-8.4-2.noarch.rpm
rpm -Uhv pgdg-centos-8.4-2.noarch.rpm
if don't work see url: http://yum.pgsqlrpms.org/reporpms/8.4
Adds
======
#su postgres
psql -d template1 -U postgres (enter the template1 service database)
alter user postgres with password 'postgres_password'; (run query to change the password)
/sbin/service postgresql restart
nmap -P0 -p 5432 192.168.1.2 (if don't have nmap --> #yum install nmap)
Here are the important lines from pg_hba.conf:
Some where you will have a file called postgresql.conf
#listen_addresses = 'localhost' --> '*' and uncomment
References:
[0]http://www.ixavi.com/2010/01/instalar-postgresql-8-3-en-centos-desde-yum/
[1]http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html
[2]http://www.cyberciti.biz/faq/howto-add-postgresql-user-account/
[3]http://www.postgresql.org/docs/7.4/interactive/sql-alteruser.html
[4] http://www.cyberciti.biz/faq/howto-add-postgresql-user-account/
Wednesday, December 22, 2010
Thursday, December 16, 2010
Face detection
http://en.pudn.com/search_db.asp?keyword=face
Wednesday, December 15, 2010
ASP.NET C# Upload from URL
WebClient wc = new WebClient();
wc.DownloadFile("http://sourcefile.ext", "drive:\\path\\targetfile.ext");
References:
[1] http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=115
Monday, December 13, 2010
FATAL: sorry, too many clients already
max_connections = 8
shared_buffers = 16
queries for diagnostic current sessions.
1) Select * from pg_stat_activity;
2) Select count(*) as cnt, usename, current_query FROM pg_stat_activity Group by usename,current_query Order by cnt DESC;
Indice de masa corportal
http://www.buenasalud.com/tools/bmicalc.cfm
Otro medidor gráfico
http://www.bmivisualizer.com
Pruebas:
[1]
http://www.bmivisualizer.com/body_masses/generate_bmi?utf8=%E2%9C%93&locale=en&body_mass[unit_measurment]=M&body_mass[gender]=Male&body_mass[age]=35&body_mass[height]=1.66&body_mass[feet]=&body_mass[inches]=&body_mass[weight]=76&commit=Calculate+BMI
Thursday, December 09, 2010
Condorito
http://www.mcanime.net/foro/viewtopic.php?t=80082
http://www.atp.com.ar/post/Comics_%2F_Anime/76634/Coleccion_Condorito_completa__parte_1.html
http://www.atp.com.ar/post/Comics_%2F_Anime/76635/Coleccion_Condorito_completa__parte_2.html
http://www.atp.com.ar/post/Comics_%2F_Anime/76636/Coleccion_Condorito_completa__parte_3.html
Disable Yahoo Messenger Adds
[HKEY_CURRENT_USER\Software\Yahoo\pager\Locale]
Enable Messenger Ad = 0
restart yahoo messenger
Second mode
on file C:\WINDOWS\system32\drivers\etc\hosts
add next line
127.0.0.1 insider.msg.yahoo.com
Friday, December 03, 2010
Jasper Report Netbeans todo lo necesario
Lo unico que hay que saber aparte de descargar el software es crear una Libreria y agregar los .jar necesario ubicados en la carpeta de instalación:
[1] C:\Archivos de programa\JasperSoft\iReport-2.0.2\lib o
[2] C:\Archivos de programa\JasperSoft\iReport-3.7.6\ireport\modules\ext
Tutoriales
http://chuwiki.chuidiang.org/index.php?title=Ejemplo_b%C3%A1sico_con_Jasper_Report
http://mundobyte.wordpress.com/2008/01/06/creacion-de-reportes-en-java-parte-iii/
http://javatutoriales.blogspot.com/2009/02/creacion-de-reportes-con-jasperrepots-y.html
http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/samples.html
Recursos:
[1] jasper software http://sourceforge.net/projects/jasperreports
[2] ireport software http://sourceforge.net/projects/ireport/files/iReport%20%28classic%29/
Thursday, December 02, 2010
SQL Server Analysis Service
http://developer.klipfolio.com/developer/cookbook_item/item-64
Running the Analysis Services Deployment Wizard
http://msdn.microsoft.com/en-us/library/ms174817.aspx
Building a SQL Server Analysis Services .ASDatabase file from a Visual Studio SSAS Project
http://agilebi.com/ddarden/2009/05/31/building-a-sql-server-analysis-services-asdatabase-file-from-a-as-project/
Resources
[1] http://sqlsrvanalysissrvcs.codeplex.com/
[2] SQL Server software
http://www.todotegusta.com/2010/05/microsoft-sql-server-2008-r2-standard-edition-x86-y-x64/
Wednesday, December 01, 2010
Data Mining with C#
http://www.devsource.com/c/a/Languages/Data-Mining-with-C-and-ADONET/
Data Mining SDK
http://datamining.codeplex.com/
http://www.sqldev.org/sql-server-analysis-services/c-using-adomd-to-connect-to-olap-cube-10707.shtml
Another plataform
http://www.cs.waikato.ac.nz/ml/weka/
Other references:
Spanish
http://bernardorobelo.blogspot.com/2010/02/modelos-y-ejemplos-de-data-mining.html
http://alejandroesteban.wordpress.com/
Wednesday, November 24, 2010
C# Smtp Client using gmail account
using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Mail;
using System.Net;
namespace SmtpMail
{
class Program
{
static void Main(string[] args)
{
try
{
var client = new SmtpClient("smtp.gmail.com", 587)
{
Credentials = new NetworkCredential("compelligencelocal@gmail.com", "xxxxx"),
EnableSsl = true
};
client.Send("myusername@gmail.com", "manager_27@hotmail.com", "test", "testbody");
Console.WriteLine("Sent");
Console.ReadLine();
}
catch (Exception ex)
{
Console.WriteLine( ex.Message );
}
}
}
}
Monday, November 22, 2010
Sunday, November 14, 2010
un-install GRUB from MBR to restore Windows/DOS
http://linux.koolsolutions.com/2009/06/08/howto-how-to-erase-un-install-grub-from-mbr-to-restore-windowsdos-bootloader/
How to uninstall GRUB
http://www.cyberciti.biz/faq/linux-how-to-uninstall-grub/
Making MBR Backup
mke2fs /dev/fd0 (formating)
dd if=/dev/hda of=/dev/fd0 bs=512 count=1 (dump to floppy)
dd if=/dev/fd0 of=/dev/hda bs=512 count=1 (dump from floppy)
/dev/fd0, replacemente with file or path
hda, sda o SCSI
resources:
[1]Download optional or missing files for Easy Recovery
http://www.easydesksoftware.com/optional.htm
Saturday, November 13, 2010
Keylogger source code
https://github.com/ajayrandhawa/Keylogger/blob/master/Sourcecode.cpp
C#
http://sourceforge.net/projects/superkeylogger/
http://www.elguille.info/colabora/NET2006/drosa_KeyLogger.htm
http://www.c-sharpcorner.com/UploadFile/grusso/KeyLoggerAplicationinCSharp11252005000941AM/KeyLoggerAplicationinCSharp.aspx
resources:
[1] http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/ed63b033-663a-4a20-80a5-a732d31e9486
Friday, November 12, 2010
Postgres DEBUG
RAISE level 'format' [, expression [, ...]];
levels-> DEBUG, LOG, INFO, NOTICE, WARNING, and EXCEPTION(raises an error).
format-> string, % is replaced by the next optional argument's string representation.
usages:
RAISE NOTICE 'Calling cs_create_job(%)', v_job_id;
--This example replace % with v_job_id
RAISE EXCEPTION 'Nonexistent ID --> %', user_id;
--This example will abort the transaction with the given error message:
references:
[1] http://www.postgresql.org/docs/8.1/static/plpgsql-errors-and-messages.html
Wednesday, November 10, 2010
NHibernate works without mapping
query.SetResultTransformer(NHibernate.Transform.Transformers.AliasToBean(typeof(Product)));
IList
Notes:
Add CusTomField1..5 into Product Class,not need declared in .hbm.xml
Combine with ScalarFields
public class SqlRepository {
...
public IList
using (ISession session = _sessionBuilder.GetSession()) {
return session
.CreateSQLQuery(@"
SELECT No_ AS EmployeeNumber, [E-mail Login] AS Username
FROM Employees")
.AddScalar("EmployeeNumber", NHibernateUtil.String)
.AddScalar("Username", NHibernateUtil.String)
.SetResultTransformer(Transformers.AliasToBean
.List
}
}
}
Add nHibernate mapping at run time
ISessionFactory sf = new Configuration()
.AddFile("Product.hbm.xml")
.AddFile("Category.hbm.xml")
References:
[1] http://docs.jboss.org/hibernate/core/3.3/reference/en/html/querysql.html
[2] Store procedure http://www.martinwilley.com/net/code/nhibernate/sql.html
[3] Reduced wiring code needed for native sql http://swik.net/Hibernate/Hibernate+GroupBlog/Hibernate+3.1:+Reduced+wiring+code+needed+for+native+sql
[4] AddJoin http://es.efreedom.com/Question/1-1132059/NHibernate-problema-de-AddEntity-y-AddJoin
[5] Native SQL http://knol.google.com/k/fabio-maulo/nhibernate-chapter-14-native-sql/1nr4enxv3dpeq/17#
[6]Fluent NHibernate http://wiki.fluentnhibernate.org/Auto_mapping
[7]Dynamically load .hbm.xml http://www.codeguru.com/forum/showthread.php?t=474322
Sunday, November 07, 2010
How to get Machine Remote Client information
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
Wednesday, November 03, 2010
Cubecart:: Deprecated: Function eregi() is deprecated in
Edit /includes/ini.inc.php
error_reporting(E_ALL & ~(E_NOTICE | E_STRICT | E_DEPRECATED | E_USER_DEPRECATED));
Wednesday, October 27, 2010
Postgres configuration
# 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)
ls /var/run
less /var/run/zypp.pid or yast.pid
kill #
Subversion (svn)
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
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://note.sonots.com/SciSoftware/haartraining.html
tomcat & servlet resource
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
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
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
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
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
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().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)
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
[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://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
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
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
http://www.microalcarria.com/miscelanea/distancia_antenas.php
http://www.paramowifix.net/antenas/calculoenlacewlan.html
Thursday, September 02, 2010
Flash tools freeware
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
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
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
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
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 )
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/
Friday, August 13, 2010
Thursday, August 12, 2010
Traductores offline 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
Friday, August 06, 2010
Event Scheduler - Cron Tables (Crontab) in Suse-openSUSE
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
Descarga:
http://www.megaupload.com/?d=TI97MKXR
Thursday, July 29, 2010
Instalar conexión a escritorio remoto (Remote Desktop Connection)
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)
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?
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)
http://listado.mercadolibre.com.pe/Adaptador-Plc-Ethernet
Mikrotik
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
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
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
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
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
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
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
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
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
http://www.heidisql.com/download.php
Tuesday, June 08, 2010
ASP.NET HttpException: Maximum request length exceeded
Las siguientes lineas cambian a 20MB
<configuration>
...
<system.web>
...
<httpRuntime maxRequestLength="20480" />
</system.web>
</configuration>
Otras Configuraciones
<httpRuntime executionTimeout="300" maxRequestLength="51200"/>
<httpRuntime
executionTimeout="1200"
maxRequestLength="102400"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
Nota:
maxRequestLength<=1048576 (1 GB) para .NET Framework 1.0/1.1 y
maxRequestLength<=2097151 (2 GB) for .NET Framework 2.0.
Referencias
FileUpEE - Large Uploads in ASP.NET:
http://support.softartisans.com/docs/fileupeev4/doc/dotnet/aspdotnet_largeuploads.asp
FileUpSE - large uploads in ASP.NET:
http://support.softartisans.com/docs/fileupv4/prog_g_dotnet_largeuploads.htm
Thursday, June 03, 2010
Wednesday, June 02, 2010
Aplicaciones para desarrollo Wap (Celular)
TTEmulator
http://www.inetis.com/index.php?module=ttemulator#free
http://emulator.mtld.mobi/emulator.php?emulator=nokiaN70&webaddress=http%3A%2F%2Fverifytransport.somee.com%2Fwap%2F
Browser WAP Emulador
Wap Proof (Muy bueno, muestra source code de las url)
http://www.wap-proof.com/wap_browser_download.php
WinWAP for Windows/Smartphone Browser Emulator(UN asco, no permite cambiar url)
Toolkits
Nokia Qt SDK Beta - QT & symbian (aprox. 800mb)
http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/
Tutoriales WAP/WML
http://www.terra.es/personal/wapfacil/manwml6.htm
Comandos Mobile completo con ejemplos asp
http://www.w3schools.com/dotnetmobile/mobile_reference.asp
Are there specific HTTP headers for mobile?
http://www.thewirelessfaq.com/are_there_specific_http_headers_for_mobile
How to make ASP.NET Applications that support mobile devices
http://www.beansoftware.com/ASP.NET-Tutorials/WML-Mobile-PDA.aspx
Tuesday, June 01, 2010
Funny Pictures
http://www.pickmeupnews.com
Andrea parker, all
http://wall.bete.tv/catlist.php?mcat=7&page=79
Tuesday, May 25, 2010
Conceptos referenciales
http://www.persystems.net/sosvirus/pregunta/payload.htm
Cross Site Request Forgery(CSRF)
http://es.wikipedia.org/wiki/Cross_Site_Request_Forgery
XSS
http://es.wikipedia.org/wiki/XSS
Otras referencias
============================================================
http://www.exploit-db.com/exploits/12051
http://blackploit.blogspot.com/2010/05/buffer-overflow-en-php-6-dev.html
http://www.dragonjar.org/buffer-overflow-en-php-6-dev.xhtml
Revisar
===================
http://blackploit.blogspot.com/2010/05/csrftester-10-creando-poc-csrf.html
http://foro.elhacker.net/bugs_y_exploits/shellcode_compressor-t287699.0.html;wap2=
http://www.milw0rm.com/
Monday, May 24, 2010
SyntaxHighlighter on Web & Blogger
2. Unrar to a temp folder. ex: c:\temp\syntaxhighlighter
3. Transfer the folders (Scripts and Styles) to a web server. I use google code to host my files.
4. Open blogger.com and sign in.
5. Goto "Template" and choose "Classic" layout.
6. Goto Edit Html.
7. After <head> insert the following:
<link href="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Styles/SyntaxHighlighter.css" type="text/css" rel="stylesheet" /> </link>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shCore.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushCSharp.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushXml.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushCss.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushJScript.js"></script>
<script language="javascript" src="http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/shBrushSql.js"></script>
8. And before </body> insert:
<script language="javascript">
dp.SyntaxHighlighter.ClipboardSwf = 'http://mortenlyhr.googlecode.com/svn/trunk/SyntaxHighlighter/Scripts/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
</script>
or
<script language='javascript'>
dp.SyntaxHighlighter.BloggerMode();
dp.SyntaxHighlighter.HighlightAll('code');
</script>
Fuente:
http://morten.lyhr.dk/2007/12/how-to-get-syntax-highlighting-in.html
http://code.google.com/p/syntaxhighlighter/w/list
for Blogger
http://yacoding.blogspot.com/2008/05/how-to-add-syntax-highlight-to-blogger.html
C# Resize image
public void ResizeImage(string OriginalFile, string NewFile, int NewWidth, int MaxHeight, bool OnlyResizeIfWider)
{
System.Drawing.Image FullsizeImage = System.Drawing.Image.FromFile(OriginalFile);
// Prevent using images internal thumbnail
FullsizeImage.RotateFlip(System.Drawing.RotateFlipType.Rotate180FlipNone);
FullsizeImage.RotateFlip(System.Drawing.RotateFlipType.Rotate180FlipNone);
if (OnlyResizeIfWider)
{
if (FullsizeImage.Width <= NewWidth)
{
NewWidth = FullsizeImage.Width;
}
}
int NewHeight = FullsizeImage.Height * NewWidth / FullsizeImage.Width;
if (NewHeight > MaxHeight)
{
// Resize with height instead
NewWidth = FullsizeImage.Width * MaxHeight / FullsizeImage.Height;
NewHeight = MaxHeight;
}
System.Drawing.Image NewImage = FullsizeImage.GetThumbnailImage(NewWidth, NewHeight, null, IntPtr.Zero);
// Clear handle to original file so that we can overwrite it if necessary
FullsizeImage.Dispose();
// Save resized picture
NewImage.Save(NewFile);
}
Resources
=========
C#: Resize An Image While Maintaining Aspect Ratio and Maximum Height
http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing
Sunday, May 23, 2010
Lugares interesantes
http://superpatanegra.com/correoanonimo/index.php
Invertir teto
http://generadores.arredemo.org/girartexto/
flv player
http://superpatanegra.com/banners/index-video.php
http://superpatanegra.com/textoaimagen/image.php
email a imagen
http://superpatanegra.com/email/
Saturday, May 22, 2010
Targetas de crédito
http://en.wikipedia.org/wiki/List_of_Bank_Identification_Numbers
Generador de números de targeta de crédito validas aleatorias
http://mediakey.dk/~cc/wp-dyn/credit-card-number-generator.php
http://www.darkcoding.net/credit-card-generator/
Genera codigo vv2
http://www.xonico.com.ar/index.php?s=CodigoCC
http://generadores.arredemo.org/ccgenerador/
Thursday, May 20, 2010
Great design and scripts
http://blogvecindad.com/lista-completa-de-menus-con-css-para-diseandores-web/2007/06/05
http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm
http://www.javascriptkit.com/script/cutindex16.shtml
http://www.creativeprogramming.it/blogs/wp/index.php/2009/08/19/gwt-ext-how-to-programmatically-swap-themes/#tb
http://www.daniweb.com/forums/thread127263.html
JavaScript Resources
http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm
http://www.quizzpot.com/2009/10/combo-box-loaded-dynamically-and-remotely/
Tuesday, May 18, 2010
Friday, May 14, 2010
Restaurando VS2008
>devenv /ResetSettings
En mi caso fue asi.
>C:\Archivos de programa\Microsoft Visual Studio 9.0\Common7\IDE>devenv /resetset
tings
NHibernate
http://codelog.climens.net/2010/03/16/nhibernate-y-localizacion/
Thursday, May 13, 2010
Trabajando con Delegados en C#
==========================================
public delegate void DelegateType(string message);
Codigo 2
==========================================
public static void Method(string message)
{
System.Console.WriteLine(message);
}
Función cualquiera con la misma firma que DelegateType es decir void xxx(string yyy)
Codigo 3
==========================================
DelegateType handler = Method; //Esto es posible xq DelegateType es una referencia
//a funciones con la firma void xxx(string yyy).
handler("Hello World"); //Llama a Method
Codigo 4
==========================================
public void MethodWithCallback(int param1, int param2, DelegateType callback)
{
callback("The number is: " + (param1 + param2).ToString());
}
Codigo 5
==========================================
MethodWithCallback(1, 2, handler); //Llamada enviando una referencia a Method
Codigo 6
==========================================
public void Method1(string message) { }
public void Method2(string message) { }
DelegateType d1 = Method1;
DelegateType d2 = Method2;
DelegateType d3 = Method;
DelegateType allMethodsDelegate = d1 + d2;//assigna referencia a d1 y d2
allMethodsDelegate += d3; //agrega referencia a una tercera funcion
Codigo 8
==========================================
allMethodsDelegate -= d1; //elimina d1 de la lista de referencias
DelegateType oneMethodDelegate = allMethodsDelegate - d2; //Copia todos menos d2
Codigo 9
==========================================
int invocationCount = d1.GetInvocationList().GetLength(0); //Cantidad de referencias
Codigo 10
==========================================
using System.Reflection;
namespace DemoDelegate
{
public delegate void D();
public class ComprobaciónDelegados
{
public static void Main()
{
Type t = typeof(ComprobaciónDelegados);
MethodInfo m = t.GetMethod("Metodo1");
D obj = (D) Delegate.CreateDelegate(typeof(D), m);
obj();
}
public static void Metodo1()
{ Console.WriteLine("Ejecutado Método1"); }
public static void Metodo2(string s)
{ Console.WriteLine("Ejecutado Método2");
}
}
}
Friday, May 07, 2010
Imagen a Icono
Iconos
http://www.softicons.com/free-icons/application-icons/web-application-icons-by-ray-cheung/back-icon
SMS Gratis (SDKs)
Importante ver la documentación de como hacer envios flash(rápido)
https://labs.ericsson.com/apis/sms-send-and-receive/documentation
http://stackoverflow.com/questions/238579/free-sms-api
Wednesday, May 05, 2010
Tuesday, May 04, 2010
VPN Linux & Windows
http://www.deperu.com/internetgratis/Windows_XP.htm
OpenVPN
http://www.alcancelibre.org/staticpages/index.php/openvpn-clientes-win-linux-shorewall-P2
http://peloenpecho.blogcindario.com/2008/05/00003-armando-una-vpn-cliente-servidor-con-linux.html
Thursday, April 29, 2010
Friday, April 23, 2010
Grids
http://pixelco.us/blog/240-plugins-para-jquery/
http://code.google.com/p/flexigrid/
http://www.dataprix.com/blogs/magm/plugin-eglu-jquery-flexigrid-2-versi-n-01-documentaci-n
http://www.extjs.com/deploy/dev/examples/grid/grid-plugins.html
http://www.extjs.com/deploy/dev/examples/
http://www.trirand.com/blog/jqgrid/jqgrid.html
El API de Java
Shared Library
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html
On Windows too
http://journals.ecs.soton.ac.uk/java/tutorial/native1.1/stepbystep/step5.html
http://www.javaworld.com/javaworld/javatips/jw-javatip23.html
Load C++ LIbrary from Java
http://www.nag.co.uk/industryArticles/CallingCLibraryRoutinesfromJava.pdf
How to write shared Library
http://people.redhat.com/drepper/dsohowto.pdf
Thursday, April 22, 2010
Microondas
http://casaames.com/index2.php?option=com_content&do_pdf=1&id=48
Wednesday, April 21, 2010
Networking Linux
http://www.ex-parrot.com/pdw/iftop/
$ sudo iftop -i eth0
Tuesday, April 20, 2010
Friday, April 16, 2010
Servicio Web
http://www.webservicex.net/WS/CATs.aspx?CATID=12&DESC=Utilities
Implementar un WebService desde php
http://ityprogramacion.blogspot.com/2005/12/como-crear-un-web-service-en-php.html
Creando proxy apartir de un WSDL
C:\Archivos de programa\Microsoft SDKs\Windows\v6.0A\Bin>wsdl /l:cs /protocol:SOAP http://www.kusaconsultores.es/services/impuestos.php?wsdl
Thursday, April 15, 2010
ASP.NET Filtros de Acceso
http://www.techbubbles.com/aspnet/creating-action-filters-in-aspnet-mvc-applications/
Filter interceptors
http://weblogs.asp.net/scottgu/archive/2008/07/14/asp-net-mvc-preview-4-release-part-1.aspx
Securing Your Controller Actions
http://blog.wekeroad.com/blog/aspnet-mvc-securing-your-controller-actions/
http://www.openbeta.cn/Default.aspx?Page=Filters&AspxAutoDetectCookieSupport=1
Action filter
http://www.allanonwriting.net/post/HOW-TO-Create-a-ASPNET-MVC-Action-Filters.aspx
mySQL grant
show grants
Grant para habilitar acceso a servidor mySQL
http://stackoverflow.com/questions/2433543/how-to-make-a-remote-connection-to-a-mysql-database-server
Monday, April 12, 2010
Radio Mobile
http://www.cplus.org/rmw/english1.html
Tutorial de como usar
http://blog.e2h.net/2009/11/27/instalando-radio-mobile-para-predecir-el-rendimiento-de-un-sistema-de-radio/
Thursday, April 08, 2010
Tuesday, April 06, 2010
Tuesday, March 30, 2010
Que operador de Perú es (Celular)
http://deperu.info/celulares/index.php
http://www.mtc.gob.pe/portal/comunicacion/concesion/registros/numeracion/movil/movil.htm
https://verifica.osiptel.gob.pe/
Friday, March 26, 2010
Mobile OS and SDKs
http://www.forum.nokia.com/info/sw.nokia.com/id/05c63dfd-d6e9-4c0e-b185-d365e7001aeb/S60-SDK-0548-3.0-f.3.215f.zip.html
http://blog.neuronaltraining.net/?p=1117
http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/thread/6a5af8f7-9cb6-457a-b97c-efa199171a6b
http://www.forosdeelectronica.com/f24/uso-celular-gsm-pic-pc-2730/
http://www.ozekisms.com/
http://www.ozekisms.com/p_61-it-system-interface-sms.html7&info=product-manual/index.php?ow_page_number=315
http://www.emant.com/681002.page
Thursday, March 25, 2010
Monday, March 22, 2010
Thursday, March 11, 2010
Wednesday, March 10, 2010
Tuesday, March 09, 2010
Comercio Electrónico (php)
http://support.cubecart.com/index.php?_m=downloads&_a=view&parentcategoryid=5&pcid=0&nav=0
http://www.oscommerce.com/solutions/downloads
Friday, March 05, 2010
Mobil Wap
http://enviar.sincelular.com/index.php (Similar al anterior)
http://www.nkwap.com.ar/ (uhmm solo funciona para los cheee...ss)
References
wap.filetac.com (For load wap page with code)
http://www.filetac.com/uploadfile.php
http://www.wapforum.org
Thursday, March 04, 2010
mySQL .NET
Tutorial
http://dev.mysql.com/usingmysql/dotnet/
Single tutorial
http://windows-programming.suite101.com/article.cfm/how_to_access_mysql_with_c
Guille
http://www.elguille.info/colabora/puntoNET/versae_MySQLNET.htm
Resources:
Conector
http://dev.mysql.com/downloads/connector/net/
Another Conector sourceforce
http://sourceforge.net/projects/mysqldrivercs/
http://www.webresourcesdepot.com/test-sample-data-generators/
Store procedures
http://forums.asp.net/t/988462.aspx
Wednesday, March 03, 2010
Tuesday, March 02, 2010
Salesforce API Resources
http://www.fishofprey.com/2009/12/salesforce-cheat-sheets-web-services.html
http://wiki.i-dialogue.com/%28S%28s2lidw555m1vwl45vvrbibvn%29%29/Default.aspx?Page=Adding_Custom_Buttons_to_Salesforce_Records&AspxAutoDetectCookieSupport=1
http://community.salesforce.com/sforce/board/print?board.id=general_development&message.id=26857&page=1&format=page
Thursday, February 25, 2010
Reports using Classes
http://blog.n-technologies.be/?tag=/c%23+2.0
http://blog.n-technologies.be/post/2007/03/26/SQL-Server-Reporting-Services-Create-and-Call-a-Custom-Assembly.aspx
http://www.developerfusion.com/article/4585/printing-reports-in-net/3/
http://stackoverflow.com/questions/223952/c-create-an-instance-of-a-class-from-a-string
http://www.koders.com/csharp/fidCCD62B6AEEDA5BC8F7F8FD2031EBD168185B1F60.aspx?s=dataset#L45
Wednesday, February 24, 2010
Mobile Web Forms in Visual Studio 2008
http://blogs.msdn.com/webdevtools/attachment/4776222.ashx
http://msdn.microsoft.com/en-us/library/bb158682.aspx
ActiveSync 4.5
http://www.microsoft.com/downloads/details.aspx?FamilyID=9E641C34-6F7F-404D-A04B-DC09F8141141&displaylang=es
Windows Mobile Software Developer's Kit
http://www.microsoft.com/downloads/details.aspx?FamilyID=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
Emulador
http://www.microsoft.com/downloads/details.aspx?familyid=3D6F581E-C093-4B15-AB0C-A2CE5BFFDB47&displaylang=en
Thursday, February 18, 2010
Wednesday, February 17, 2010
Optimizar ficheros JavaScript
http://www.arsys.info/diseno-web/mejora-la-velocidad-de-carga-de-tus-paginas-web-vi/
Comprimir js
http://www.tufuncion.com/comprimir-js
Referencias:
http://crockford.com/javascript/jsmin
http://developer.yahoo.com/yui/compressor/
Saturday, February 13, 2010
Software
http://megasoft-rapid.com/category/utility
Utilidades varis Screen Capture / Generadores de código
http://www.osmazum.com/Programas/
mySQL php generator
http://www.sqlmaestro.com/products/mysql/phpgenerator/
Thursday, February 11, 2010
Concatenar Filas de un Query
http://www.simple-talk.com/content/article.aspx?article=539#forum
Tuesday, February 09, 2010
Friday, February 05, 2010
Hosting IIS 7 ASP.NET, Php, Perl, SVN
Hosting asp.net 3.5 sp1, probado con webservice
http://somee.com/
Lista de otros proveedores( no probados)
http://blogs.iis.net/bills/archive/2007/4/28/1686437.aspx
PHP
http://www.freewebhostingarea.com
http://x10hosting.com (muy bueno, pero estrictos en contenido)
SVN
http://www.projectlocker.com (5 Proyectos x 100Mb)
mejor visitar http://www.svnhostingcomparison.com/
Thursday, February 04, 2010
Salesforce AJAX API
Queries personalizados con JavaScript en Salesforce
http://www.salesforce.com/us/developer/docs/ajax/Content/sforce_api_ajax_more_samples.htm
Tuesday, February 02, 2010
JavaScript Evaluador de Código
IE Web Developer
http://www.taringa.net/posts/downloads/1796691/El-firebug-definitivo-para-Internet-Explorer-IE-WebDeveloper.html
Firebug para IE
http://getfirebug.com/lite
IE Tester
http://www.my-debugbar.com/wiki/IETester/HomePage
Companion.JS
http://www.my-debugbar.com/wiki/CompanionJS/HomePage
Instalación
http://www.anieto2k.com/2007/10/18/companionjs-el-firebug-de-internet-explorer/
Examinando URLs con Google
site:jincahuanaco.awardspace.info
cache:jincahuanaco.awardspace.info
filetype:extension
Monday, February 01, 2010
Sunday, January 31, 2010
Utilitarios de rastreo
robots.txt sobre Google
El estándar de la metaetiqueta "no index" se describe en http://www.robotstxt.org/meta.html. Este método es útil si no tiene acceso al directorio raíz del servidor, ya que le permite controlar el acceso a su sitio web página por página.
Para evitar que cualquier robot indexe una determinada página de su sitio, deberá insertar la metaetiqueta que le indicamos a continuación en la sección <head&rt; de su página:
<meta name="robots" content="noindex">
Para que todos los robots, excepto los de Google, indexen una página determinada de su sitio:
<meta name="googlebot" content="noindex">
Si Google detecta una metaetiqueta "noindex" en una página, elimina la página por completo de los resultados de búsqueda, incluso en el caso de que otras páginas enlacen con ella. Sin embargo, otros motores de búsqueda pueden interpretar esta directiva de forma distinta. Como consecuencia, es posible que todavía aparezca un enlace en sus resultados de búsqueda.
Tenga en cuenta que debido a que tenemos que rastrear la página para ver la etiqueta "noindex", existe una pequeña posibilidad de que Googlebot no vea y respete la metaetiqueta. Si su página sigue apareciendo en los resultados, probablemente se debe a que no hemos rastreado su sitio desde que añadió la etiqueta. (Igualmente, si ha utilizado el archivo robots.txt para bloquear la página, tampoco podremos ver la etiqueta).
Si el contenido se encuentra en nuestro índice, lo eliminaremos cuando finalice el próximo rastreo del mismo. Para acelerar el proceso, utilice la herramienta de solicitud de eliminación de URL incluida en las Herramientas para webmasters de Google.
-
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