Saturday, July 19, 2008

TwoBlindFish

So J and I have been absent recently because we've been super busy with launching our website. After many months of exploring RoR, we have finally come out with something that we're both proud to present to the world.

It's a dating website! We've called it TwoBlindFish. We've taken the following URLs:

www.twoblindfish.com
www.twoblindfish.ca
www.twoblindfish.net
www.twoblindfish.org

If you're single and looking, feel free to drop by and try it out. There's no long forms to fill out, so sign up is quick and easy. For your profile, we use tags, so it's really fast to build your profile. We've also added something entirely new, which is a rating system - get to know someone and we allow you to rate them! ^^

If you're in the Vancouver, B.C. area, we're having a free $5 Waves Coffee card giveaway. Check the website for details!

Have fun, enjoy, and good luck!


W

Thursday, July 17, 2008

Gedit

As promised, here is a list of the plugins that I have been using for gedit:

- change case
- code comment
- document statistics
- embedded terminal
- file browser pane
- indent lines
- insert date/time
- join/split lines
- line tools
- modelines
- rails hot commands
- rails hotkeys
- regex search (files)
- reopen tabs
- session saver
- snap open
- snippets
- spell checker
- split view 2
- todo list
- word completion

Wow! That's a long list. I've also enhanced my snippets for my personal use. I suggest you do the same. They do wonders in saving time ;)

If you got any gedit setups, leave a comment. It would be nice to see the variety of setups!


W

Tuesday, July 15, 2008

Gentoo + Vim

To my dismay, when I was using Gentoo, Vim was not installed. Sad as I was, I attempted to rectify this problem. No worries... a simple 1-liner:

emerge -av vim

and I'm happy once again ^^


W

Saturday, July 12, 2008

Uploading large file to nginx server

If you upload a file over 1M in size to a nginx server, you might get a "Request Entity Too Large" (413) error.
We can overcome this problem by specifying the client_max_body_size in nginx.conf

nano /etc/nginx/nginx.conf

under "server {"
add the following line

client_max_body_size 5M

this will change the max file size to 5M, you can change that number to whatever you like.


J

Tuesday, July 1, 2008

VMWare Server Fix

I managed to find a solution to my previous problem after updating my Ubuntu. It's quick and it also retains all the states of the virtual machines ^^

https://answers.launchpad.net/ubuntu/+question/36849

And just in case the link ever dies:

sudo apt-get install vmware-server-kernel-source
cd <temp dir>
tar xvjf /usr/src/vmware-server.tar.bz2
cd modules/vmware-server-kernel/
export KPKG_DEST_DIR=<where the deb package should go> # otherwise fakeroot won't work
export KVERS=`uname -r`
fakeroot debian/rules binary-modules
sudo dpkg -i $KPKG_DEST_DIR/vmware-server-kernel-modules-`uname -r`*.deb
cd -
rm -r modules
sudo /etc/init.d/vmware-server restart

Enjoy!


W