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

Search In

Using Cookies in ROR

Cookies are objects that we use to store some information of the user in the browser like geolocation of user . It is a set of key value pair. All cookies have time of expiry after which they are just deleted from the browser usually at the end of th

How to add minutes in a given date using Javascript

Hello Reader's, If you need to add some minutes to a given date, Then by using Javascript you can use as follows:- var d1 = new Date (), d2 = new Date ( d1 ); d2.setMinutes ( d1.getMinutes() + 50 ); //adding 50 min to the date alert ( d2 );

How to create a new table with specific column from another table

Check the rows of column is either greater than zero or not Use function DefaultView Pass the parameters true for distinct, and create new string for giving columns if (dt1.Rows.Count > 0) { DataTable dt2 = dt1.DefaultView.ToTabl

How to Restore database in PostgreSQL in ubuntu

To restore database in PostgreSQL in ubuntu follow these step in terminal 1- sudo su - postgres 2- psql 3- psql -d abc1 < /home/sachin/pqr.sql abc1 = is dbname from where I am restoring backup pqr = backup file which will restore data

Composite DataType in C++

C++ allows you to define different types of variables. You can define a single variable that can hold data of multiple variables.   Defining a Structure: struct [structure tag] { member definition; member definition; ... member d

  • 152
String Comparison using equals() and equalsIgnoreCase():

equals() and equalsIgnoreCase(): Both are used to compare two strings for equality and both methods are of String class. equals() general form: boolean equals(Object str) It returns true if the invoking string and the string passed in the equals

Boolean vs Tinyint vs Bit

Boolean vs Tinyint vs Bit I was using MySQL to design database, and I need to use boolean datatype where two states are required true or false. I find the following differences among them.   TINYINT is an 8-bit integer value, a BIT field can

fPDF version issue

i have used fpdf to merge pdf but in fpdf there are some limitations it supports only 1.4 version compatibility level with pdf. so i used ghost script which converts pdf 1.4+ versions into 1.4 version and also i used same command in different servers

Problem based on OOP's of C++

Please solve the problems I'm not getting the output? Please its request 1.Swap to add hours,min,secof time t1 withhours,min and sec ot time t2 2.oveload + operator using member function for 2 strings 3.overload <= operator using member function f

adb shell command to toggle google location reporting

Hi Android Nerds, I'm looking for a solution to enable high accuracy GPS without any prompt so and it will also enable google location reporting is there any way to do this by android terminal or using adb shell on windows ?

1 17 949
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: