Category: Web Development
Digital Signature using Zoho Creator
Digital signatures/online signatures, as we all know, play a very important role in online industry. The simple idea of using a digital signature results in reducing the paperwork and saves time. Zoho Creator has provided “signature” feature for online signing
YUI3 Panel background shading and position problems
By default YUI3 assigns yui3-widget-mask class for background shading. To override that we need to change its style properties. Similarly for position of the panel, it can be changed by specifying position property of .yui3-panel class. These are the methods
Eclipse – Stop auto jumping to the file in project explorer (disable link with editor)
When you switch among opened files in eclipse, project explorer moves to the currently active file (in left pane). This can be annoying several times. To disable this just make sure icon with double arrows in Project Explorer (top right
Connection Pool with Tomcat6 and Mysql
Inside $tomcat_home/conf/context.xml add this inside <Context> <Resource name=”jdbc/datasourcename” auth=”Container” type=”javax.sql.DataSource” maxActive=”100″ maxIdle=”30″ maxWait=”1000″ username=”dbuser” password=”dbpwd” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://localhost:3306/exodus”/> Now restart tomcat Inside you web.xml add this before </web-app>: <resource-ref> <description>My DB Connection</description> <res-ref-name>jdbc/datasourcename</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> Java code to connect: Context
Oracle Privileges to Import/Export data into any tablespace
Generally we can have a single user with DBA rights to import/export (using imp/exp utilities) data into any tablespace instead of assigning these privileges to every user account. Suppose you have an oracle user appdba. Grant DBA role to appdba
Send email using gmail in Perl
Here’s sample code to send email via Gmail SMTP server, which uses TLS (transport layer security): #!/usr/bin/perl -w use Net::SMTP::TLS; my $mailer = new Net::SMTP::TLS( ‘smtp.gmail.com’, Hello => ‘smtp.gmail.com’, Port => 587, User => ‘gmail userid’, Password=> ‘gmail password’); $mailer->mail(‘from@domain.com’);
Android Jumble Challenge
Jumble Challenge has seen a really good start with more than 115 downloads in initial few days of launch. If you like to unjumble words this is the game for you. With 3 different levels Jumble Challenge is ideal for
mongod cannot execute binary file
mongod: cannot execute binary file Most probable reason – you are using 64-bit mongodb, switch to 32-bit for quick solution….or find the compatible 64 bit package