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

Search In

What is Bootstrapping in AngularJS?

Hi all, Bootstrapping is the equivalent of starting, or initializing your Angular app. There are 2 ways to do so. First :- <html ng-app="appName"> - - </html> Second:- After creating your app, you should use this when you need to hav

Disable space and special characters in edittext in Android

Many times we have faced problems like we want to disable special and space character in edit text. So to prevent this we have a property called "android:digits", we have to list the characters which we want to allow in edit text. We have to use it

How to accessing the Auth Componenet from a view in CakePhp

In CakePHP, you may want to use the Auth component to check if a user is currently logged-in to the system. you cannot access the Auth component from a view. So doing something like this in a view $user = $this->Auth->user This will Generate

Prevent SQL-injection in PHP

User can prevent SQL- injection in php by using given 3 ways. Method1. By Using PHP inbuilt Functions. $name = mysql_real_escape_string($_POST["name"]); mysql_query("INSERT INTO users VALUES($name)"); Method 2. By Using MySqli instead of MySQL. M

Truncate a given sting just after a fixed count of chars using PHP

Hello Reader's! if you want to short a given string on fixed number of chars then php offers you many ways. Below is one of them, you can use this code for the same. Lets see the example below:- $sting_given = "1234567890134667896abcdtiABCDEFGHIJK

Laravel join with 3 Tables

As we all know that when we are working on the big project then there is a need of join 2-3 table to get the result. We can easily understand that by using example of joining 3 table. Example: $shares = DB::table('shares') ->join('users', '

How to download an image automatically using Javascript

Hello Reader's! If you want to make your file download by execution of JS then you can use the code below:- var a = document.createElement('a'); a.href = "/favicon.png"; //make the link of image a.download = "favicon.png"; document.body.appendChild(

When to start Automation Testing?

While automating GUI one has to be very careful, do not start the automating when the project starts, else you will ends up re-writing the the automation scripts. Many a times vendors provide training and support of automation tools to the resources.

Pre vs. Code

<code> use for inline code it can wrap and <pre> for block code that must not wrap so, new lines and spaces get rendered as new lines.. It is little mystified by the <pre> and <code> tags. If you’re not sure which to use and

How to restrict application for Tablets only

Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag. <manifest ... > <supports-screens android:s

1 56 363
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: