I am running 3 displays on the Apple Macbook Pro by using the Sewell Minideck USB to DVI adapter.
1 – 1440×900 – 15.4” Apple Macbook LED Display
2 – 1920×1200 – 24” Apple Cinema LED Display
3 – 1920×1200 – 24” Samsung 2433BW
I was skeptical of the usb video adapter since the previous models I tried had all sucked horribly. For the past 3 weeks the Sewell adapter has performed way beyond my expectations, however I don’t recommend watching fullscreen HD movies on it since VLC consumed about half of the CPU resources. A utility that is essential (even with just 1 display), is SizeUp by Irradiated Software
which enables shortcuts to auto-position windows. This is 1 of the most handy utilities for Mac OS!
While I’m taking pics, here is my command center:
And the Sewell adapter in production:
Get one of your own adapter now at Amazon: Sewell Minideck
Follow these instructions to resize TrueCrypt volumes on Mac OS without losing your data.
** Definitely backup your stuff (If your not already, omg.) before attempting this on a live system.
** Proceed at your own risk! This process works great for me, but you may have different results. I am not responsible for anything 🙂
- Access to a win* box
- TrueCrypt v6.2a installed on win* box
- Download extcv binaries, available at http://sourceforge.net/projects/extcv
- TrueCrypt volume must not have any ‘hidden’ volumes (they will be destroyed)
- Filesystem on the TrueCrypt volume must use the GUID partition scheme and be formatted as HFS+ (aka Mac OS Extended Journaled)
- Unmount the TrueCrypt image before starting.
Ok, now lets get down to business…
- Launch ‘extcv’ on the win* box.
- Select the file that contains your TrueCrypt volume.
- Enter the new size and go.
* I am assuming you have a solution to move or access your TrueCrypt file from the win and Mac boxes. I personally just used a WinXP vm in Parallels and used shared folders to access the TrueCrypt file on the Mac.
- Mount the TrueCrypt volume on your Mac.
- Launch ‘Terminal.app’.
- View your volumes and current sizes by executing ‘diskutil list’
In my scenario, ‘/dev/disk3’ is the TrueCrypt volume and you can see that the size is now 524MB. The partition I want to expand is ‘disk3s1’ which is currently 100MB.
- View the size limits by executing ‘diskutil resizeVolume disk3s1 limits’
Clearly you see that the max size our new partition could be is 389.8MB
- Now we are going to do the live resize. This is the scary part (double check your backups before completing this step)!
I want my partition to be approximately 250MB. Please read the docs ‘man diskutil’ to see if you want to use different syntax.
Execute ‘diskutil resizeVolume disk3s1 250M’
Confirm the data is still there:
Great, you made it to the end! Hope you enjoyed… Please post comments if you figure out better solutions.
Offering SFTP-only jailed user accounts is useful in many scenarios such as shared web hosts, storage space for friends, etc.
This tutorial is specific to CentOS 5.4 x86 64-bit. Other flavors will vary.
** Make sure you are root or using Sudo
1. Upgrade to OpenSSH 5.x
## fetch the packages
## upgrade OpenSSH
2. Comment out the following line in ‘/etc/ssh/sshd_config’
Subsystem sftp <span class="regexp">/usr/</span>libexec<span class="regexp">/openssh/</span>sftp-server
3. Append these lines to the end of ‘/etc/ssh/sshd_config’
Subsystem sftp <span class="keyword">internal</span>-sftp
Match Group sftponly
ForceCommand <span class="keyword">internal</span>-sftp
4. Add the ‘sftponly’ user group
<span class="title">groupadd</span> sftponly
5. Modify the user’s group and shell
(I’ll use the completely random username: bree_olson)
usermod -g sftponly bree_olson
usermod <span class="operator">-s</span> /bin/<span class="literal">false</span> bree_olson
6. Set the proper filesystem permissions
(Bree’s home directory is /home/bree_olson and her website is in /home/bree_olson/public_html)
<span class="keyword">chmod</span> <span class="number">755</span> /home/bree_olson/
<span class="keyword">chmod</span> <span class="number">755</span> /home/bree_olson
<span class="keyword">chown</span> root:root /home/bree_olson
<span class="keyword">chown</span> bree_olson:sftponly /home/bree_olson/public_html
7. Restart the SSHD daemon
<span style="font-family: Merriweather, Georgia, serif; font-size: 16px; background-color: #ffffff;">And that is it! Just be sure to repeat steps 5 and 6 for all the </span><del style="font-family: Merriweather, Georgia, serif; font-size: 16px;" datetime="2010-03-07T22:39:00+00:00">pornstars</del><span style="font-family: Merriweather, Georgia, serif; font-size: 16px; background-color: #ffffff;"> users that you wish to lockdown.</span>
Keeping track of code snippets, network diagrams, IP allocations, complex syntax and everything else that a typical coder/sysadmin deals with requires a solid knowledge base.
I am using Github for code snippets and Evernote for everything else.
Gists at Github are excellent for storing code snippets. They can even be made public so others could use them also. I was using Snipplr up until now, and it worked out great especially with the TextMate integration. Since I moved my code repositories to Github, I wanted to everything in 1 central place.
Evernote allows you to make separate notebooks and tags which makes organizing your knowledge base pretty simple. The best part though, is the syncing. I am using the Mac and Android apps which sync to evernote.com, so I always have access to my stuff. Adding any type of files within a note is super handy. For instance, I put my network diagram OmniGraffle file in a note and now when I edit the file in OmniGraffle, it automatically saves in the Evernote! Evernote seems to offer a ton of features such as OCR and sharing, but I haven’t explored them much yet.
I am very excited about how both of these services will be increasing my efficiency as I move more of my data into Evernote and Github. Should save tons of time by having access to this info anywhere I go and eliminating having to search a variety of sources.
Tether your phone’s data connection to your computer. Now I always have an emergency internet connection.
Create custom notifications in your status bar. I love being able to set a quick reminder on the fly. For short-term tasks and reminders that would otherwise get lost in RTM, I turn to Status Notes as an extension of my human memory.
I am addicted to Pandora and couldn’t write code without it.
Wirelessly transfer your photos to your computer’s shared folder with 1 magical button. This saves me so much hassle of dealing with USB cables. Oh and I developed this app 🙂
Use your Google Voice # for outbound calls and SMS. I don’t even know my Verizon assigned phone number!
SSH. Perfect for emergencies, just be careful when your root 😉
Store all your passwords and important info in SplashID. It syncs wirelessly to your computer. This app has saved me countless times.
Keep an eye on your IP cams. Works great with my Panasonic cams and even supports pan/tilt/zoom controls.
I would not be able to function without lists. With a RTM pro account, you can sync your tasks to rememberthemilk.com.
Podcasts! Turns your commute into productivity. I spend much less time reading my news feeds and now listen to the podcast versions.
A very slick Twitter client that is not bloated and gets the job done well.
I use Evernote for my personal knowledge base. Having this data with me on my phone definitely comes in handy.
Introducing “Image Transfer” for Android. Officially available now in the Android Market!
I was looking for a way to wirelessly transfer the images from my Droid to my computer. There are several file manager apps that will do this, but I wanted a super simple magic button. So I developed Image Transfer for Android using JCIFS (Java CIFS Client Library).
The app is quite simple. The only requirements are that you have a shared folder on your computer and your Android device is on the same wireless network. After setting up your shared folder, just add your destination computer IP address and the folder to transfer images to along with your username and password in the settings menu. Then just press ‘Start Transfer’ whenever you want to transfer your pictures. Here are some screenshots…