
Search In
Creating image rotation using Image magic by command line.
Some time image taken from iphone when uploaded on the website gets rotated .We can easily find that the image is rotated and can rotate is back by using the following code.
$rotableImage
Blocks are a language-level feature, which allow us to create distinct segment of code.
there are three way to recognize the semaphore.
dispatch_semaphore_create =>
creates a semaphore with initial value

dispatch_semaphore_signal => incremen
If you need to display WI-FI signal strength in percentage than you just have put this method getWifiStrengthPercentage in your utility class and call it whenever you need the Signal information.
public static int getWifiStrengthPercentage(Context)
__weak and __unsafe_unretained are the ownership qualifiers introduced by LLVM Compiler 3.0.
By default all pointers are __strong under ARC which means that when an object is assigned to a pointer, it is retained for as long as that pointer refers t
Yes, we can pass the Block as argument in function. Here it is :
let suppose i create a class Downloader
First declare a Block in Downloader.h:
typedef void (^DownloadComplete)(double,double,double,BOOL,id,id);
then declare method as following i
To add an UIView just above the UIKeyBoard write the below mentioned methods to achieve it.
-(UIView *)getTextFieldAccessoryView{
UIButton *cancel = [UIButton buttonWithType:UIButtonTypeCustom];
[cancel setFrame:CGRectMake(0, self.view.bou
Hi readers,
Many apps require email validation in iOS. Here the function that can be used to check if email string is valid or not. It can be achieved by NSPredicate like following:
-(BOOL)isValidEmail:(NSString *)checkString
{
long numberOfAtP
If you would like to disable word-press updates please follow the below process:
Open your current selected Theme folder.
Open under this folder function.php and
put the below code at the end of this file
//To Disable Theme Updates # WP Version 3.0
To archive a snapshot first you need to create a mongoDB snapshot, The same is discussed on post Creating a mongDB snapshot with LVM. Now mount the created snapshot and copy this to separated storage volume. Or you can create a block level copy of sn
How to use Scale plugin in ImpactJS ?
In the lib folder create a new folder named Plugins and put the "scale.js" plugin in to this folder.
Include the plugin to the requires in any entity.
.requires('Plugins.scale')
Now if we want to resize a bu
