How to format XML in Smultron
In my quest to find a great text/code editor for Mac OS-X, so far, I've chosen Smultron. It has a nice set of features for what I need: It supports Unicode, can display East Asian characters just fine (shame on you TextMate), has project support, syntax highlighting, auto-complete and more, and it's free. Most importantly, it also has support to configure and run shell commands, which means you can use other apps to modify the text. One thing I found missing right off the bat was the ability to format, tabify, and indent XML, so it's time to find a command to format XML and integrate it with Smultron.
Read more to find out how to format XML in Smultron
Read more to find out how to format XML in Smultron
Desktop Feng Shui 2
A few things have changed since my previous Desktop Feng Shui.
My older Viewsonic LCD no longer works, so I ended up getting an HP w2207h LCD. In fact, BOTH of my Viewsonic LCDs no longer work, so my wife had to revert back to using her smaller, older Samsung SyncMaster 730B LCD. (She didn't want to get a newer LCD.)
I really like the HP w2207h, esp because my wife was able to find it for about $160. It only comes with VGA and HDMI inputs (no DVI), so some people might think that's a big drawback, but it doesn't matter to me. My cousin is about to visit from Georgia, and we do a lot of video gaming, so I will use my LCD to hook the 360 up via HDMI, so we have the option of playing on two systems simultaneously (sometimes we will play our own games at the same time, other times we'll play multiplayer games together). Anyway, for $160, it's practically a steal. Furthermore the HP can rotate into portrait mode, which I like to use a lot.
Hit the jump to see the latest Desktop Feng Shui.
My older Viewsonic LCD no longer works, so I ended up getting an HP w2207h LCD. In fact, BOTH of my Viewsonic LCDs no longer work, so my wife had to revert back to using her smaller, older Samsung SyncMaster 730B LCD. (She didn't want to get a newer LCD.)
I really like the HP w2207h, esp because my wife was able to find it for about $160. It only comes with VGA and HDMI inputs (no DVI), so some people might think that's a big drawback, but it doesn't matter to me. My cousin is about to visit from Georgia, and we do a lot of video gaming, so I will use my LCD to hook the 360 up via HDMI, so we have the option of playing on two systems simultaneously (sometimes we will play our own games at the same time, other times we'll play multiplayer games together). Anyway, for $160, it's practically a steal. Furthermore the HP can rotate into portrait mode, which I like to use a lot.
Hit the jump to see the latest Desktop Feng Shui.
How to Enable Windows Sharing in Mac OS-X Leopard
Being quite the Mac OS-X newb, I had a little trouble knowing how to share files from my PC to my Mac. Apparently there are still quite a lot of confused people out there in various threads and forums, so I thought I might help clear up with providing my experience on how I got it working. From what others have said, this used to be much easier in OS-X Tiger, and it was a change made in Leopard that is causing all the fuss. I used to have a Macbook Pro and I didn't seem to have this problem, even while using Leopard, but it is definitely an issue on the recently released new Mac Mini.
I will explain how to connect to a windows workgroup, because that's how my network is set up. For other network configurations, this obviously may not work. Furthermore, this only explains how to get your Mac to see Windows shares. My Windows PC can see my Mac Mini, but it cannot access any shares. I'm guessing I need to authenticate somehow, but I'm not sure yet. I'll update if I find out how to get it working the other direction (from Windows to Mac).
Hit the jump to see the instructions on how to enable Windows sharing in Mac OS-X Leopard
I will explain how to connect to a windows workgroup, because that's how my network is set up. For other network configurations, this obviously may not work. Furthermore, this only explains how to get your Mac to see Windows shares. My Windows PC can see my Mac Mini, but it cannot access any shares. I'm guessing I need to authenticate somehow, but I'm not sure yet. I'll update if I find out how to get it working the other direction (from Windows to Mac).
Hit the jump to see the instructions on how to enable Windows sharing in Mac OS-X Leopard
alphatrak
Bringing you the coding smackdown since '95
Bringing you the coding smackdown since '95
Now Playing
- StarCraft - PC
Now Reading
- Death Note
- Ikigami: The Ultimate Limit
- Infinite Game Universe: Mathematical Techniques
- Microserfs by Douglas Coupland
- Pro Android 2