Admin
May 26, 2016
28 comments
2.38K
Introduction PostgreSQL 9.4 was released on 12/18/2014. More information about the release is available on the official PostgreSQL documentation.This article is written to provide an easy migration solution from PostgreSQL 9.3 to 9.4 for Debian s...
Admin
May 19, 2016
17 comments
221
Answer 1 In Ruby, nil in an object (a single instance of the class NilClass) so methods can be called on it. nil? is a standard method in Ruby that can be called on all objects and returns true for the nil object and false for anything else. emp...
Admin
May 09, 2016
25 comments
3.52K
JavaScript can be a nightmare to debug: Some errors it gives can be very difficult to understand at first, and the line numbers given aren’t always helpful either. Wouldn’t it be useful to have a list where you could look to find out what they m...
In your application controller file app/controllers/application_controller.rb include the following private method: class ApplicationController < ActionController::Base private # Overwriting the sign_out redirect path method de...
Admin
April 29, 2016
7 comments
1.4K
Intro Machine learning is a type of artificial intelligence (AI) that provides computers with the ability to learn without being explicitly programmed. Machine learning focuses on the development of computer programs that can teach themselves t...
The map method takes an enumerable object and a block, and runs the block for each element, outputting each returned value from the block (the original object is unchanged unless you use map!): [1, 2, 3].map { |n| n * n } #=> [1, 4, 9] Array ...
Admin
April 21, 2016
26 comments
304
Setting up PHP extensions php_curl and php_apc on windows 7 If you're using windows 64-bit OS, download the 64-bit TS VC9 compiled DLL files i.e. php_apc.dlland php_curl.dll, and store them in the PHP extensions directory. Enable these extensi...
Admin
April 20, 2016
32 comments
2K
Install PHP-FPM To install PHP-FPM, open terminal and type in these commands. We will configure the details of nginx and php details in the next step: sudo apt-get install php5-fpm Configure php We need to make one small change in the php conf...
Admin
April 16, 2016
34 comments
501
Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. But it’s not the amount of data that’s important. It’s what organizations do with the data that matter...
Admin
April 16, 2016
26 comments
3.21K
 Adjust the CSS left, top, width and height properties to create a traingular shape. This can also be used a list style bullet. Simply add class 'div' to any HTML element. Make sure the parent has the CSS property position: relative. .div::befor...