The Linux diff program can be used to record differences between two directories, making it easy to update the old directory later with any of the changes created in the new version of the directory.
I wanted to hide an element on a static page I recently created for my WordPress site.
The easiest way to do this is to create a custom CSS entry for the particular element, the title in my case.
There are occasions when you would like to list ssh tunnel connections
established to or from your server with information about the port numbers used.
There are occasions when you want to contact a user working at a remote computer, but his/her phone is switched off. If the remote user is running an X11 session, and you have ssh access to the remote computer, and you have root privileges on the remote computer, here is a solution.
My desktop computer has a wired connection to the internet and so the built-in wifi card is normally not used. I decided to enable and use it as a wireless access point.
Unfortunately NetworkManager will only create an ad-hoc wifi network, and Android devices will only connect to infrastructure access points. Don’t ask why… A rooted Android phone or tablet can be configured to connect to an ad-hoc network, and if a separate program can configure a Linux box to act as an access point, NetworkManager should be able to do the same. As far as I can see, there are no good technical reasons for either of these deficiencies.
After having installed Netbeans 7.0.1+dfsg1-5ubuntu2 I found that I cannot open old projects. Netbeans will find list the project directories, but will not open the projects. The solution is quite simple.
If you are missing the split view or dual pane functionality in Thunar, at least you can implement a workaround by adding the following custom action definitions to your Thunar config file:
Following the default installation of wireshark it is only possible
to capture packets as root, which is clearly less than ideal. It is
much better to run wireshark as a non-root user:
pyUSB is an excellent Python package that can significantly simplify USB programming.
For most Linux distributions there are packages only for older versions of pyUSB, but since it is actively developed you probably want to have the latest version on your system.
After having installed Ubuntu Linux 14.04 on an Apple Mac I found that the
keyboard layout was not quite correct, e.g. function keys were not easily accesible
and some characters were missing. The changes below will turn the keyboard
into a keyboard with standard PC layout.
The Microchip MPLabX IDE, IPE and XC8 packages need additional 32-bit libraries and so their installation
is slightly more involved than just running the installer scripts.
After a recent kernel update I found that the stock CentOS kernel was less than optimal for the CPU I am using, and so I decided to create a kernel optimised for my VIA C7 CPU.
Update 12/1/2015: It appears that the Nexus 7 is now automatically recognised and made available in xubuntu 14.04.1 Trusty; however, if you are still having trouble, read on.