Most code snippets related news are at:
Webinar: SmartDataCenter: The Nuts and Bolts of Joyent’s Private Cloud Software 18 May 2012 | 07:00 pm
Join us for an overview of SmartDataCenter, the cloud software that runs the Joyent public cloud and is used to build and operate private, hybrid and public clouds around the world. James Duncan, Chi...
ChefConf 2012 8 May 2012 | 07:00 pm
Opscode is hosting the inaugural user conference in Burlingame, CA at the SF Airport Mariott Waterfront. ChefConf will be three days of insightful demonstrations, interactive workshops, and presentati...
More code snippets related news:
How to Set Title of UITabBarItem Differently to UINavigationController title blog.evandavey.com 11 Sep 2010 | 09:23 am
A handy code snippet for doing as the title of the post says. Place this in the View Controller: - (void)awakeFromNib { self.navigationItem.title = @"My Long Navigation Item Title"; self.tabBarIte...
Make Drupal load faster with Google analytics asynchronous tracking code drupalab.com 26 Apr 2010 | 11:43 pm
New Google analytics code loads asynchronously allowing your page to load faster. It is easy to migrate from old code snippet to asynchronous tracking code. Asynchronous tracking is an improved way t...
Code snippet update : using dependency container qsoft.be 29 Nov 2008 | 08:39 am
The new version of my snippet will not directly instantiate the dependency via the constructor anymore, but get an instance from a DI-container. The main advantage is that the constructors don't h...
Hybrid Dependency Injection : The Code Snippet qsoft.be 23 Oct 2008 | 07:15 am
Typing those external dependency properties by hand can get real annoying, so today I've made a handy snippet I'd thought I'd share. With this snippet, when needing an external dependency...
Code snippet : WordPress qTranslate – Getting current language vijayjoshi.org 3 Apr 2012 | 08:27 pm
So I was working with the qTranslate plugin of WordPress’s and needed to select an image depending on language. qTranslate provides a utility function which returns the current language. The function...
Code Snippet : javascript – Checking for blank spaces in sentence without regex vijayjoshi.org 2 Mar 2012 | 04:55 am
This is actually very interesting. I had a text field which expected a single word string and I had to check it on client side. Using jQuery and JavaScript’s split function we can easily check if an i...
PHP: Get intersecting dates between 2 date ranges vijayjoshi.org 7 Sep 2011 | 08:38 am
Here is a small code snippet that will give you intersecting dates between 2 date ranges. Say, for example, you have 2 date ranges, 1-Jan-2011 to 31-Mar-2011 and 23-Feb-2011 to 4-May-2011. This funct...
PHP: making a file executable nerdcenter.de 24 Feb 2011 | 09:49 pm
The following little code snippet shows you how to change a files permissions to allow its owning user and group to read and execute it.
Handy PHP Code Snippets rafeekphp.wordpress.com 26 Aug 2009 | 04:18 pm
1. Human Readable Random String This code will create a human readable string that will look more close to dictionary words, useful for captchas. view plaincopy to clipboardprint? /************** ...
Adding icon to the menu item in Android thedevelopersinfo.wordpress.com 5 Nov 2009 | 06:46 am
We moved. Please visit this link for this post. There is a good practice to add icons to the menu items. I am going to show code snippet which add icon to the menu item: @Override public boolean...