Just moved one of my domains to Amazon Route 53 after zoneedit cant handle the current DDoS they are under and they are not updating information very well. I know they are free so I guess you can expect crappy service but I also pay for another domain that I am going to move to Route 53 if this test goes well. But the current setup for Amazon Route 53 is a PITA unless you plan on building a script to use the API or use a 3rd party tool like cli53
Made a late night run to ritual coffee and saw a guy selling Vegan soup and chocolate in the corner. You can find him on facebook as Soup to Nuts
I just recently purchased a Nerf gun at Target as a impulse buy since it was under $20. I pretty much planed to buy it, go to my friends house and cause havoc and torture my friend daughter which I did. Looking at the gun you cant but think how well made it is and as if someone made it for adults and now I see why. Checking online I see all these reviews and even modders like this video on how to make your gun more powerful. Never thought Nerf gun would have such a hardcore following
Is there something wrong with some seven-year-old Muslim American kid believing that he or she could be President?
Pakistan was the deadliest country for journalists in 2010, with eight killed, followed by Iraq with five. Indonesia, Mexico and Honduras followed, each with three reporters slain.
So I wanted to find a quick code that will allow me to a diff over two folders as I want to be sure all files get transfered as we are using Plesk migrator to move domains from one server to another. Found a Serverfault post titled How do diff over ssh? but most of the suggestions are for files and not folders and none that work recursively. Well using this answer from Server Fault and some man pages I have the following
diff <(ssh server1 'sudo ls -1aR /var/www/vhosts/domain.com') <(ssh server2 'sudo ls -1aR /var/www/vhosts/domain.com')
Update: So a lot of people in the ServerFault page I linked to mentioned rync with the –dry-run flag. I did not look in to this much but just as I posted this blog the first @reply i got on twitter was from @EvanHoffman asking if I had looked at using rsync. Ok so I thought I should revisited the problem and using rsync and I got the follow:
rsync --dry-run -rvce "ssh -p port#" [email protected]:/var/www/vhosts/ /var/www/vhosts/domain.com/(I have not tested the rsync solution with a live box but from testing on my local system I assume this would work) One of the limitation of this you need to be on one of the two servers vs the solutions using diff is something you do on your computer that can SSH to both systems.