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

Search In

How to halt image uploading in Dropbox.js

If you are using Dropbox.js for file uploading and wants to upload some specific extension type like csv, xls etc. Please follow the below code:: Dropzone.options.uploadcontact = { maxFilesize: 10, // Mb acceptedFiles: ".xls,.xlsx,.csv", //

LTRIM(str) Function mysql

LTRIM(str) LTRIM(str) function returns the string str after remove the leading space characters means if you want to remove the all spaces from the left side of a string in mysql you can use this LTRIM mysql function. Here I am giving a example to e

Importing a csv into mysql via command line

Hello Readers! MySQL have this load data function, where we can insert data to a table from external files like csv, txt etc. The process is quite simple, 1st lets login to mysql via terminal/console. mysql -u root -p Enters username and passwor

How to set check-box with a certain value checked in jquery?

To set a checkbox checked with a certain value we use a function prop() with the attribute selector. $('selector').prop('checked', true); For example: <input class="chkbox" name="ex[]" type="checkbox" value="0">0 <input class="chkbox"

How to get color of image for the background using PHP

Hello Readers! If you are developing the dynamic website in which the image color will be the background color then you can see it doing in PHP :- <?php $filename = $_GET['filename']; $image = imagecreatefromjpeg($filename);

test if an NSString is empty in Objective C

You can check if( [empName length]==0 || [[empName stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0) this will return 1 else 0 NSString *empName; if ([empName length]==0 || [[empName stringByTrimmingCharactersInSe

How to use extension method in openERP/Odoo ?

When using _inherit but leaving out _name, the new model replaces the existing one, essentially extending it in-place. This is useful to add new fields or methods to existing models (created in other modules), or to customize or reconf

Make UIImage White Background Transparent in iOS

If you came across to a requirement where you want to make UIImage Background Transparent then use below method to achieve it. +(UIImage *)changeWhiteColorTransparent: (UIImage *)image{ CGImageRef rawImageRef=image.CGImage; const CGFloat colorMaski

Javascript Access the Elements of an Array

In an Array , elements are zero-indexed i.e first element of an array is at index 0 and the last element is at the index equal to the value of array length minus 1 (array.lenght-1) Example -> var name = [ ' first ' , ' second '] ; console.log( n

How to implement underline textfield in Xcode

Hi, The tutorial will help you to set underline textfield in Xcode. #import <UIKit/UIKit.h> @interface UnderlinedTextField : UITextField @end #import "UnderlinedTextField.h" @implementation UnderlinedTextField // Only override d

1 456 481
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: