Tag Archives: tutorial
Find Broken Symbolic Links
# Print out broken symbolic links find -L . -type l Note to self: Move this to a useful Linux tips post.
malloc double free/non- aligned pointer being freed set a breakpoint in malloc_error_break to debug
malloc: *** error for object 0x3874a0: double free ***set a breakpoint in malloc_error_break to debug malloc: *** error for object 0x18a138: Non- aligned pointer being freed *** set a breakpoint in malloc_error_break to debug So basically something in your code … Continue reading
Cannot open /dev/sda1: Device or resource busy
After an update (Upgrade?) a while ago I couldn’t boot into Fedora, it had the text mode bar graph and after getting to 100% it failed with this error message: Cannot open /dev/sda1: Device or resource busy It turned out … Continue reading
How to Find and Remove Folders Recursively in Linux/Unix Because I Always Forget This
# Recursively search for folders called .svn and delete them (Even if not empty) find . -name .svn -type d -print | xargs rm -rf # Recursively search for files called *~ (gedit creates these for temporarily saving to) … Continue reading
Moving from SVN to GIT
So I have a few projects on SourceForge, but they’re all hosted via SVN. With all this distributed version control going on I thought I would like to get in on the action. I thought about moving to github, but … Continue reading
Symbols/Characters Returned by ls -l
$ ls -l total 24 drwxrwxr-x … thisisadirectory -rw-rw-r– … thisisafile lrwxrwxrwx. … thisisalink -> /media/data We know what the rwx fields are but what about d, – and l? Ok, those are pretty obvious too, here is a list … Continue reading
libxdgmm
I think the Portland Project from freedesktop.org, is a great idea and everyone should be supporting it in their applications. I’ve just created a very small C++ wrapper (libxdgmm) for accessing XDG more easily. To use it, you need libxdgmm.h … Continue reading
x86_64 Linux C/C++ Test
I use: gcc cmake KDevelop RapidSVN Meld However, don’t go the websites, all of these are available in the (Default?) repositories, so you can either install them via yum, PackageKit or apt-get. Also note: RapidSVN and Meld are only needed … Continue reading
Linux x86_64
I have been dipping my toe into x86_64 waters sporadically over the last couple of years. On each of the previous occasions it always seemed too immature, packages were way to hard to come by (I prefer precompiled binaries), half … Continue reading