Reset Apple Wireless Keyboard

If you’re like me and countless fellow Mac users that needed to reset their wireless keyboard, just to run into a lengthy process of research and frustration, well then you know what I’m talking about.

It’s completely inexcusable that such a simple, yet highly demanded task is poorly documented by Apple. After all, it appears that besides using a wireless device on more than one mac, users also seem to face issues with sudden connectivity problems at random.

The steps for resetting the wireless keyboard are really simple, just follow along:

  1. Turn off the keyboard, better yet remove the batteries
  2. Click the bluetooth icon in the upper toolbar, then select “Set Up Bluetooth Device”
  3. When the Bluetooth Set Up Assistance is up and start searching for devices
  4. Insert the batteries and HOLD the power button, do NOT let go
  5. Your keyboard should now appear in the assistant
  6. Select the keyboard from the list and click continue, while still holding the power button
  7. Once you get the pairing code, let go of the power button and type in the code.

Your keyboard should now be paired and working. The trick is to hold down the power button during the entire process, simple yet rarely documented.

Fakeproc causing high cpu utilization

I recently was called for help by a WordPress based site owner, suspecting that her site was hacked and cpu utilization of her Ec2 instance was pegged at 100%. She rebooted to remedy the situation, hence I initially could not find anything wrong, no suspicious processes running and network socket connections seemed fine.

The next day she contacted me again, this time right away while her site was bogged down. Despite extremely high cpu utilization, I was able to ssh into the instance after all. And there they were, a bunch of processes appearing to run as “/usr/bin/fakeproc”.

A quick search for a script file did not reveal anything, but socket connections piled up, indicating that the system was compromised as a host of some sort. Killing the processed did not work either. Read more »

Setup A Hosted Git Repository With Gitolite

Git LogoGit has gotten a lot of hype recently, especially among smaller development teams and contractors, for its flexible, distributed environment, ease of use and while Subversion is the old kid on the block, there are pros and cons for each. This article assumes that you already know the intrinsics of the different version control systems and you’ve decided that Git is for you.

Gitolite is a package that allows us to host our repositories using one dedicated user that has restricted access to the host OS and provides access to the source code.

The following steps helped me successfully install and setup Git on a Ubuntu Server 11.04, install gitolite to host my Git repositories and allow secure access over SSH. I’ve not tested other Linux versions, but assume it should be very similar.

The basic steps include:

  • Create User
  • Generate SSH keys
  • Install Git
  • Install Gitolite
  • Administer Gitolite

Read more »

Facebook New Features And Changes Announced At F8

Facebook CEO Mark Zuckerberg and his crew presented the latest Facebook features at f8 today, to a crowd of developers and reporters during Facebook’s F8 keynote. There are many of new changes and features coming to Facebook and we have an outline of them for you.

News

A wide range of new social apps, such as Digg, Gizmodo, USA Today, The Guardian, Flipboard, Yahoo and many more will provide apps tailored to Facebook.

Music and Video

Like apps, music providers will think of ways to engage users on Facebook, like listening to the same music at the same time with your friends. And so will video providers, such as Hulu, Netflix, Flixster and others. Read more »

Tweak User Interface In OS X Lion

OS X LionThe user interface changes of Apple’s new operating system, Lion, are obvious to experienced Mac users. But some of the changes might have you scratching your head, when you don’t for example see traditional scroll bars, the mailbox and folder list, or large enough icons in the Finder sidebar.

You might also be annoyed by the new “reverse scrolling” feature, and the reappearance of that ping sound when you receive new mail messages. Plus, you may be wondering what the “Arrange” button and the extra items in the Finder sidebar are all about.

If you’re a veteran Mac user, you probably have figured out how to change a few things in Lion to get them back the way you like. But if you’re still confused, read on. Read more »

Create mobile and iPad versions of your WordPress site

WPtouch ProHaven’t you thought of creating mobile/iPad versions of your WordPress site? Is it worth the effort? If there just was an easy way to get them created and maintained. Well, there is..

WPtouch is a WordPress plugin for self-hosted WordPress websites that shows a well-designed mobile theme version of your site when visitors use their favorite touch mobile devices like the iPhone/iPod touch, Google Android phones, Motorola Droid, Palm Pre/Pixi, Samsung bada and Blackberry Storm & Torch devices. There is a free version and a paid Pro one. Read more »

Linux jobs get more demand

Linux logoLinux Foundation director Jim Zemlin, has some advise for Linux world professionals. He was as of late quoted saying, “Linux’s increasing use across industries is building high demand for Linux jobs despite national unemployment stats.

Linux.com reaches millions of Linux professionals from all over the world. By providing a Jobs Board feature on the popular community site, we can bring together employers, recruiters and job seekers to lay the intellectual foundation for tomorrow’s IT industry.”

Current requirement is for 8,000 Linux-based technical jobs. Unix is being replaced by Linux in a fast pace and most of todays devices run on a changed version of Linux kernel from servers, HDTV desktops to supercomputing data centres. Read more »

Apache Prefork Vs Worker Threads

Apache Worker ThreadsWe often get questions like: What is the difference between Apache Worker Threads vs Prefork? Is it bad to have the values the same configuration? Is it bad to have them different?

