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

Search In

Change UIIMage background color in iOS

Here is a function which returns an image with different background of you choice. - (UIImage* )setBackgroundImageByColor:(UIColor *)backgroundColor withFrame:(CGRect )rect{ // tcv - temporary colored view UIView *tcv = [[UIView alloc] initWithFram

Liferay: Disabling Reset password screen after Registration

You can disable Reset password screen that comes on first login after Registration. Use the below steps to hide the Reset password screen: If portal-ext.properties is not available then you can manually create portal-ext.properties file into the /t

Getting the current absolute URL in Ruby on Rails

Recently I was working on rails 4 application and there was a need to get current absolute URL. So I noticed that as rails evolved, this is also getting changed and thought to pen down these ways for all the rails versions. For Rails 3.2 or Rails 4

What is Stylus ?

Stylus is a dynamic style-sheet language, it's design influenced by Sass and LESS. It makes your development more faster, smarter and more powerful then ever before. you can change your all color scheme in just a single line of code. Quick and Easy

Handle NSLog in iPhone sdk

Through this code we can use NSLOG whenever required. Write this snippet in some common file(say utility) so that it would be easily handled throughout the project. Make sure class should import utility class to handle NSLog. All you need is to chang

Loading module/class from lib folder in Rails 3

Autoloading of modules/classes from lib directory is no more supported by Rails 3. There has been number of if and buts in its support and against but unfortunately it has been removed. While lazy loading was a very good feature where developer need

PHP Basic Errors?

There are three basic types of errors in PHP: Notices: These errors are not displayed to the user at all , the default behavior can be changed. These are non-critical errors that encounters by php while executing a script - for example variable h

Updating one field in database using CakePhp

Updation in CakePHP is basically based on knowing the primary key(Id) of the records one wants to change/edit. You can update a field in CakePhp by two ways:- a)By using saveField method $this->ModelName->id=$id; $this->ModelName->

How to disable caching completely in Cakephp

To completely disable caching application wide, you will have to edit /app/config/core.php and change the line Configure::write(‘Cache.disable’, true); This line is commented by default and you will have to remove comment to disable caching. If th

Zoom in an UIImageView using 3D transform in objc

If you are looking for a function to Zoom in an UIImageView in a 3D tranform scale then you should use CATransform3DScale. First of all declare a BOOL variable to check scale points. Here I am taking CGFloat _scalePoints and CATransform3D transfor

1 70 342
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: