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

Search In

How to avoid automatically updating rails timestamp fields ?

If you have created_at and updated_at columns in the DB table. Rails will automatically set these values when you create and update a model object. There are chances that we have to update the columns without touching these columns. You can do this

What is the use of the @ symbol in PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss what is the use of the @ symbol in PHP ? so basically @ symbol is an "Error Control Operators" and it's works only on expressions. In other word we can say that this symbol is used

Xamarin in VisualStudio

Xamarin is a tool that can be integrated with visual studio for building mobile application using the language you are comfortable with like C# With Xamarin you can build an Android application, IOS application using the C# code on your backend.

die() function in PHP

die() function is error handling method in PHP which used to handle a error in web application. It's also used to check whether the function is work properly or not. <?php $file=fopen("myfile.txt","r"); ?> If myfile.txt file does not exist,

each and reset function php

Welcome to FindNerd. We are going to discuss the in-build functions reset and each. each works like a loop. It returns the current element and move the pointer forward. reset moves the pointer to first element. Please have a look. <?php $salaryAr

ASCII(str) String Function MySQL

String-valued functions return NULL, if the the result's length would be greater than the value of the max_allowed_packet system variable. The first position of a string (for those functions which operate on string), is numbered 1. Noninteger argum

foreach() function in PHP

foreach() function provides an easy way to scan arrays & exactly do the same thing like for loop, so this function is said to be PHP foreach loop. foreach loop works only on arrays. Syntax: foreach ($arrayname as $value) {} Example: In the be

How to make calculation in Javascript

Hello Reader's If you want to make the mathematic calculations inside the html document, Then by using the JS you can make calculations. You just have to use the document.write() function. Lets see it working in the example as below:- <html&g

Shortest way to find the max element of a array

Hello Reader's if you want to get the shortest way to get the max value of the given array, Then by using JS you do it fast. To find the result you have to use Math.max() function. Lets's see the working example as given below:- <!DOCTYPE html&

Laravel 5.0 handling multiple layouts - Select layout as per the user role

Hi Readers Recently when I was working in Laravel, I came across an issue. It was regarding the selection of a particular layout as per the logged-in user. I have to show a particular layout according to the role of the user logged-in. When I used e

1 67 409
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: