Wednesday, May 25, 2016

Your apple magic mouse is not smooth? Take the solution.

I bought magic mouse 1 month ago. But I could not use it properly. Cause it's not smooth and unresponsive. To fix this I used two software and one tricks. Let me share it.



Wednesday, May 11, 2016

Add pagination with findwhere collection on Laravel l5 repository system

Now a days repository system L5 repository is popular. Suppose we have some posts and want to show this posts on the admin panel. On there we need to add pagination. L5 gives opportunity to use paginate like this -

Monday, February 29, 2016

Redirect all of your non-www url to www (http and https)


You know There are lots of Resource to solve this problem. But I Have taken too Much Time to solve It. I easily redireted non-WWW to WWW When my url is http. But It's too difficult to solve It When I am in https. Here is important tips, u Your .htaccess Code Will Not Have It no https ssl Certificate for work. I do Not know about this.

Monday, September 21, 2015

Automate test on the web with Ruby and Capybara


Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. In this situation testing is very important to delivery good and bug free products. In Ruby on Rails there are many testing tools. But most of the developer like to use human readable code. For this reason Rspec is very popular for behaviour driven development testing framework. It helps us to figure out what to test, where to start and what to ignore.

Wednesday, August 5, 2015

Install postgresql 9.4 and configure it for Ruby on Rails


PostgreSQL is available in the default repositories. So enter the following command from the Terminal to install it.
sudo apt-get install postgresql postgresql-contrib
If you’re looking for other versions, add the PostgreSQL repository, and install it as shown below.

Convert html to pdf using wiked pdf gem(Ruby on Rails)


Today I will write how to convert html to pdf. For this we will use wiked_pdf gem. It’s a nice gem to convert.
1. put this on your gem file
gem ‘wicked_pdf’, github: ‘mileszs/wicked_pdf’
gem ‘wkhtmltopdf-binary’

Thursday, May 28, 2015

Install mean (Mongo, Express, Angular & Node) on Nitrous.io



Today I will share with you how to work with mean on Nitrous.io. You will find many tutorial how to deploy it on ubuntu. I just follow that tutorial and find a way how to do it on nitrous. my favourite remote host.
First go to the https://lite.nitrous.io . Open an account and then Open a nitrous box. Select node.js. 

Monday, May 18, 2015

Install yii framework-2 on Nitrous.io


Today I will write how to install Yii framework on Nitrous.io cloud box. If you face any problem to install it don’t hasitate to comment here. First open a box by selecting PHP.

Saturday, May 9, 2015

Role based registration with devise and cancan using Ruby on Rails


It’s very bad that to solve this problem I had to spend many days. I need to register my client site two types of users. We can use role types. we will use devise for registration and by using cancan we will authorize the content. You can check the demo source code.

Wednesday, April 15, 2015

Install and configure Apache, Mysql, PhpMyAdmin, FTP, CMS wordpress on Redhat 6.00 amazon EC2


You can take VPS from amazon. If you have credit card you can open an account. Amazon will charge you 1 dollar and give you many feature. You can use amazon EC2 for 1 year. It’s better if you take it from oregon.
I want to say you about how to open a vps on amazon ec2. First go to service- EC2. then instances – Lunch instances.

Saturday, February 7, 2015

Install Ajenti & Ajenti-v web hosting control panel on your EC2 amazon server


When we are using VPS, it’s better if we install a hosting control panel. It’s very important choosing the better control panel. Cause i don’t like most of the control panel like webmin, zpanel. It’s has less feature. now a days i like Ajenti control panel. Really very nice control panel. Thought it has some problem. But it’s good to work.

Tuesday, January 6, 2015

Install and configure Network simulator (ns3) on Ubuntu 14.04

On CSE we have to take thesis on the final year. Those who are on networking sector they have to work with Network simulator. Popular network simulator is NS3. Sometimes we need to install and configure it on ubuntu 14.04. As we have to download the source and compile it so it’s difficult for begginers. I will try to explain it easily. If any command not work please inform me.

Thursday, December 25, 2014

Install Laravel on Ubuntu 14.04 VPS with Ajenti


I have installed Ajenti Control Panel on my amazon server. I needed to install laravel on that server. Today i will write how to install Laravel on Ubuntu 14.04 VPS.


Monday, November 24, 2014

How to show google Admob Ad on your Android App


If you want to show ad on your android app, best solution is to use Admob ad. Google admob changed their previous ad showing system from august 2014. Now they control their all services from google play service. Google Admob support only support these languages. If you android app is on other language, do not integret admob in your andorid app.

Saturday, October 25, 2014

Set password on Linux grub to secure root user | Redhat 6


When we are installing linux based operation system we set root password. But anyone can break this password using single user mood. Specially in Redhat. To increase security we can set password on Grub. First i will teach you how to break password using single user mood. Then you can know how to set password on Grub that anyone can not break password using single user mood.

Sunday, December 18, 2011

Start your first program in Linux using a nice IDE Geany | Ubuntu 14.04


In Previos post i had written about how to work with codeblocks in ubuntu 14.04. Now i have found another nice IDE name “Geany”. Now i will discuss about how to install and work with it. Using this you can work with C, C++, Java, JavaScript, PHP, HTML, CSS, Python, Perl, Ruby, Pascal and Haskell.

Thursday, September 22, 2011

Compile C & C++ program in ubuntu 14.04 using codeblocks


Most of the people don’t have clear idea how to run C program in Linux. Today i will discuss how to run c program in linux. My development mechine is latest ubuntu 14.04. we have to install codeblocks.

Sunday, March 6, 2011

Using key scrambler protect your password from hackers


This post is important for protecting password from hackers.  I am using Firefox browser add-on to protect this.
It is an add-on of Firefox’s key scrambler, if you install it , keylogger or spyware can not hack your password. when you input username and password in gmail or other accounts, you have to keep on this add-on. Now the question is: why you have to keep on?

Sunday, June 20, 2010

Secure your account info from others using Autohotkey


I am mashpy, this post was the first post of mine in blog which was written in techtunes. By this post you can learn, how to protect your password from spyware or keylogger. This is a simple procedure.