Recently I have read a book name " Ruby Deep Dive " written by Jesus Castello . He is the founder of Rubyguides . I had to spend around 4 days to read the whole book with exercise. To read a book from the computer it's so much hard for me. On my Samsung Tab I use Moonreader as pdf reader with dropbox synchronisation that I can read also from mobile. Instead of wasting physical papers I use Ziteboard app with Baseus stylus pen . I dislike to always compile on the computer, to compile on mobile I use Ruby Compiler . For reading a book and as well as practising I like to set two app split or popup mode on android. Using App usages I get exact time how much time spend on reading.
Sometimes I have to work on multiple pc. It's helpful if project is configured on docker. I was searching a good docker-composer.yml template on github. But most of the case for rails 7 it was not working perfect. Sometimes I am getting a good template which was working perfect for rails 7, but it was configured for Postgreesql. But I need mysql. Sometimes I am getting template which was works perfectly for the old version of rails, not working for the new version.
Generally I use devise gem in any rails application for authentication. It's so much popular and so many features. Recently I noticed that my customers are login on the websites too many times. Really I don't want to. It should store the session on browser that user should not login many times if he visits my site. Remember me option helps to users more active on the website. Generally user don't like to login again and again on a site.
Facebook declared that they had begun to purge “a substantial number” of accounts which are fake or spam. The fake accounts created largely from some countries to accumulate likes as part of a sophisticated campaign. They did so by “liking” publishers’ pages in order to target their followers with spam. Sometimes your real account may be suspended by facebook.
Now a days SSL is mandatory to encrypt information of website and also validate server identities to their visitors. If any site has no ssl, during user login most of the popular browser show that "this connection is not secure".
Sometimes we need to add task that will take so much time. Like we want to convert a video to mp3 file. So this type of task we add to the queue. Then it converted on our server and after finishing the task we will show notification to the user. Today I will describe how to work on queue in laravel.
Generally for facebook live we use messanger on mobile. But for computer there are nice software to go live. Personally I like obs software. OBS means Open Broadcaster software. You can download it from here - https://obsproject.com/
I used visual composer one of my wordpress website version 4.1. After then 1 year later I upgraded our wordpress version to 4.7.2. Then I noticed that visual composer was not working. When I clicked on the backend editor I saw visual composer icon was loading and nothing happend-
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.
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 -
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.
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.
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.
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’
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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?
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.