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:
- Turn off the keyboard, better yet remove the batteries
- Click the bluetooth icon in the upper toolbar, then select “Set Up Bluetooth Device”
- When the Bluetooth Set Up Assistance is up and start searching for devices
- Insert the batteries and HOLD the power button, do NOT let go
- Your keyboard should now appear in the assistant
- Select the keyboard from the list and click continue, while still holding the power button
- 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.
The 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 »
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 »
With 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.
Another great developer tool and addition to FireBug, adds a toolbar with powerful web developer tools at your fingertips.
As you browse, view live HTTP headers of any page loading in real time.
An advanced eyedropper, color picker, page zoomer and various colorful goodies.
Read more »
Ffmpeg is the de-facto open source standard for encoding audio and video. Especially with the arrival of html5 which uses codecs like Ogg, Theora, Vorbis, h264, webm among others, and the increasing popularity of devices from Apple, such as iPod, iPad and the iPhone, all of which require a different standard from flv, the version so widely in use by Adobe Flash.
Another positive aspect is that ffmpeg has a much revived developer group, posed to enhance the application on a much faster pace than it has been in recent years.
Installation on Linux systems is really straight forward, especially on common distro’s like Ubunty and Fedora. On a Mac, we will have to build it from source (if you’re not a fan of ports like me), including encoder/decoders we plan to use. Here is the breakdown to get ffmpeg installed on a Mac running Snow Leopard.
If you don’t have Git installed, download the Git installer here, install the package and run the script in the source of the mounted image. CVS is included in XCode and that is located on the snow leopard installation disc.
Install LAME (latest version from cvs)
cvs -d:pserver:firstname.lastname@example.org:/cvsroot/lame login
(at the password prompt, press Enter)
cvs -z3 -d:pserver:email@example.com:/cvsroot/lame co -P lame
sudo make install
Read more »
Quick intro for creating folders on an iPad
Creating our own folders to organize files has always been on top of the wish list for the iPad. With iOS 4.2 we finally have the capability of creating desktop folders to store applications, photos, videos or any other content.
In addition, creating folders on the iPad is an easy way to limit the number of screens we have to scroll through when searching for a file or an application.
Create the folder
Create a new folder by tapping and holding down any of the application icons that you want to organize into a folder. Hold it until the icon starts wiggling.
Drag the icon on top of any other icon which you want to include in your folder. This will cause the home screen on your iPad to fade. A folder display will appear containing both of the application icons which you touched. Read more »
Moving, cloning and modifying Virtual Machines and their associated Virtual Hard Disks in VirtualBox has been no easy task and to make matters worse, are poorly documented at best. In this guide, we’re using VirtualBox 3.2.10 r66523 running on Ubuntu 10.10 64bit host operation system.
Merge all snapshots that we want to be included, delete the ones we don’t want. Unless we do this, we only get the base version and loose all changes contained in those snapshots.
Using VBoxManage clonevdi to copy the virtual hard disk to a new VDI file. The basic syntax is: VBoxManage fullPathTooldVdiFile fullPathTonewVdiFile. We need to ensure that a hard disk with that name does not already exist, otherwise we’ll get errors.
VBoxManage clonevdi /data/VirtualMachines/Windows7.vdi /data/VirtualMachines/Windows7_clone.vdi
Add Disk To Virtual Media Manager
We’ll add the new created hard disk to the Virtual Media Manager. This step ensures that the hard disk has been properly cloned, has the proper permissions and that there are no conflicts with other disks and virtual machines. In VirtualBox, select File -> Virtual Media Manager -> Add and select the cloned file, in our case Windows7_clone.vdi. If there are no errors, we should now see the hard disk listed among the others and are ready to proceed with the new Virtual Machine.
Create new Virtual Machine
In VirtualBox, select Machine -> New and proceed with the steps to create a new Virtual Machine. At the point we we select a hard disk, click existing and select our new disk.
Start up the new Virtual Machine and change hostname in /etc/hostname and eventually the network configuration in /etc/network/interfaces.
Mac OS 10.6.5 + apachectl: /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument
After the upgrade to Mac OS 10.6.5 a bug seem to have snuck in where apachectl tries to re-set ulimit to unlimited. The error appears as such:
/usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument
While apachectl was working flawless before the upgrade to Mac OS 10.6.5, I suspected the two were related. After a quick search into what the update entailed, I found that Apple upgraded to Apache 2.2.15, which in turn patched a number of vulnerabilities. As it turned out, one of those changes broke the apachectl script.
Referring to line 82 of apachectl, the shell script was referring to the ULIMIT_MAX_FILES variable that was trying to set to unlimited, which read:
ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`"
Changing the line as follows fixed the problem:
ULIMIT_MAX_FILES="ulimit -S -n 1024"
Should you be running a high amount of vhosts or do some testing that requires a significant amount of file descriptors, set this number higher accordingly.
Growing companies at some point are faced with the increased workload to setup, configure and maintain their servers and applications. Administrators try to script repetitive tasks and ultimately look for solutions that are scalable and provide a central management tool base. There are several software packages available, commercial and open source ones.
Puppet is probably the most used open source configuration management package available today and more system administrators and software developers are interested in setting it up within their environment. An excellent book about Puppet (Pulling Strings with Puppet) is available and so are numerous online articles and tutorials. However, lots of online resources are just not quite complete and can lead to lots of frustration, especially in the setup and configuration of Puppet.
So here is another step by step tutorial about how to install and setup Puppet to the point where we can run a simple recipe residing on the server (puppetmaster) and execute on the client. For this illustration we’ll install Puppet on Ubuntu 10.10 using a deb package.
Configure Network and DNS
Setting up configure hostnames on server and client is crucial. Since Puppet uses self signed certificates to secure communication, it’s essential that network is setup properly and hostnames are configured with fully qualified domain names.
Let’s open /etc/hosts and add the necessary entries. (note: If you use a DNS server in your network, those setting changes should be made on your DNS server and not the hosts file)
Read more »
The Baker E-book Framework is a free, open-source platform to create e-books for the iPad. The framework was developed by a team of Italian software geeks, allowing designers and web developers to transform fixed-width HTML5 pages into an e-book format and subsequently publish the finished product. All publishers have to do is follow the Apple App Store submission guidelines.
The first step involves creating a HTML5 version of your book with fixed width of 768 pixels that works and looks fine using Safari in iPad or via downloadable support CSS at Baker’s site. Keep all files in a flat directory called book and name the html files according to their page number (eg. 1.html, 2.html ….) which is the HPub format. The naming convention is still somewhat strict, but that will change over the next few releases.
Finally download the Baker Framework and follow the simple instructions contained in the readme.txt file:
- Rename the Xcode project
- Include your book
- Include your icon
- Follow the App Store submission instructions
You can check out a sample book created by the Baker folks, 5×15 Tokyo.
Casali and his team hope their creation will lead to more beautiful e-books and digital magazines on the iPad, and for other WebKit-enabled devices later.
You can download the Baker Framework files at the official site, and you can also join the project itself on GitHub.