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

Search In

Change image color programatically

If you want to change the color of an image then you can use the following code : public Bitmap changeColor(Bitmap srcBitmap, int color) { Bitmap resBitmap = Bitmap.createBitmap(srcBitmap, 0, 0, srcBitmap.getWidth() - 1, srcBitmap.getHe

compact() or set() in cakephp

set() is the way to set values in your controller and get those values in your view file. Syntax of set is-> $this->set('variable','value') In cake-php controller you can set the values as - set('variable1','value1'); $this->set('varia

How to create function for Split string in SQL

How to create function for split string in SQL Function accepts two parameters first the concatenated string and second the delimiter character. CREATE FUNCTION [dbo].[Split](@String nvarchar(4000),@Delimiter char(1)) RETURNS @Results TABLE (Items

'is_in_stock' or inventory filter in product collection in magento

Below code will return you the products of a category that have status 'Enable' , Visibility 'catalog,search' and Stock Availability ' In stock'. $productDetails = Mage::getModel('catalog/category')->load($cat_id) -

Login/Register/ForgotPassword code

Generalized code for Login/Register/Forgot password using ASIFormDataRequest. Customize UI as needed. How to use : 1. Either rename the project and start with development OR add AddedViewControllers, Utils and ASIHTTPRequest folders to your project

add 'in stock' filter in product collection in magento

Add 'in stock' filter in product collection in magento To get product that is in stock apply the below filter to your product collection - $productDetails = Mage::getModel('catalog/category')->load($cat_id)->getProductCollection()->add

Types of Mask in Photoshop (part 4)

Hey guys, Welcome back to "Part 4 - Types on Mask in Photoshop". In this Blog i am gonna tell you about Quick Mask. OK Let's get started. Question 1: How to apply Quick Mask? Quick Mask is simply a Mask, but slightly different from previous mentio

REST API in joomla 3.4 with SLIM Framework PART 1

Say Hello to Slim World Today I am going to reveal first part of building REST API in Joomla 3.4 with SLIM Framework. To get started with Slim, here is small introduction about slim framework that is written on SLIM official website. "Slim is a PHP

Getting Assembly Path

There are two methods to get assembly path: Method 1: Assembly asm = Assembly.GetAssembly(this.GetType()); string path = asm.Location; string folderPath = Path.GetDirectoryName(path); Method 2: Assembly asm = Assembly.GetAssembly(this.GetType

Pausing the Game through Coding in Unity3D

You can pause your game in Unity3D by changing the rate at which the time is passing. It is very helpful in making pause menu in the game and in various situations that require pausing of all the events and physics to stop at the moment. To pause yo

1 73 949
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: