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

Search In

How to split a String

Below I have written a code to split a string. Suppose we have a string name imagePath and we are going to split by "/" by using split method in java. String delimiter = "/"; String[] img; if (imagePath.contains("/")) { img = imagePath.split

How to change the font of SearchBar's Placeholder and TextField

To change placeholder font add the following code: [[UILabel appearanceWhenContainedIn:[UISearchBar class], nil] setFont:[UIFont fontWithName:@"Helvetica" size:12.0]]; and,to change the font for the SearchBar textField add the following lines: [[U

How to unzip a file uisng PHP

Hello Reader's!, If you have a zip file and you need to execute unzip the file using PHP, Then you can use the PHP liberary code below:- // Lets say you have zip file in the same folder of php file. $file = 'file.zip'; // get the absolute path to $

How to give output an image using PHP

Hello Reader's if you want to give output as an image then you can use the code below:- You can use finfo (PHP 5.3+) to get the right MIME type. $filePath = 'yourfile.ext'; $finfo = finfo_open(FILEINFO_MIME_TYPE); $contentType = finfo_file($finfo,

How to send email using AJAX request?

Hello Reader's If you need to make ajax request that send the email in backgournd page then you can use the code below:- $('#submit').click(function() //specify your selector of form { $.ajax({ url: sendemail.php, // your action page

how to use Bitmap in Android

Below I have written the code for getting the Image using Bitmap in your Android App. Here we have passed two parameters in the method the first one is the Image View and second one is the url of the image that is to be shown on the image view. publ

html link

How can you create image as a link in html. You can make an image as an link as through following coding.This make your link more eye-catchy and you can also make logo as link thus making your page more effective. <a href="default.asp"> <

How to use New ids in Odoo ?

In new ids context all work is done in the cache. And after that check all function and ids in python file, and creating a record in a model with computed fields, the records of the recordset will be in memory only. At that time the id 

How to use api.onchange in Odoo ?

All the work and tasks are done in the cache in on_change context. Therefore so you dont need to be worried for altering database as the recordSet will be able to altred inside your function. That’s the main difference with @api.depends. For e

How to make custom session timeout in php

Hello Reader's!, If you want to make the custom php session which will destroy automatic then you can use the code as below:- session_start(); // ready to go! $now = time(); if (isset($_SESSION['discard_after']) && $now > $_SESSION['disc

1 110 408
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: