Posted Date:11-07-2017 In this post we will fix the issue of Select2 search input not working in Bootstrap Modal. If you are implementing  select2 plugin in boostarp  modal, First remove tabindex=”-1″ and add style=”overflow:hidden;”

Install Jenkins on Ubuntu 16 Date Posted: 02-07-2017 Jenkins is a deployment application tool which is used for continuous integration and deployment. In this post, we will explain on how to install jenkins on Ubuntu 16. Prerequisites: Ubuntu Host Allow Incoming port 8080. Implementation: Consider this is a fresh ubuntu server… Continue Reading Install Jenkins on Ubuntu 16

Posted Date:01-07-2017 In this post we will explain selected text from a drop-down list (select box) using jQuery Step 1: Include jQuery  Plugin <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source > Step 2:Create the HTML page using  following code <!DOCTYPE html> <html> <head> <title>Drop Down Select text value </title> <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source> </head> <body> <select name=”select_text” id=”select_text”… Continue Reading selected text from a drop-down list (select box) using jQuery

Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail, intended as an alternative to Sendmail MTA. Remove sendmail if it was already installed on your system yum remove sendmail #1 Install Postfix Now Install Postfix  and make sure it started at boot by adding… Continue Reading install and configure postfix and dovecot on CentOS

You might get not found error (404) when you access laravel API end points on nginx. To resolve this we need to add below rules in nginx.conf. Post that reload nginx conf. location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } location / { try_files $uri $uri/ @rewrite; } $ service nginx… Continue Reading Laravel route gives 404 error on nginx

Add PureFTP service to Fail2ban – Ubuntu Date Posted: 23-06-2017 Prerequisites: Ubuntu Host Fail2Ban Service – Incase, if fail2ban service is not installed, follow the below mentioned post to install. Install Fail2ban on Ubuntu Implementation: Copy the file pure-ftpd.conf to pureftpd.conf cp /etc/fail2ban/filter.d/pure-ftpd.conf /etc/fail2ban/filter.d/pureftpd.conf Open the file /etc/fail2ban/jail.local and append the below lines. vi /etc/fail2ban/jail.local [pureftpd]… Continue Reading Add PureFTP service to Fail2ban – Ubuntu

Add Exim service on Fail2Ban – Ubuntu Date Posted: 21-06-2017 In our previous, we explained on how to install Fail2ban on Ubuntu host. Incase, if fail2ban is not installed then follow below post to install. Install Fail2Ban on Ubuntu Implementation: If you followed our previous post, just append the below… Continue Reading Add Exim service on Fail2Ban – Ubuntu

Posted Date:20-06-2017 In this post we will explain dynamically set codeigniter baseurl. Step 1: navigate to application/config and open config.php file edit $config[‘base_url’] using following code. $config[‘base_url’] = ((isset ( $_SERVER [‘HTTPS’] ) && $_SERVER [‘HTTPS’] == “on”) ? “https” : “http”); $config[‘base_url’] .= “://” . $_SERVER [‘HTTP_HOST’]; $config[‘base_url’] .=… Continue Reading Dynamically set CodeIgniter Base URL

Posted Date:19-06-2017 In this post we will explain Make the <li class> to be Active when click menu Step 1: Include jQuery Plugin necessary  jquery files. <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source > <source src=”https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js” type=”text/javascript”></source > <source src=”https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.3.11/js/app.min.js” type=”text/javascript”></source > Step 2:Add the following jquery script code for dynamic active class var url = window.location.href; // for sidebar… Continue Reading Make the menu to be Active when click menu

Posted Date:19-06-2017 In this we will explain check box checked or not. Step 1: Include jQuery  Plugin <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source > Step 2:Create the HTML page using  following code <!DOCTYPE html> <html> <head> <title>Check/uncheck </title> <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source> </head> <body> <input type=”checkbox” class=”test” value=”” > $(document).on(‘click’, ‘.test’ , function() { if ($(‘.test’).prop(‘checked’)==true)… Continue Reading check / uncheck checkbox using jquery?