WhileIf Blog

Programming, Computers and Stuff

Primary menu

Skip to primary content
Skip to secondary content
  • Home
  • WhatsMyIP
  • About

Monthly Archives: November 2010

WordPress – Easy debug mode

Posted on November 29, 2010 by admin — No Comments ↓

When things go wrong, you can always use the super useful WordPress debug tool, WP_DEBUG. By default, you have to paste a line of code in your wp-config.php to make the debug mode available. By if you need to easily Continue reading →

Posted in Code, PHP, Tips, Wordpress | Tagged code, programming, worpress | Leave a reply

PHP – Use Ternary Operators

Posted on November 26, 2010 by admin — No Comments ↓

The benefit of the ternary operator is debatable (there’s only one, by the way). Here is a line of code from an audit we performed recently: The ternary operator may be fine for one-liners, prototypes, and templates, but we strongly Continue reading →

Posted in Code, PHP, Tips | Tagged code, PHP, programming | Leave a reply

Jquery – Shorthand for the ready event

Posted on November 24, 2010 by admin — No Comments ↓

A small tip this one but you can save a few characters by using shorthand for the $(document).ready function. Instead of this… You can do this…

Posted in Code, Javascript, Software, Tips | Tagged code, javascript, jquery, programming | Leave a reply

PHP – Transform URL to hyperlinks

Posted on November 22, 2010 by admin — 1 Comment ↓

If you leave a URL in the comment form of a WordPress blog, it will be automatically transformed into a hyperlink. If you want to implement the same functionality in your own website or web app, you can use the Continue reading →

Posted in Code, PHP, Wordpress | Tagged code, PHP, worpress | 1 Reply

Jquery – No conflict-mode

Posted on November 18, 2010 by admin — No Comments ↓

To avoid conflict other libraries on your website, you can use this jQuery Method, and assign a different variable name instead of the dollar sign.

Posted in Code, Javascript, Tips | Tagged javascript, jquery | Leave a reply

Post navigation

← Older posts

Popular Posts

  • Linux - Log files and usage
  • JQuery - Add an icon for external links
  • Linux - Network comands
  • Ubuntu - How to use shutdown command

Search By Tags!

analytics Anonymous apache benchmark c++ closures code cpu css dom exceptions fedora firefox funny gimp htaccess htacess html images install javascript jpeg jquery kubuntu linux linux mint Maverick Meerkat memcached mkv mysql mysqli netbeans nfs OpenSSL Operating Systems PHP pop3 precise pangolin programmers programming quality quotes recursion Regular Expressions security server software stuff subtitles suse telnet tmpfs tools traits tweaks ubuntu ubuntu server unix Virtualbox vlc web2.0 web marketing work worpress yui zip

Blogroll

  • Android Developers Blog
  • Cats Who Code
  • Developer Blog
  • Planet MySql
  • Planet PHP
  • The Code Project
  • WordPress Planet
Copyright © 2013 WhileIf Blog . All Rights Reserved.
Powered by WordPress | Theme: Catch Box