Tuesday, July 21, 2015

Adobe CS5 Serial keys

1330-1036-2793-5476-2605-5729
1330-1193-9982-0310-7670-2199
1330-1470-0441-6829-3063-2553
1330-1976-0892-7993-3728-5629
1330-1527-2207-3657-2876-1004
1330-1361-6390-5309-5916-6481
1330-1614-6955-3965-0930-9043

Tuesday, July 14, 2015

Contact form with Node.js

Let's see that how to make simple contact form with Node.Js nodemailer module


  • install nodemailer - npm install nodemailer

server.js

var express=require('express');
var nodemailer = require("nodemailer");
var app=express();
var smtpTransport = nodemailer.createTransport({
service: "Gmail",
auth: {
user: "bandara.susantha@gmail.com",
pass: "bankaya86"
}

});
app.get('/',function(req,res){
console.log('works');
res.sendfile('index.html');
});
app.get('/send',function(req,res){
var mailOptions={
to : req.query.to,
subject : req.query.subject,
text : req.query.text
}
console.log(mailOptions);
smtpTransport.sendMail(mailOptions, function(error, response){
if(error){
console.log(error);
res.end("error");
}else{
console.log("Message sent: " + response.message);
res.end("sent");
}
});
});
app.listen(3000,function(){
console.log("Express Started on Port 3000");
});


index.html(html file)

"












"




  • when you use this inside the Apache (LAMP or Xampp ) you should enable the proxypass 
  • for that you can add this into end of your virtual host fileProxyPass /send http://localhost:3000/send


Thursday, July 9, 2015

Fix the Revolution Slider google Chrome Animation Issue

Noramaly Revolution slider text and layers are not working on wp plugin also HTML version.
I fixed this issue


  1.  find code
  2. then change the rev=4.3.5 into rev= 4.6.0
  3. copy the http://demo.woorockets.com/themes/one/wordpress/wp-content/plugins/bwp-minify/min/?f=themes/one/wordpress/wp-content/plugins/revslider/rs-plugin/js/jquery.themepunch.tools.min.js,themes/one/wordpress/wp-content/plugins/revslider/rs-plugin/js/jquery.themepunch.revolution.min.js


all content and replace the code js/jquery.themepunch.revolution.min.js file

Now IT works ! :)

Monday, April 27, 2015

Linux command import large MYSQL dump file

1. Go to place where your file of .sql dump.
2 type this command

~/Desktop$ mysql -u root -p DBname < mysal_dump.sql

NOW it will start!

Tuesday, January 14, 2014

LAMP install CURL Extension on Ubuntu

When install some cms and using web services on LAMP server required the CURL Extension.
in ubuntu following commands using for install the CURL

1. open the Terminal (Ctrl+Alt+T)

sudo apt-get install php5-curl
   
it will take the few minutes to install CURL
 
2.Then Restart the Apache server using
 
sudo service apache2 restart 
 
Cheers!!! 
 
 




Wednesday, May 23, 2012

Upload large files in php

Edit following variables in php.ini file (if windows C:\xampp\php\php.ini)
*values can be changed as your wish

/*php.ini start*/

memory_limit = 512M

post_max_size = 15000M

file_uploads = On

upload_max_filesize = 15000M

max_input_time = 20000

max_execution_time = 20000

session.gc_maxlifetime = 20000

/*php.ini end*/
then restart the Server