WhileIf Blog

Programming, Computers and Stuff

Primary menu

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

Monthly Archives: February 2011

YUI – Define anonymous function

Posted on February 28, 2011 by admin — No Comments ↓

Defining an anonymous function in order to keep all variables out of the global scope. Inside the anonymous function, define some shortcuts to utils that will be used frequently (Dom and Event). Inside the the anonymous function, use the onDOMReady Continue reading →

Posted in Javascript, Tips | Tagged javascript, yui | Leave a reply

WordPress – Dynamic Highlight Menu

Posted on February 17, 2011 by admin — 1 Comment ↓

This allows you to theme/style and control the currently selected menu tab in CSS by adding a class=”current” on it. Line 2: If Home, or Category, or Archive, or Search or Single page is selected, class=”current” will be included in Continue reading →

Posted in Code, Tips, Wordpress | Tagged code, programming, worpress | 1 Reply

Ubuntu – Merge avi (mpg or mpeg) files

Posted on February 9, 2011 by admin — No Comments ↓

We will merge the files using cat and mencoder. For that purpose we will first install the appropriate software to use mencoder, then we will concatenate our files and last we will repair some out-of-sync due to the concatenation. We Continue reading →

Posted in General Stuff, Manual/Reference, Tips | Tagged linux, Maverick Meerkat, ubuntu | Leave a reply

Linux – Log files and usage

Posted on February 6, 2011 by admin — 1 Comment ↓

All logs are stored in /var/log directory under Ubuntu (and other Linux distro). /var/log/messages : General log messages /var/log/boot : System boot log /var/log/debug : Debugging log messages /var/log/auth.log : User login and authentication logs /var/log/daemon.log : Running services such Continue reading →

Posted in General Stuff, Software, Tips | Tagged linux, Maverick Meerkat, ubuntu | 1 Reply

Linux – What is my public IP address?

Posted on February 2, 2011 by admin — 1 Comment ↓

Lots of times you need to determine your public IP address, if you are using Linux operating system to power your PC, you may use some good console commands to guess your public IP address. Using wget Using curl Using Continue reading →

Posted in General Stuff, Manual/Reference, Tips | Tagged linux, Maverick Meerkat, software, ubuntu | 1 Reply

Popular Posts

  • PHP Tip - Use Single Quotes when Possible
  • PHP - Check for bot visit ( the High Traffig Mode! )
  • Wordpress - Display “time ago” dates
  • Ubuntu - Convert Quicktime Movies to AVI encoded with MPEG-4 (MOV to AVI)

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