In this quick article we like to shed some light between the two modules and assess in what given circumstance, certain os and application would call for which solution.
Read more »

Best Free Beat Making Software

Beat Making Software Beat Making can be a great way to earn money and build a career in the music industry. Up to now, you only had a couple of options when it came to selecting a beat maker.

The first was to pay a high price for high priced high end equipment.  The other option was to get affordable software that you could afford, but made beats that sounded like crap.
Read more »

View Progress Of MySQL Dump Restore Or Import

Ever wondered why the MySQL command line tool don’t have any sort of progress information or status update? Well, you’re not alone if you do. Especially importing a GB sized dump file can take a long time, especially if the table engine was InnoDB.

There are some clever utilities which can be used to accomplish just that, by giving the user simple, yet useful information about the progress of their process. Let’s look at them.

Bar (Command Line Progress Bar)

The Bar utility, or in full terms Command Line Progress Bar can be downloaded from Sourceforge. If you are running Ubuntu, it’s as simple as running ‘sudo apt-get install bar’ to install it. You then simply pipe your MySQL import and get a nice status bar.

shell> bar -if=mysql_db_data.sql | mysql
Bar utility screenshot

Read more »

Ubuntu 11.04 Natty Narwhal with Unity UI

Ubuntu 1104 Natty NarwhalApril and October are the months where Canonical releases new versions of their OS Ubuntu. And that means it’s time for a new Ubuntu release now, with what may be a ground-breaking user interface and major changes from previous versions that come together nicely.

Ubuntu code named Natty Narwhal, or version 11.04 is here and sporting some radical changes from previous editions of the Linux distro. The most distinguished being the arrival of the Unity desktop environment, which was previously relegated to netbooks. It has integrated search, a combination of launcher and a taskbar, and app menus that have been moved to the top of the screen much like in Max OS X, effectively implementing the best ideas from Apple and Microsoft and a new design. Read more »

iFrame problems in WordPress solved

There seems to be a know problem with iFrames in posts, starting with WordPress 2.2.1, which happens when editors use the internal WYSIWYG editor. A lot of users have reported this issue in frustration.

Initial saving of the content was fine, but subsequently editing and re-saving is would strip iFrame tags. A less than ideal solution was to avoid using the WYSIWYG editor and edit the post using HTML code. Now there is a Mozilla Firefox extension for those that don’t like write pure html code, called Xinha Here!.
Xinha Firefox addon
It’s a pretty cool add-on, that opens either in a new window or  in a bottom bar and let’s you use it as WYSIWYG editor until you’re done, then hit ok and save the article in WordPress. Just ensure that html editor is selected during this process, especially at saving.

I have to say, Xinha works like a charm and has more features than the built in wordpress WYSIWYG editor. For more info, check out xinha’s web site.

Firefox Extensions For Web Developers

Firefox LogoWith the release of Firefox version 4 last week, we thought it’s time for a fresh list of most powerful Firefox extensions for web developers. Even though couple of our mentions are not yet compatible with this latest release, we’re convinced they’ll be available in no time.

While release 4 also includes some HTML 5 enhancements, we like to see some new extensions to help developers with canvas, forms, local storage and other new features in the future.

In case, we mean just in case you don’t have Firefox yet, you can get it here.

FireBug

Javascript debugger, live DOM & CSS inspector and so much more. The de-facto single greatest web developer add-on for Firefox.

Web Developer Toolbar

Another great developer tool and addition to FireBug, adds a toolbar with powerful web developer tools at your fingertips.

Live HTTP Headers

As you browse, view live HTTP headers of any page loading in real time.

ColorZilla

An advanced eyedropper, color picker, page zoomer and various colorful goodies.
Read more »

Enable Digest Authentication In Apache

Auth Digest

Digest Authentication

Basic http authentication in Apache (mod_auith) has been available for a while, but one major downside still exists, which is the exchange of plain text user name and password information over a possibly unsecured network.
That is where Apache Digest Authentication takes over and provides us with MD5 encrypted values, using the mod_digest apache module.

Here are the steps to create a password file to store all account information, install the apache module mod_auth_digest and the necessary configuration parameters to enable security of our restricted area.

Create Account file

For digest authentication we need to use a utility called htdigest, unlike with basic authentication where we used htpasswd. The application takes the file name, realm and username as arguments, then prompts twice for the user’s password. The flag -c creates a new file, it overrides the existing one if exists. Read more »

Move a SVN Subversion Repository

Subversion SVNAt some point in a developers life, we have to upgrade, switch hosting providers or replace broken hardware and with that comes the inevitable. Moving all of our apps, data and configuration settings, and eventually our holy repository.

Moving an SVN repository from one Subversion server to another, while carrying over the entire version history information may seem like a daunting task, but fortunately it’s rather quite easy and straight forward.

Backup your old Repository

Step one is the generate a dump file of the existing repository which we can later move to our new server.
We create this dump with the following command:

# svnadmin dump /path/to/old/repository > repository.svn_dump

This dump file contains now all the revisions that have ever been made and committed to our SVN repository, and therefore this file may get rather large, depending on how active and old the repository is. Read more »

Page 1 of 6123456