Setting up User Accounts, Password Authentication, and SSH Keys on a New EC2 Instance

Based on an article from: http://blog.taggesell.de/index.php?/archives/73-Managing-Amazon-EC2-SSH-login-and-protecting-your-instances.html After you have created your instance: Save the Public DNS, it looks something like ec2-########-compute.amazonaws.com After you have your keypair, run this command $ ssh -i mykeypair.pem ubuntu@ec2-##########.compute-1.amazonaws.com You should be in now. Cool. Now set yourself up your own user account. adduser jkeesh Adduser is the one you … Continue reading Setting up User Accounts, Password Authentication, and SSH Keys on a New EC2 Instance

Wow, Facebook Hackers

So I saw a post on my wall from a friend, but something just didn’t sound right. Again, it was a case of the Facebook spam that somehow tricked you into posting something you didn’t want to post to all of your friends. And many people made the mistake, and it spread fast. Mainly, it … Continue reading Wow, Facebook Hackers

mod_rewrite reminder

I was trying to get mod_rewrite working on my WordPress blog which is on a server I set up. Except it just didn’t work. Solution (which you can find on the internet, but not that easily if you don’t know what to look for) is that in your httpd.conf file, you need to make sure … Continue reading mod_rewrite reminder

Split the Bill

Ok, here is the problem. You are at a restaurant with a number of your friends, and the bill comes. But you have a 5, and two 10s. But your bill is 17. And your friend has 2 ones, and a 20. And another friend has three 10s. You need to split the bill–you want … Continue reading Split the Bill

Most Mutual Friends

I always thought it would be interesting to find out who I had the most mutual friends with on Facebook, but it would have been a lot of clicking to find that out. So here is a little tool that lists your friends according to most mutual friends. The results are actually quite surprising. Most … Continue reading Most Mutual Friends