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

Search In

Check trannsparency of a given pixel in Image using C#

Many a times we come across to situations where we need to find out whether a given pixel in an image is a solid pixel or a Transparent Pixel. Here is how we can check that. We have an image property called alpha value which tells us about the transp

Attach invoice PDF with invoice email in magento

Sometime we need to send a invoice pdf in a invoice mail in magento, so here I am explaining how to add invoice pdf in invoice mail. 1) Override the app/code/core/Mage/Core/Model/Email/Template/Mailer.php file in your module 2) Add one protected va

How to remove product tabs

Hi, If you want to remove all tabs or any particular tab for example description and reviews, then use the below code in the functions.php: add_filter( 'woocommerce_product_tabs', 'FindNerd_remove_product_items', 58 ); function findnerd_remove_produ

How to calculate distance between two location by PHP Code

If you would like to calculate air distance between two location without any API or mysql query. You can use below code to get distance between two location. $distance_one_latitude = 30.364267; $distance_two_latitude = 30.324860; $distance_one_longi

How to iterate or remove all key object from NSUserDefaults

Hi Readers, In any iPhone app if it is needed to iterate or remove NSUserDefault keys (as in logout feature), following code can be used: To iterate key objects: NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults]; NSDicti

How to get complete current URL using Cakephp Framework in PHP

If you need to print the complete current url you can do following steps. 1. In the view file code will go like this: <?php echo $this->here; ?> This syntax'll give you the absolute url starting from hostname i.e. /controller/action/para

How to Install DebugKit on CakePHP

Hello Nerds! If you are going to develop a new project in cakephp then you might need Debugkit for that, and its really a lifesaving tool for rapid developments. You can install DebugKit using doing the following steps as:- Step 1:- You need to dow

How to get session attribute in velocity template in liferay

Hello Guys, Here, I am writing code for get session attribute in velocity. First of all set session attribute in view.jsp or class of the portlet then get session attribute in velocity template. Follow below steps to implement. step : 1 put below

Function Templates in C++

Function Templates:-Templates are used to achieve the generic programming. By using function template the code will be independent to any data type. A template is used to create generic class or a function. By using function templates we have used t

How to create request method on odoo server ?

If the create method is successful, the value associated to the request key will be a dictionary containing various information about the created request: 1-id: the request id 2-key: your private key for this request For example code is like below.

1 138 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: