Have been doing a lot of university work lately and for that extra presentational edge it's nice to drop some syntax highlighted code into your documentation. I found a TextMate Bundle to allow just that ![]()
However its in a Git repository meaning using something like MacPorts to fetch the source of and compile the Git CLI client and all its other dependencies (Curl, OpenSSH, Perl). So for the motivationally challenged amongst you I have done the time consuming work for you.
Today at work during my lunch break I quite fancied a quick go on Mario Kart DS, I have been quite addicted to Mario Kart Wii recently, especially the online play and having a DS and copy of MK at work the only thing I was lacking was a WiFi connection.
I take my Mac to work and connect to the Internet via a wired LAN connection, this leaves my Mac's WiFi card free to use for sharing my Internet connection with my DS. There are a few pitfall's that one can encounter when doing this so this news post is just a quick guide written in the hope that someone else may stumble upon it and find it useful. More...
Since getting a 2GB RS-MMC card for my 770 I have been thinking how nice it would be to open the video player, image viewer, audio player etc and actually have it pointing at a folder that contains content. You see I don't store any media on the 770. I'd rather leave that space free for future application installations.
Fortunately my problem was very easily solved thanks to the nature of Linux.
If you plan on doing this, I recommend either cutting and pasting the commands from the 770's web browser into the "X Terminal" app or SSH'ing into the 770 and pasting them in from your desktop.
First, check that you don't have any files in the default directories, they will not be deleted but you will no longer be able to access them via the file manager or most applications. Then we must make the directories on our Memory card which we plan to store our media in:
mkdir /media/mmc1/Documents
mkdir /media/mmc1/Images
mkdir /media/mmc1/Sounds
mkdir /media/mmc1/Videos
You can obviously call them as you wish but be sure to change them in the code below. Now we symlink the old directory file names (after renaming the old directories)
so as to have them lead to the directories on the memory card.
mv /home/user/MyDocs/.documents /home/user/MyDocs/.documents.old
ln -s /media/mmc1/Documents /home/user/MyDocs/.documents
mv /home/user/MyDocs/.images /home/user/MyDocs/.images.old
ln -s /media/mmc1/Images /home/user/MyDocs/.images
mv /home/user/MyDocs/.sounds /home/user/MyDocs/.sounds.old
ln -s /media/mmc1/Sounds /home/user/MyDocs/.sounds
mv /home/user/MyDocs/.videos /home/user/MyDocs/.videos.old
ln -s /media/mmc1/Videos /home/user/MyDocs/.videos
Then, we load up an app such as the audio player or video player and enjoy ![]()