SED: Shell command to find and replace text inside a directory (multiple files)

On June 21, 2012, in Shell, Unix/Linux, by Dipin Krishna , Views : 1332

I have been using this command for a long time now. Whenever i am in need of this command, i won’t be remembering the correct syntax. So, i google it each time. Now, i am gonna write it down here. sed is a marvelous utility. Unfortunately, most people never learn its real power. The language [...]

Tagged with:  

WordPress: Fix – Parameter 1 to fdl_the_content() expected to be a reference – error

On June 20, 2012, in PHP, WordPress, by Dipin Krishna , Views : 884

Today, i moved my blog to a new server. Everything was set up easily. But, when i pulled out a blog post, everything was working correctly, except that the blog post content was missing. I then checked out my php error logs and found this “Parameter 1 to fdl_the_content() expected to be a reference, value [...]

Tagged with:  

iOS: Hide/Show the Status bar in an iPhone/iPad application

On June 17, 2012, in iOS, Objective C, by Dipin Krishna , Views : 1742

Lets see how to change the visibility of the status bar in an iphone/ipad application. The UIApplication class provides a centralized point of control and coordination for applications running on iOS. Every application must have exactly one instance of UIApplication (or a subclass of UIApplication). When an application is launched, the UIApplicationMain function is called; [...]

Tagged with:  

iOS: Change the Orientation of the Status Bar

On June 17, 2012, in iOS, Objective C, by Dipin Krishna , Views : 1375

Lets see how to change the orientation of the status bar programmatically in an iphone/ipad application. There are four orientations: Portrait, PortraitUpsideDown, LandscapeLeft, LandscapeRight. The UIApplication class provides a centralized point of control and coordination for applications running on iOS. Every application must have exactly one instance of UIApplication (or a subclass of UIApplication). When [...]

iOS: How to get App’s Version number (CFBundleVersion)

On June 11, 2012, in iOS, Objective C, by Dipin Krishna , Views : 2012

  Recently, i had to make an update to one of my apps. I was trying to figure out a way to see if all the users have upgraded their app. I made the app to get the current version number and send it to the server. Here is, how you can get the current [...]


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

  • CG Lab Programs in C
  • Linux Tips
  • My World of Codes