Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Scraping using nokogiri in rails

We usually want to scrap some data from one site or other . For this rails have provided us with a well known gem Nokogiri . It is a library which has been written for scrapping data and any rails developer can scrap data with the use of following g

How to increase or decrease dates in the given dates

Hello Reader's if you have the current date and you want to get some past dates or future dates then here you can see it. PHP offers you to use inbuilt function strtotime. Lets see how you can adjust the dates with this. Here you will get the next d

Multidex with Gradle

When our application and libraries references reaches their limits, then we get some errors that shows we reached the limit of built architecture. Like this trouble writing output: Too many field references: 131000; max is 65536. You may try using

Variable Number of Parameters

If you declare a method that takes two parameters, on This method call , you need to pass two parameters along with it. But, Ruby facilitates to declare methods that can work with a variable number of parameters. Example def evon (*t) puts "

JSON with JAVA

A JSONObject is an unordered amassment of name/value pairs. Its external form is a string wrapped in curly braces with colons between the designations and values, and commas between the values and designations. A JSONObject constructor can be acclim

How to Summarise Leave Time Proportionally and Correctly in MySql

In mysql database i created "leave" table:   CREATE TABLE `leave` ( `ID_LEAVE` int(11) NOT NULL, `ID_WORKER` int(11) NOT NULL, `BEGIN_DATE` datetime DEFAULT NULL, `END_DATE` datetime DEFAULT NULL ) INSERT INTO `leave` (`ID_LEAVE`

Date and Time in PHP

The date function in PHP is the one which formats the timstamp to a readable form. The Syntax of it is as : date(format,timestamp) The required format function is to specify the format of the date and the timestamp Specifies default current date a

Use of strict mode in javascript

strict mode: It is used to catch or throw errors when some unsafe actions are taken and  use strict directive is used to execute javascript code in strict mode. For example: we cannot use undeclared variable in strict mode. use strict can be u

Why You Should Build Machine Learning Feature Into An Ecommerce Website

Technology grows and advances every day. Because of technological advancements, e-commerce has emerged and flourished in a way that global businesses of all sizes have benefited from.   The owners of those same online businesses see stories in

Datetime vs Timestamp in MySQL and PHP

Hello Readers, This blog tell the difference between the Datetime vs Timestamp in MySQL and PHP. 1> Datetime and Timestamp are used to store datetime and then retrieve the datetime back. 2> Basically, In this we have a 2 factor which help yo

prev 1 3 64
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: