<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Patabugen</title>
	<atom:link href="http://patabugen.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://patabugen.co.uk</link>
	<description>Sami Greenbury</description>
	<lastBuildDate>Fri, 10 May 2013 11:39:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Purim in Panama</title>
		<link>http://patabugen.co.uk/2013/03/12/purim-in-panama/</link>
		<comments>http://patabugen.co.uk/2013/03/12/purim-in-panama/#comments</comments>
		<pubDate>Tue, 12 Mar 2013 18:33:00 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Central America]]></category>
		<category><![CDATA[Judaism]]></category>
		<category><![CDATA[Panama]]></category>
		<category><![CDATA[Travels]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=1114</guid>
		<description><![CDATA[This time last year I was living on a boat moored in a teeny village with a fantastic past. Unfortunately, it’s present has little more to offer tourists than great pizza and a place to anchor a boat. It did, however, have a painfully slow connection to Panama City. The village was Portobello, the former [...]]]></description>
				<content:encoded><![CDATA[<p>This time last year I was living on a boat moored in a teeny village with a fantastic past. Unfortunately, it’s present has little more to offer tourists than great pizza and a place to anchor a boat. It did, however, have a painfully slow connection to Panama City. The village was Portobello, the former gold port of the world, and I was getting out of there for Purim.</p>
<p>One afternoon, while eating a great pizza with a glass of melon juice I noticed a guy wearing a Magen David around his neck. We are taught that there are Jews all over the world, but what does that really mean? And what does it mean to meet another Jew so far from home?</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:5e97fa75-2850-458d-92ad-3f7e05b5b606" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-03-14-Panama-City-Kuna-Yala-177-8x6.jpg" title="The best Pizza Place" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-03-14-Panama-City-Kuna-Yala-177.png" width="270" height="243" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:65153207-5eb2-40cb-9eda-3d96fb2dd1db" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/boat-8x6.jpg" title="Our Boat" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/boat.png" width="173" height="244" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:49a8a582-15a8-4b9e-9be3-ae486849bec4" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-03-14-Panama-City-Kuna-Yala-180-8x6.jpg" title="The main road in Portobello" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-03-14-Panama-City-Kuna-Yala-180.png" width="270" height="243" /></a></div>
<h1>The curiosity of Jews</h1>
<p>I’d already spent the last few weeks sailing with my new friend Tom, she and I had marvelled at our shared Jewish knowledge. It wasn’t that here, thousands of miles from home, we both know what a mezuzah is, and no, Rabbi, we didn’t have late night Torah study sessions (although we did do a Shabbat Service and Friday night dinner on board). For us, it was the songs, we knew the same words to the same tunes!</p>
<p>Here in Panama was another opportunity, rather than meeting Jews by chance through other activities, I now felt compelled to introduce myself to him. So I did. “Hey, are you Jewish?” sounds much stranger when you say it out loud but he smiled, said &quot;yes, and we started chatting. He was visiting some family in Portobello, and heading back to Panama City, I was also heading to Panama City to buy some supplies for the boat and he offered me a lift. It’s an hour and a half’s drive during which we discussed Judaism in Panama and in London, and he explained that I’d be quite safe in the dangerous city of Colon because I was too scruffy to look worth robbing. Thanks…. I think!</p>
<p>I asked him about Purim, which was coming up in a few days, it’d be cool to see how they do things here. Without a moment’s hesitation he invited me along to his Synagogue! There are 3 or 4 communities in Panama City, and he was a member of the Progressive community, Kol Shearith Israel.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:00b0a308-37d6-4a7d-af2c-33b3d5d2847f" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-01-28-Nuthin-Wong-Utila-45-8x6.jpg" title="Friday Night on the Boat" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-01-28-Nuthin-Wong-Utila-45.png" width="270" height="243" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:aa429e87-7f33-49f3-8d61-8230efc76c8d" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/map2-8x6.jpg" title="Portobelo to Panama City" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/map2.png" width="270" height="243" /></a></div>
<h1>Purim Arrives!</h1>
<p>A week went by, the captain said the weather was clear, we were going to set sail for San Blas on Thursday morning at dawn. I said I’m afraid I cannot come, I’ll be in Panama City for Pruim and can’t be back until the afternoon. I honestly felt like Mordechi, as if the whole of Judaism rested on my being a good Jew this week (which had nothing to do with the huge party Chabad were throwing that night, honest). The captains face wasn’t good, as his <a href="http://www.wikipedia.org/search-redirect.php?go=Go&search=First+Mate">First Mate</a> I helped to run the boat. It was only a small trip and he could manage without me (this captain was so epic he could manage without anyone), but I think he hoped I’d stay on after this last leg – despite knowing I had to get to Guatemala. He agreed to leave Friday morning (weather permitting) so I could make it back in time.</p>
<p>Wednesday afternoon I hopped on one of the amazing pimped out Panama buses, music blaring and neon lights streaking all the way to Colon where I changed for a comparatively dull coach to Panama City. A rude-beyond-belief taxi driver took me to the Synagogue which I entered tentatively. Greeted by smiles and offerings of fancy dress broke down all barriers, I entered the sanctuary and sought out my friend, not seeing him I sat next to a family and made a new one. Halfway through the service, I moved a few rows forward when I spotted him.</p>
<h1>Right at Home</h1>
<p>More than 5 thousand miles from home, on the coast of the Pacific, in a land of a Spanish, American and tribal mix, the closest to the Equator I’d managed, aside from reading the Megila in Spanish I could have been in Finchley. The rabbi was over dressed and over excited, the kids were running amok in their as super hero costumes, the teenagers chatted and the parents tried to make everyone enjoy it as much as they remembered enjoying it.</p>
<p>My Spanish was still awful, but I knew the story through and through and booed and cheered along with everyone else. At the end, some of the Bar Mitzva students came on and gave a little show. It seemed like one super talented young man wanted to perform and dragged his friends along. Ever seen that one before? He did some break dancing, and a magic show, and every was happy! He even had an en-core.</p>
<p>After the service there was a reception and I had food thrust upon me. Ahh Jews <img class="wlEmoticon wlEmoticon-smile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Smile" src="http://patabugen.co.uk/wp-content/uploads/2013/03/wlEmoticon-smile.png" /> There was Pizza, biscuits, wine and coke. Not too different from how we’d have done it at WLS. I mingled and spoke to bugs bunny and batman for about an hour before I had to head off to the Chabad Party. My friend had already left, but the Rabbi had found me earlier and asked whether I needed a lift anywhere, he introduced me to a family who offered me a lift without a moments hesitation.</p>
<h1>Purim on a Boat</h1>
<p>The week before all this happened I was staying in a hostel called Mamallenas, and there I saw a poster for a Purim party on a boat. Now that’s three of my favourite words in one title. It was the local Chabad house organising it, they had hired a massive boat and filled it with falafel and whisky. Charging a US$10 entrance to cover some costs, after that everything was free. Best of all, it started a about an hour after the service at Kol Shearith Israel finished, so after the friendly family dropped me off in the centre of town, they spoke to a Taxi driver so that he would know exactly where to take me – and a Panama price not Tourist price!</p>
<p>Finding the entrance was a bit tricky, it was down a dark road to the entrance of a small dock. I arrived to meet a large group of Israelis chatting in their typical super-fast Hebrew. Not the easiest conversations to join, but I made a few friends. The night was long, and excellent, the boat left the dock around 11pm and made a huge loop of Panama Harbour returning around 4 in the morning. After about an hour the falafel buffet and BBQ were unleashed, and soon after that was the Megila reading. In between and after everyone was chatting to everyone, it was a huge boat full of Jews from all over the world, with tales of their travels and stories of their own to tell.</p>
<h1>Finding Jews Abroad</h1>
<p>Panama was the first time I have sought out Jews while abroad, but I have done it ever since, in Nicaragua I visited the Chabad House for Friday night prayers, in Guatemala I the unique Adat Israel had my Guatemalan friend and myself round for Friday night dinner and in Mexico the Jewish area has many shops packed with Vegan goodies! The Internet has brought people closer together like never before, and special websites connect Jews all over the world to share in the joys of being Jewish. Particularly useful I found <a href="http://www.JewGether.com">www.JewGether.com</a> and <a title="http://www.kosherdelight.com" href="http://www.kosherdelight.com">www.kosherdelight.com</a> for finding communities and making contact.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:b8ba47df-cbbc-49db-a1de-e18c91eeb690" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-05-18-Guatemala-Idat-Israel-06-8x6.jpg" title="My friend and I with Idat Israel in Guatemala City" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-05-18-Guatemala-Idat-Israel-06.png" width="270" height="261" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:52fdd8b7-1518-4c30-8869-32735116f956" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/jewgetherjpg-8x6.gif" title="JewGether.org is a great website" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/jewgetherjpg.png" width="182" height="262" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:d55c3e20-b56e-4088-b97f-074a03cec83d" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-03-Nicaragua-San-Juan-del-Sur-75-8x6.jpg" title="I didn't get a picture with Chabad in Nicaragua" rel="thumbnail lightbox" rel="lightbox[1114]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/03/2012-03-Nicaragua-San-Juan-del-Sur-75.png" width="270" height="261" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2013/03/12/purim-in-panama/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backpacker Kit List</title>
		<link>http://patabugen.co.uk/2013/02/08/backpacker-kit-list/</link>
		<comments>http://patabugen.co.uk/2013/02/08/backpacker-kit-list/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 01:47:44 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Travels]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=1070</guid>
		<description><![CDATA[I meant to write this list before I went to Mexico, and compare it with what I arrived home with but I forgot on both occasions. The list is neither exhaustive nor specialised, just a collection of things I found useful around Central America and Israel in no particular order, as food for thought as [...]]]></description>
				<content:encoded><![CDATA[<p>I meant to write this list before I went to Mexico, and compare it with what I arrived home with but I forgot on both occasions. The list is neither exhaustive nor specialised, just a collection of things I found useful around Central America and Israel in no particular order, as food for thought as you start preparing.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:28a65d98-5a30-4d65-9b85-d9c79fa72968" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/02/2012-01-16-Oaxaca-52-8x6.jpg" title="Oaxaca, Mexico, 2012" rel="thumbnail lightbox" rel="lightbox[1070]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/02/2012-01-16-Oaxaca-52.png" width="270" height="243" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:878e5380-9c9b-4bb3-a4c2-0642b2b81333" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/02/Israel-with-Eli-8-8x6.jpg" title="Israel 2009" rel="thumbnail lightbox" rel="lightbox[1070]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/02/Israel-with-Eli-8.png" width="173" height="244" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:737f9002-56ee-4f5e-95fe-3a7c304b4169" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><a href="http://patabugen.co.uk/wp-content/uploads/2013/02/PICT0394-8x6.jpg" title="Bag on a Bike, Israel 2009" rel="thumbnail lightbox" rel="lightbox[1070]"><img border="0" src="http://patabugen.co.uk/wp-content/uploads/2013/02/PICT0394.png" width="270" height="244" /></a></div>
<p>
<table cellspacing="0" cellpadding="4" width="780" border="1">
<tbody>
<tr>
<td valign="top" width="177" align="right"><strong>Rope/String</strong> </td>
<td valign="top" width="601">A short piece a foot or two long. Handy for holding things together, and stopping toilet doors banging on long bus journeys.</td>
</tr>
<tr>
<td valign="top" width="182" align="right"><strong>Duct Tape</strong></td>
<td valign="top" width="601">Hardly needs explanation, good for fixing books, bottles, boats, beds, bags and all manner of things beginning with a b.</td>
</tr>
<tr>
<td valign="top" width="186" align="right"><strong>Playing Cards</strong></td>
<td valign="top" width="601">Great for breaking the ice with strangers, and having something to do when conversation is thin.</td>
</tr>
<tr>
<td valign="top" width="189" align="right"><strong>Pens</strong></td>
<td valign="top" width="601">One in your pocket, a few in your bag. Only ever carry pens with lids or where the nib is protected, else you’ll end up with ink stains everywhere.</td>
</tr>
<tr>
<td valign="top" width="191" align="right"><strong>Photocopies of your important documents</strong></td>
<td valign="top" width="601">Copies of anything you might possibly need: passport, vaccination record, visa. Keep one on you and one in your bag, or bags. In addition to the real things.</td>
</tr>
<tr>
<td valign="top" width="193" align="right"><strong>Notebook</strong></td>
<td valign="top" width="601">Jot down numbers, directions, hotel rooms so when you’re exhausted, drunk or lost in another language, you’re not stuck. Also great for jotting down words you’re currently learning.</td>
</tr>
<tr>
<td valign="top" width="194" align="right"><strong>Toilet Paper</strong></td>
<td valign="top" width="601">I was never to be found without a healthy wad of toilet paper in my back pocket. Great for when the toilets aren’t up to scratch, or when you spill your soup on the bus.</td>
</tr>
<tr>
<td valign="top" width="195" align="right"><strong>External Hard Drive</strong></td>
<td valign="top" width="601">When your camera memory card fills up, you need to unload it somewhere. Get a small one if possible, they take up less space and are powered by USB rather than a mains plug.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Backup External Drive</strong></td>
<td valign="top" width="601">Keep it in a separate bag/place to your storage drive. If the internet is frequent and reliable, you could backup to the Internet before deleting from your card (but after copying to your External Drive). Remember, if you don’t have two physically separate copies you don’t have a backup.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Alarm Clock</strong></td>
<td valign="top" width="601">So you don’t miss your bus, train station or evening meeting with the local you befriended the day before.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Tea Towel</strong></td>
<td valign="top" width="601">A personal favourite, I like to take packed lunches to save on eating out costs. Wrap it in the tea towel to keep it warm, then use the towel in case you make a mess.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Tupperware Container</strong></td>
<td valign="top" width="601">I like long thin flat-ish ones so you can shove them down the side of a bag. Obviously only useful if you want to carry packed lunches.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Sewing Kit</strong></td>
<td valign="top" width="601">Long bus journeys are a great time to finish patching up your trousers.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Small Torch or reading light</strong></td>
<td valign="top" width="601">For sneaking around dorm rooms, reading on dark buses and finding things you’ve dropped under tables. My phone has a built in torch.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Spare Phone</strong></td>
<td valign="top" width="601">Losing your phone abroad is bad enough, having to find out how to buy a new one can be expensive and time consuming.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Carrier Bags</strong></td>
<td valign="top" width="601">I’ve always got a few plastic bags in the side pocket of my rucksack. They’re handy for when you go shopping, as laundry bags, something to sit on, somewhere for your rubbish and for when things leak.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Contact Cards</strong></td>
<td valign="top" width="601">If your lucky, you’ll make loads of friends. The downside is having to write your email, facebook and number over and over again in ever scrawly writing. I met someone who had a couple of dozen business cards printed, saved lots of time!</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Diary</strong></td>
<td valign="top" width="601">If your the kind to reminisce, keep a brief log with date and a few words about where you were. Once you get home, you may have great difficulty remembering the order of some events! I did mine in a document on the computer.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Skype Credit</strong></td>
<td valign="top" width="601">So when you run out of money, you’ve already topped up your Skype account with enough to phone home with.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>First Aid Kit</strong></td>
<td valign="top" width="601">In addition to duct tape, a few plaster and magic creams. Ibuprofen for the long-journey cramps, Melatonin for the by-golly-I-wish-I-was-asleep moments and Imodium for the floods of diarrhoea.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><a href="https://s5-eu3.startpage.com/do/search?query=portable+charger&amp;cat=pics"><strong>Portable Charger</strong></a></td>
<td valign="top" width="601">Cool and useful. Don’t forget a cable!</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Elastic Bands</strong></td>
<td valign="top" width="601">To seal unfinished bags of nibbles, tie your hair when you’re out of bands and to improvise games on the beach.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Money pouch</strong></td>
<td valign="top" width="601">Never have all your money in one place, keep most of it somewhere not pickpocket-able but have enough on you to get to a safe place if you lose everything else.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Compass</strong></td>
<td valign="top" width="601">If you’re a map-reader you’ll already have your map, hence I don’t need to list it here, however some places have really bad labelling of roads so being able to orient yourself without names is really handy. Also good for knowing which way to look for an excellent sunset (look west). If you want to get really cool, whip it out in a hostel to pick the best room for warmth (south facing windows) or a lie in (east facing windows).</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Cooking Oil</strong></td>
<td valign="top" width="601">I don’t mention a whole cooking set because that’s up to you style of travel. I have, however, been known to whip out my olive oil to keep the hostel door quiet.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Spare Bank Card</strong></td>
<td valign="top" width="601">It could take weeks to get a replacement card sent to your home and then to your foreign location. My bank wouldn’t let me have two cards on one account, so I opened a joint account with my brother and took both cards, meaning I had three bank cards to lose before I was actually in trouble.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Stuff for getting home</strong></td>
<td valign="top" width="601">An envelope with some home money, an oyster card and house keys might be handy when you get back.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Hand bag</strong></td>
<td valign="top" width="601">I travel with three bags, a big one on my back, a smaller one on my front (which I hate and try to avoid), and an empty one inside the big one. This is so I can go to the pub with a few essentials without having to re-pack before and after.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Towel</strong></td>
<td valign="top" width="601">Ah, the famous towel from HHG2G. Not only does it dry you off, they make excellent blankets, holdalls, pillows, padding for souvenirs and insulation for cold beers.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Family Photo</strong></td>
<td valign="top" width="601">Bit of an odd one, but the places I’ve visited have been very family orientated and on several occasions I wish I’d had a small photo in my wallet.</td>
</tr>
<tr>
<td valign="top" width="196" align="right"><strong>Small change from home</strong></td>
<td valign="top" width="601">You’re going to meet foreigners and travellers, they’re often interested in money from around the world, having something to show them can be good fun.</td>
</tr>
</tbody>
</table>
<p>Some other thoughts:</p>
<ul>
<li>Even though you have no idea if it’s a good deal, I always exchanged about £20 worth of cash with the traders at the border. You’ll never save that much by waiting, but having some cash for a bottle of water or a taxi can be really handy. </li>
<li>Some foods are better than others on a bus. Avoid crumbly bread and any peanut butter jars if you can’t scrape the bottom with your finger. I’ve stopped carrying anything I can’t eat the moment I get fed up carrying it (i.e food which needs cooking). Food is heavy. </li>
<li>Write your name and contact info on anything you’d like back if you lose (especially notebooks or cameras). You may not get them, but at least there’s a chance. </li>
<li>Backup your photos. Seriously, you will cry if you don’t. </li>
<li>Whenever you take a photo, think about what you’re going to say when you show it to someone. It’ll help you decide if you should be taking photos or watching the volcano erupt. </li>
<li>Think good and hard about carrying a laptop, and between eBooks and heavy paper ones. There’s a blog on that coming…. soon. </li>
</ul>
<p>Feel free to leave more advice in the comments below!</p>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2013/02/08/backpacker-kit-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparison of Cloud Storage Options</title>
		<link>http://patabugen.co.uk/2013/01/17/comparison-of-cloud-storage-options/</link>
		<comments>http://patabugen.co.uk/2013/01/17/comparison-of-cloud-storage-options/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 14:19:10 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=1049</guid>
		<description><![CDATA[Over the past few months I&#8217;ve switched between several cloud-storage options. Here&#8217;s an overview of my thoughts on each. These are in the order which I tried them in with the newest (and so my current favourite) at the top. Unless otherwise noted, all of these features are available in the free version also. Cubby [...]]]></description>
				<content:encoded><![CDATA[<p>Over the past few months I&#8217;ve switched between several cloud-storage options. Here&#8217;s an overview of my thoughts on each. These are in the order which I tried them in with the newest (and so my current favourite) at the top.</p>
<p>Unless otherwise noted, all of these features are available in the free version also.</p>
<h2>Cubby</h2>
<h3>Pros</h3>
<ul>
<li>Cheap (may go up after Beta period).</li>
<li>DirectSync means you can use the Cubby software to sync files between computers on your LAN without those files counting towards your quota (unless you are also syncing them to the cloud) <strong>Only for paid accounts</strong></li>
<li>Very simple interface.</li>
<li>Easily lets you merge a Cloud folder with a Local folder.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>You get told how many files and how many bytes still need to be synced, but you don&#8217;t get any indication as to the speed it&#8217;s transferring at.</li>
<li>You can share a Cubby with other users, but you can&#8217;t share only a subfolder.</li>
<li>Support are not very helpful. Syncing got stuck with files left for me on two machines, on one occasion a support guy phoned me to try and diagnose, but basically told me to look through the log file myself and find the problem. Email support then refused to help because I had mentioned I&#8217;d used a network drive on one machine, they left me with &#8220;we don&#8217;t support network drives&#8221; regardless of my other machine having the same problem without the network drive.</li>
</ul>
<h2>Wuala</h2>
<h3>Pros</h3>
<ul>
<li>The security concious will enjoy their pre-transfer encryption.</li>
<li>Sync files and folders in place, no need to move or symlink them.</li>
<li>Backup Option lets you have a single-directional syncing folder.</li>
<li>Small, cheap options for sizing.</li>
<li>Easy to contact support by email or through the forum.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>Very limited view of the status of your files.</li>
<li>Requires Java for both</li>
</ul>
<h2>SparkleShare</h2>
<p>Self-Hosted option, based on Git.</p>
<h3>Pros</h3>
<ul>
<li>Self Hosting gives you flexibility and the option of cheap space.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>Self-Hosting means you&#8217;re responsible for your own redundancy.</li>
<li>On large amounts of files (dozens of thousands) SparkleShare appeared to try and handle them in batches of a few hundred, but still froze and never finshed.</li>
</ul>
<h2>Google Drive</h2>
<h3>Pros</h3>
<ul>
<li>Get to your files quickly if you use Gmail.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>Hogged resources when tracking many files (I added dozens of thousands, and often had to quit Drive to keep everything else running).</li>
<li>You have to keep your files in the Google Drive folder.</li>
<li>Doesn&#8217;t follow symlinks.</li>
<li>You can only sync into an empty folder, you cannot merge your Drive contents with some local files (an issuee after a reinstall) to save downloading files again.</li>
</ul>
<h2>Dropbox</h2>
<h3>Pros</h3>
<ul>
<li>Most of the people I&#8217;ve wanted to share files with, already have Dropbox.</li>
<li>Easily see the status of your files and you have the information you need to judge how long until everythnig is in sync.</li>
<li>Share individual folders with other users.</li>
<li>Follows Symlinks (Junctions/Hardlinks).</li>
</ul>
<h3>Cons</h3>
<ul>
<li>The smallest package is £10 for 100GB, if you only need 20GB it can feel nasty to pay for all the space you don&#8217;t need.</li>
<li>Based on Amazon s3 you&#8217;re supporting Amazon and their <a href="http://www.ethicalconsumer.org/commentanalysis/corporatewatch/isittimetoboycottamazon.aspx">less than friendly business and environmental practices</a>.</li>
<li>All your files must be in your Dropbox folder, however following Symlinks eases this trouble.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2013/01/17/comparison-of-cloud-storage-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using xDebug&#8217;s Clickable Stack trace with Programmer&#8217;s Notepad (and MINGW32) in Windows</title>
		<link>http://patabugen.co.uk/2013/01/07/using-xdebugs-clickable-stack-trace-with-programmers-notepad-and-mingw32/</link>
		<comments>http://patabugen.co.uk/2013/01/07/using-xdebugs-clickable-stack-trace-with-programmers-notepad-and-mingw32/#comments</comments>
		<pubDate>Mon, 07 Jan 2013 15:34:56 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=1018</guid>
		<description><![CDATA[I&#8217;ve spent far more time trying to make this work than I care to admit. The mistake I&#8217;ve made in the past is to try and do this in a batch file, I&#8217;ve now done it in bash (which I have anyway since I installed Git and asked for unix-tools to be globally available). xDebug [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve spent far more time trying to make this work than I care to admit. The mistake I&#8217;ve made in the past is to try and do this in a batch file, I&#8217;ve now done it in bash (which I have anyway since I installed Git and asked for unix-tools to be globally available).</p>
<p>xDebug lets you turn file names into click able links, which can in turn be used to launch your text editor in the right place.</p>
<p>Requirements:</p>
<ul>
<li>bash &amp; sed &#8211; These come when you install Git and ask for the Unix tools to be globally available</li>
<li><a href="http://pnotepad.org">Programmers Notepad</a> &#8211; naturally. Though this is easy enough to tweak to any editor.</li>
<li>Firefox and xDebug</li>
</ul>
<h1>Step 1 &#8211; Create the SH file</h1>
<p>Put this text into a file called &#8220;EditWithPnotepad.sh&#8221; and save it somewhere sensible. You may need to tweak the last line, especially if you want to use this for an editor other than PNotepad.</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
uo=$1
protocol=$(echo $uo | sed 's/\([a-z]*\):\/\/\(.*\):\([0-9]*\)\//\1/');
file=$(echo $uo | sed 's/\([a-z]*\):\/\/\(.*\):\([0-9]*\)\//\2/');
line=$(echo $uo | sed 's/\([A-z]*\):\/\/\(.*\):\([0-9]*\)\//\3/');
&quot;C:\Program Files (x86)\Programmer's Notepad\pn.exe&quot; --line $line &quot;$file&quot; &amp;
</pre>
<h1>Step 2 &#8211; Register the protocol</h1>
<p>Open regedit and create the following keys &#8211; we&#8217;ll set the values after. Do this by right clicking on the parent (HKEY_CLASSES_ROOT, then pontepad etc) and clicking on New &gt; Key.</p>
<pre class="brush: plain; title: ; notranslate">
[HKEY_CLASSES_ROOT\pnotepad]
[HKEY_CLASSES_ROOT\pnotepad\shell]
[HKEY_CLASSES_ROOT\pnotepad\shell\open]
[HKEY_CLASSES_ROOT\pnotepad\shell\open\command]
</pre>
<p>Click on <em>pnotepad </em>and the double click on<em> (default) </em>to change it. Set it to &#8220;URL: PNotepad Protocol&#8221;.</p>
<p>Under that same<em> (default)</em> key right click in the blank space and click on<em> New &gt; Key </em>and name it &#8220;URL Protocol&#8221;. It needs no value.</p>
<p>Now click on <em>Command </em>and set its<em> (default)</em> to your own version of the following, be careful not to mess up the quotes or spaces.</p>
<pre class="brush: plain; title: ; notranslate">
&quot;C:\Program Files (x86)\Git\bin\sh.exe&quot; &quot;D:\Path\To\Your\EditWithPnotepad.sh&quot; &quot;%1&quot;
</pre>
<h1>Step 3 &#8211; Tell xDebug how to format URLs</h1>
<p>Open up your php.ini and add or edit this line, then restart PHP/Apache as required.</p>
<pre class="brush: plain; title: ; notranslate">
xdebug.file_link_format=&quot;pnotepad://%f:%l&quot;
</pre>
<h1>Step 4 &#8211; Test</h1>
<p>That should be it, make some code code throw an error and try clicking the link.</p>
<p>Any touble, or updates let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2013/01/07/using-xdebugs-clickable-stack-trace-with-programmers-notepad-and-mingw32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magical Image Resizing URL&#8217;s with Zend_Framework (and cached for Apache)</title>
		<link>http://patabugen.co.uk/2012/08/20/magical-image-resizing-urls-with-zend_framework-and-cached-for-apache/</link>
		<comments>http://patabugen.co.uk/2012/08/20/magical-image-resizing-urls-with-zend_framework-and-cached-for-apache/#comments</comments>
		<pubDate>Mon, 20 Aug 2012 11:49:17 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=952</guid>
		<description><![CDATA[As a lazy programmer I don&#8217;t like resizing images all the time. So I made this bit of code to let me write a URL including the file size and have the work done for me. Written for Zend Framework 1.11.12 It will resize the image and save it into the correct location so that [...]]]></description>
				<content:encoded><![CDATA[<p>As a lazy programmer I don&#8217;t like resizing images all the time. So I made this bit of code to let me write a URL including the file size and have the work done for me.</p>
<ul>
<li>Written for Zend Framework 1.11.12</li>
<li>It will resize the image and save it into the correct location so that Apache will find it next time and not call the PHP.</li>
<li>You can specify the required width, height, both or neither.</li>
<li>If a width or height is given as 0 then the original dimension will be used.</li>
</ul>
<h2>Add some settings to application.ini</h2>
<pre class="brush: php; title: ; notranslate">
cache.publicDir = '/cache'
cache.dataDir = APPLICATION_PATH &quot;/../public/cache&quot;
data.dataDir = APPLICATION_PATH &quot;/../public/data
</pre>
<h2>Add a route in the Bootstrap</h2>
<p>The regex router must match a URL containing the required file sizes, the file name and as many sub directories as thrown at it. It matches the following and sends them to the ThumbAction on FilesController:</p>
<ul>
<li>/cache/100/200/file.jpg</li>
<li>/cache/100/200/subdir/file.jpg</li>
<li>/cache/100/200/another-subdir/file.jpg</li>
</ul>
<pre class="brush: php; title: ; notranslate">
$router-&gt;addRoute('file_resized_thumbnail', new Zend_Controller_Router_Route_Regex(
	'cache/([0-9]*)/([0-9]*)(.*/?)/([^/]*?)',
		array(
			'controller'	=&gt; 'files',
			'action'		=&gt; 'thumb',
		),
		array(
			1	=&gt; 'width',
			2	=&gt; 'height',
			3	=&gt; 'subdir',
			4	=&gt; 'file'
		),
		'/cache/%d/%d/%s/%s'
));
</pre>
<h2>FilesController.php::ThumbAction()</h2>
<pre class="brush: php; title: ; notranslate">
/**
*	Loads the file, gets a resized version and saves it in a location identical to 
*	the current URL so Apache can find it next time.
**/
public function thumbAction()
{
	$this-&gt;view-&gt;layout()-&gt;disableLayout();
	$options = $this-&gt;_helper-&gt;container-&gt;get('options');
	
	$fileName = $this-&gt;getRequest()-&gt;getParam('file');
	$subdir = $this-&gt;getRequest()-&gt;getParam('subdir');
	$width = $this-&gt;getRequest()-&gt;getParam('width');
	$height = $this-&gt;getRequest()-&gt;getParam('height');
	
	$cacheUrlPrefix = $options['cache']['publicDir'];
	$cachePathPrefix = $options['cache']['dataDir'];
	$dataPathPrefix = $options['data']['dataDir'];
	
	$fileName = urldecode($fileName);
	$subdir = ($subdir == &quot;&quot;) ? &quot;&quot; : urldecode($subdir);
	
	$fullPath = $dataPathPrefix.'/'.$subdir.$fileName;
	
	if(realpath($fullPath) == false){
		throw new Zend_Controller_Action_Exception('File not Found: '.$fullPath, 404);
	}
	$file = new Pata_File(array(
		'path'			=&gt;	$fullPath
	));
	
	if ($file == false) {
		throw new Zend_Controller_Dispatcher_Exception('That file was not found in that subdir');
	}
	$cacheDir = $cachePathPrefix.'/'.$width.'/'.$height.$subdir;
	$cacheFile = $cacheDir.'/'.$fileName;
	if (file_exists($cacheDir) == false) {
		mkdir($cacheDir, 0777, true);
	}
	imagepng($file-&gt;getThumbnailPng($width, $height), $cacheFile);
	
	header('content-type: image/png');
	readfile($cacheFile);
}
</pre>
<h2>library/Pata/File.php</h2>
<pre class="brush: php; title: ; notranslate">
/*
*	This is a model I use to make working with files a bit easier. Several of the functions are used by thumbAction but the code could be moved to the controller if you so desired.
*/
&lt;?php
class Pata_File
{
	protected $path;
	protected $relativePath;
	protected $url;
	protected $image;
	protected $thumbUrl;
	protected $thumbnailDimensions = array();

	protected $thumbnailPng = array();
	
	protected $description;
	
	public function __construct($options)
	{
		if (isset($options['path'])) {
			$this-&gt;path = $options['path'];
		}
		if (isset($options['relativePath'])) {
			$this-&gt;relativePath = $options['relativePath'];
		}
		if (isset($options['url'])) {
			$this-&gt;url = $options['url'];
		}
		if (isset($options['thumbUrl'])) {
			$this-&gt;thumbUrl = $options['thumbUrl'];
		}
	}

	public function getName()
	{
		return basename($this-&gt;getPath());
	}
	
	public function getPath()
	{
		if ($this-&gt;path == null) {
			throw new Exception('No path has been set');
		}
		return $this-&gt;path;
	}
	
	public function getRelativePath()
	{
		return $this-&gt;relativePath;
	}
	
	public function getDir()
	{
		return substr($this-&gt;getPath(), 0, - strlen($this-&gt;getName()));
	}
	
	public function setDescription($description)
	{
		$this-&gt;description = $description;
	}
	
	public function getDescription()
	{
		return $this-&gt;description;
	}
	
	/**
	 * The URL to the actual file itself - not a page displaying it, see getPageUrl()
	 * @return type 
	 */
	public function getUrl($width = 800, $height = null)
	{
		if ($this-&gt;url == null) {
			throw new Exception('No url has been set');
		}
		$height = $height ?: round($width * 0.75, 0);
		return str_replace(array(':width:', ':height:'), array($width, $height), $this-&gt;url);
	}
	
	public function getThumbUrl($width = 120, $height = null)
	{
		if ($this-&gt;thumbUrl == null) {
			throw new Exception('No thumbUrl has been set');
		}
		$height = $height ?: round($width * 0.75, 0);
		return str_replace(array(':width:', ':height:'), array($width, $height), $this-&gt;thumbUrl);
	}

	public function setPath($new)
	{
		$this-&gt;path = $new;
	}
	
	public function setUrl($new)
	{
		$this-&gt;url = $new;
	}
	
	public function setThumbUrl($new)
	{
		$this-&gt;thumbUrl = $new;
	}
	
	public function setPageUrl($new)
	{
		$this-&gt;pageUrl = $new;
	}
	
	/**
	 *	Page Url is the URL to the page on which this image can be viewed
	 */
	public function getPageUrl()
	{
		if ($this-&gt;pageUrl == null) {
			throw new Exception('No pageUrl has been set');
		}
		return $this-&gt;pageUrl;
	}
	
	public function getExtention()
	{
		if (preg_match('/\.[A-z0-9]+$/', $this-&gt;getPath(), $ext)) {
			$ext = $ext[0];
			$ext = substr($ext, 1);
		} else {
			$finfo = new finfo(FILEINFO_MIME);
			$mime = $finfo-&gt;file($this-&gt;getPath());
			$mime = explode(&quot;;&quot;, $mime);
			$mime = $mime[0];
			$mimeToExt = array(
				&quot;text/plain&quot; =&gt; &quot;txt&quot;,
			);
			if (isset($mimeToExt[$mime])) {
				$ext = $mimeToExt[$mime];
			} else {
				$ext = &quot;&quot;;
			}
		}
		return $ext;
	}
	
	public function freeMemory()
	{
		imagedestroy($this-&gt;getImage());
		$this-&gt;img = null;
	}
	
	public function getImage()
	{
		if ($this-&gt;image == null) {
			switch(strtolower($this-&gt;getExtention())){
				case &quot;jpg&quot;:
				case &quot;jpeg&quot;:
					$this-&gt;img = imagecreatefromjpeg($this-&gt;getPath());
					break;
				case &quot;png&quot;:
					$this-&gt;img = imagecreatefrompng($this-&gt;getPath());
					break;
				case &quot;gif&quot;;
					$this-&gt;img = imagecreatefromgif($this-&gt;getPath());
					break;
				case &quot;bmp&quot;;
					$this-&gt;img = imagecreatefrombmp($this-&gt;getPath());
					break;
				case &quot;.txt&quot;;
				case &quot;doc&quot;;
					$this-&gt;img = imagecreatefrompng(realpath(dirname(__FILE__).'/File/Images/thumb_doc.png'));
					break;
				case &quot;xls&quot;;
					$this-&gt;img = imagecreatefrompng(realpath(dirname(__FILE__).'/File/Images/thumb_excel.png'));
					break;
				default;
					$this-&gt;img = imagecreatefrompng(realpath(dirname(__FILE__).'/File/Images/thumb_unknown.png'));
					break;
			}
		}
		return $this-&gt;img;
	}
	
	public function getThumbnailDimensions($width, $height, $return = 'both')
	{
		$cacheName = $width.'x'.$height.$return;
		if (isset($this-&gt;thumbnailDimensions[$cacheName])) {
			return $this-&gt;thumbnailDimensions[$cacheName];
		}
		
		if ($this-&gt;getType() == 'images') {
			$imgSize = getimagesize($this-&gt;getPath());
			$imgWidth = $imgSize[0];
			$imgHeight = $imgSize[1];
		} else {
			$img = $this-&gt;getImage();
			$imgWidth = imagesx($img);
			$imgHeight = imagesy($img);
		}
		if ($width &gt; 0) {
			$thumbWidth = $width;
		} else {
			$thumbWidth = ($imgWidth / $imgHeight) * $height;
		}
		if ($height &gt; 0) {
			$thumbHeight = $height;
		} else {
			$thumbHeight = ($imgHeight / $imgWidth) * $width;
		}
		
		$thumbWidth = floor($thumbWidth);
		$thumbHeight = floor($thumbHeight);
		$returnValue = null;
		if ($return == 'both') {
			$returnValue = array('width' =&gt; $thumbWidth, 'height' =&gt; $thumbHeight);
		} elseif ($return == 'width') {
			$returnValue = $thumbWidth;
		} elseif ($return == 'height') { 
			$returnValue = $thumbHeight;
		} else {
			throw new Exception($return . ' is not a valid parameter for return type for getThumbnailDimensions in Pata_File');
		}
		
		$this-&gt;thumbnailDimensions[$cacheName] = $returnValue;
		return $returnValue;
	}
	
	public function getThumbnailPng($width = 0, $height = 0)
	{
		if (!isset($this-&gt;thumbnailPng[$width.'x'.$height])) {
			$img = $this-&gt;getImage();
			$imgWidth = imagesx($img);
			$imgHeight = imagesy($img);
			$thumbTop = 0;
			$thumbLeft = 0;
			// If we have specified widths and heights, use them. Otherwise calculate them
			if ($width == 0 &amp;&amp; $height == 0) {
				$thumbWidth = $imgWidth;
				$thumbHeight = $imgHeight;
			} else {
				$dimensions = $this-&gt;getThumbnailDimensions($width, $height);
				$thumbWidth = $dimensions['width'];
				$thumbHeight = $dimensions['height'];
			}
			// These default to not being changed
			$scaleWidth = $thumbWidth;
			$scaleHeight = $thumbHeight;

			if ($imgWidth &gt; $imgHeight) {
				$scaleHeight = ($imgHeight / $imgWidth) * $thumbWidth;
				$thumbTop = ($thumbHeight - $scaleHeight) / 2;
			} elseif($imgWidth &lt; $imgHeight) {
				$scaleWidth = ($imgWidth / $imgHeight) * $thumbHeight;
				$thumbLeft = ($thumbWidth - $scaleWidth) / 2;
			}
			
			$thumb = ImageCreateTrueColor($thumbWidth, $thumbHeight);
			// Fill the image with transparency
			imagesavealpha($thumb, true);
			$trans_colour = imagecolorallocatealpha($thumb, 0, 0, 0, 127);
			imagefill($thumb, 0, 0, $trans_colour);
	
			imagecopyresampled($thumb, $img, $thumbLeft, $thumbTop, 0, 0, $scaleWidth, $scaleHeight, $imgWidth, $imgHeight);
			imageinterlace($thumb, true);
			$this-&gt;thumbnailPng[$width.'x'.$height] = $thumb;
		}
		return $this-&gt;thumbnailPng[$width.'x'.$height];
	}
	
	function getType()
	{
		$types = $this-&gt;getFileTypeExtentions();
		foreach ($types as $type =&gt; $exts) {
			if (in_array(strtolower($this-&gt;getExtention()), $exts)) {
				return $type;
			}
		}
		return 'unknown';
	}
	
	function getFileTypeExtentions($type = null)
	{
		$types = array(
			'images'		=&gt; array('jpg','jpeg','gif','png','tiff','bmp'),
			'documents'		=&gt; array('doc', 'docx', 'txt', 'rtf', 'odt', 'pdf'),
			'spreadsheets'	=&gt; array('xls'),
		);
		if ($type != null) {
			if (!isset($types[$type])) {
				throw new Exception('Pata_Gallery-&gt;getFileTypeExtentions() does not have a list of extentions for the &quot;'.$type.'&quot; type');
			}
			return $types[$type];
		}
		return $types;
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2012/08/20/magical-image-resizing-urls-with-zend_framework-and-cached-for-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using WYMEditor with Dojo (by including jQuery when needed)</title>
		<link>http://patabugen.co.uk/2012/08/13/using-wymeditor-with-dojo-by-including-jquery-when-needed/</link>
		<comments>http://patabugen.co.uk/2012/08/13/using-wymeditor-with-dojo-by-including-jquery-when-needed/#comments</comments>
		<pubDate>Mon, 13 Aug 2012 15:28:53 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Dojo]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[deferred]]></category>
		<category><![CDATA[deferredlist]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[io.script]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[rich text]]></category>
		<category><![CDATA[wymeditor]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=934</guid>
		<description><![CDATA[I&#8217;ve decided to use Dojo for a project &#8211; to test the waters. However I&#8217;d like to still use WYMEditor. WYMEditor requires jQuery internally as well as for it&#8217;s handy jQuery plugin. Obviously I don&#8217;t want to always load jQuery in addition to Dojo for the few pages it&#8217;s required on, so here&#8217;s the solution [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve decided to use <a href="http://dojotoolkit.org/">Dojo</a> for a project &#8211; to test the waters. However I&#8217;d like to still use <a href="http://www.wymeditor.org/">WYMEditor</a>. WYMEditor requires jQuery internally as well as for it&#8217;s handy jQuery plugin. Obviously I don&#8217;t want to always load jQuery in addition to Dojo for the few pages it&#8217;s required on, so here&#8217;s the solution I&#8217;ve come up with to dynamically load jQuery and any other required files using a DeferredList.</p>
<p>I have this as a function to which I pass a form name; in Dojo I then check whether there are any <code>.richTextEditor</code> elements and begin the initialisation if required.</p>
<p>I guess it would be good to wrap this into a dojo module of some sort.</p>
<p><strong>Versions:<br />
</strong></p>
<ul>
<li>Dojo version: 1.7.2</li>
<li>jQuery: 1.7.1</li>
<li>WYMEditor: 1.0.0a5</li>
</ul>
<pre class="brush: jscript; title: ; notranslate">
require(['dojo/DeferredList', 'dojo/io/script'], function(DeferredList, script) {
	// We don't want to include things twice because it's bad and breaks WYMEditor.
	var requireds = [];
	if (typeof jQuery == &quot;undefined&quot;) {
		requireds.push(script.get({ url: '/js/jquery/jquery-1.7.1.min.js', checkString: 'jQuery' }));
	}
	// If you wanted, it would not be a bad idea to check for each plugin individually.
	if (typeof WYMeditor == &quot;undefined&quot;) {
		requireds.push(script.get({ url: '/js/jquery/wymeditor/jquery.wymeditor.js', checkString: 'WYMeditor' }));
		requireds.push(script.get({ url: '/js/jquery/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js', checkString: 'WYMeditor.editor.prototype.hovertools' }));
	};

	var dl = new DeferredList(requireds);
	dl.then(function(res){
		jQuery(function(){
			// Fill in your options here
			var editorOptions = {};
			jQuery('.richTextEditor').wymeditor(editorOptions);
			// You might also want to add the wymupdate class to your submit button here
		});
	});
});
</pre>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2012/08/13/using-wymeditor-with-dojo-by-including-jquery-when-needed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan Text for Postcodes and Plot Them on a Map</title>
		<link>http://patabugen.co.uk/2012/08/13/scan-text-for-postcodes-and-plot-them-on-a-map/</link>
		<comments>http://patabugen.co.uk/2012/08/13/scan-text-for-postcodes-and-plot-them-on-a-map/#comments</comments>
		<pubDate>Mon, 13 Aug 2012 14:25:27 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=925</guid>
		<description><![CDATA[I&#8217;ve often been frustrated when sites list addresses (such as store locations) without providing a map to help you visually see the closest one to you, or the best one to stop by on your way somewhere. So I dreamed up a tool to parse a web page for postcodes and plot them, this afternoon [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve often been frustrated when sites list addresses (such as store locations) without providing a map to help you visually see the closest one to you, or the best one to stop by on your way somewhere.</p>
<p>So I dreamed up a tool to parse a web page for postcodes and plot them, this afternoon <a href="http://avi.co">my brother</a> asked me for one so I finally got around to making one.</p>
<p>It is here: <a href="http://pata.cat/maps/postcode-picker">http://www.pata.cat/maps/postcode-picker</a></p>
<p>Comments, ideas and feedback are welcome. The source is also yours on request &#8211; it&#8217;s a part of a bigger Zend Framework project and a little finickety to share easily.</p>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2012/08/13/scan-text-for-postcodes-and-plot-them-on-a-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PEAR, PHPUnit and Selenium on Windows</title>
		<link>http://patabugen.co.uk/2012/08/01/installing-pear-phpunit-and-selenium-on-windows/</link>
		<comments>http://patabugen.co.uk/2012/08/01/installing-pear-phpunit-and-selenium-on-windows/#comments</comments>
		<pubDate>Wed, 01 Aug 2012 15:19:22 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpunit]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[selenium rc]]></category>
		<category><![CDATA[unit testing]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=921</guid>
		<description><![CDATA[I wrote this for use at work, hence some of the wording. I may re-edit it one day, but it should do the trick. Feel free to leave any comments or questions below. Installing PHPUnit on Windows is done with PEAR. Installing PEAR Create the folder c:\program files\PEAR (This is your PEAR path) Download go-pear.phar [...]]]></description>
				<content:encoded><![CDATA[<p>I wrote this for use at work, hence some of the wording. I may re-edit it one day, but it should do the trick. Feel free to leave any comments or questions below.</p>
<p>Installing PHPUnit on Windows is done with PEAR.</p>
<h1>Installing PEAR</h1>
<ol>
<li>Create the folder c:\program files\PEAR (This is your PEAR path)</li>
<li>Download go-pear.phar from here: http://pear.php.net/go-pear.phar (the one which comes with PHP is usually broken) and save it in your PEAR path.</li>
<li>Open a command prompt and navigate to your new PEAR folder, type php go-pear.phar</li>
<li>Hit Enter to agree to a System install then Enter again to confirm all the settings are good (after checking them, of course).</li>
<li>PEAR is now installed. When we use PEAR to install things, it creates a .bat files in our PEAR directory which can is used to run them. For example by the end of this page PHPUnit.bat will be installed and we can call it from the command line as &#8216;phpunit&#8217; since windows is clever like that.</li>
</ol>
<p>To be able to run these commands from outside of the PEAR directory we must add the PEAR directory to our PATH Environment Variable.</p>
<ol>
<li>Press Windows Key and Pause/Break to load the System screen.</li>
<li>On the left click on Advanced System Settings.</li>
<li>Click on the Advanced tab then &#8220;Environment Variables..&#8221; button at the bottom.</li>
<li>In the bottom list, &#8220;System Variables&#8221; find and select the PATH variable and click Edit.</li>
<li>Add a semi colon to the end of the list, and enter the path to your PEAR directory.</li>
<li>Click OK and then OK again.</li>
</ol>
<p>You will need to open a new CMD window if you already have one open so that you get one with the new environment variables available.</p>
<ol>
<li>Run &#8220;pear upgrade&#8221; to test and get the latest version in one handy step.</li>
</ol>
<h1>Installing PHPUnit</h1>
<p>Navigate to your PEAR folder and run the following commands</p>
<ol>
<li>
<pre>pear config-set auto_discover 1</pre>
</li>
<li>
<pre>pear install --alldeps pear.phpunit.de/PHPUnit</pre>
</li>
</ol>
<p>PEAR creates a file called PHPUnit.bat, which we can run from anywhere because we put our PEAR directory into our PATH variable in the first step. It&#8217;s also created a bunch of other files which PHPUnit.bat uses.</p>
<p>You may wish to add C:\Program Files\PEAR\pear\PHPUnit to your php.ini include_path.</p>
<h1>Installing Selenium for Integration Testing</h1>
<p>Our Integration Tests use Selenium and involve launching a browser and running through things, they take siginificantly longer to run than Unit Tests and you&#8217;ll probably not run them every day. They&#8217;re useful when you&#8217;re changing the back end but not the UI, and will  need updating if you&#8217;re making changes to the UI. They also pick up JavaScript errors.</p>
<p>Selenium is a server to which PHPUnit will connect and issue commands, the server then launches a browser and tells it what to do.</p>
<ol>
<li>You need Java installed, take the Offline version from here: http://java.com/en/download/manual.jsp</li>
<li>Download Selenium Server here: http://seleniumhq.org/download/ Create a folder and save this in c:\program files\selenium\</li>
<li>Right click on your desktop, go to New &gt; Shortcut. For Location simply type &#8220;Java&#8221;, hit Next and type Selenium Server as the name.</li>
<li>Right click your new shortcut and click Properties, at the end of the &#8220;Target&#8221; field add -jar &#8220;C:\Program Files (x86)\Selenium\selenium-server-standalone-2.23.1.jar&#8221;</li>
<li>Running this shortcut should give you a console screen with happy output.</li>
<li>To install the PHPUnit Selenium extensions (to be able to run the Integration Tests) download this <a href="https://github.com/sebastianbergmann/phpunit-selenium/archive/1.2.zip">file</a> (or check for a later version of PHPUnit_Selenium from <a href="https://github.com/sebastianbergmann/phpunit-selenium">here</a>) and merge the PHPUnit_Selenium-1.2.7\PHPUnit\Extentions folder with it&#8217;s sister in your PEAR Directory under pear\PHPUnit</li>
</ol>
<p>Note that we are using Selenium 2, so you must use the Selenium2 classes.</p>
<h1>Running the tests</h1>
<p>Running the tests should take a matter of seconds and are run from the command line. From within the Squadify code base cd into the tests folder, type &#8220;phpunit&#8221; and hit enter, you should see something like:</p>
<pre style="padding-left: 30px;">PHPUnit 3.5.15 by Sebastian Bergmann.</pre>
<pre style="padding-left: 30px;">.... Errors Come out here ...</pre>
<pre style="padding-left: 30px;">Time: 0 seconds, Memory: 5.25Mb</pre>
<p>PHPUnit looks for a file called phpunit.xml from which it learns how you with the tests to run. There are command line options for running only sub sets of the tests specified, controlling the output and other cool things.</p>
<h1>Writing or Editing Tests</h1>
<p>Tests are seperated into TestCases, each TestCase will test one unit. Examples of units are models, pages and forms. Refer to PHPUnit&#8217;s documentation for specific details on how to write tests.</p>
<p>It&#8217;s very easy to write useless tests, some pointers to avoid doing so:</p>
<ul>
<li>Before writing tests, write a Doc Comment description before the Test Case explaining why the test exists.</li>
<li>Write descriptive names for tests, similar to a Doc Comment these force you to think about what and why you&#8217;re testing.</li>
<li>You&#8217;re supposed to write tests that fail, this means running it so you can see it fail, then fix the code to make it pass. It&#8217;s important to remember that you must change the code being tested, not the test itself, for this.</li>
</ul>
<p>For the sake of maintainability put as much care into reusing your test cases code as any other code, without violating these:</p>
<ul>
<li>TestCases should never be dependant on another Test Case, individual tests can be when it makes lots of sense but it should be avoided. The reason is so that (for speed) you run a subset of the tests (hence the name Unit Test).</li>
<li>Factory methods (such as getEmptyUser() or getYoungUser()) should be begin with &#8220;get&#8221; and placed at the bottom of the class. They&#8217;re used to make maintaining easier.</li>
</ul>
<h1>More Information</h1>
<p>PHP Unit Docs: <a href="Installing PHPUnit on Windows is done with PEAR.  Installing PEAR  Create the folder c:\program files\PEAR (This is your PEAR path)  Download go-pear.phar from here: http://pear.php.net/go-pear.phar (the one which comes with PHP is usually broken) and save it in your PEAR path. Open a command prompt and navigate to your new PEAR folder, type php go-pear.phar Hit Enter to agree to a System install then Enter again to confirm all the settings are good. PEAR is now installed. When we use PEAR to install things, it creates a .bat files in our PEAR directory which can is used to run them. For example by the end of this page PHPUnit.bat will be installed and we can call it from the command line as 'phpunit' since windows is clever like that. To be able to run these commands from outside of the PEAR directory we must add the PEAR directory to our PATH Environment Variable.  Press Windows Key and Pause/Break to load the System screen. On the left click on Advanced System Settings. Click on the Advanced tab then &quot;Environment Variables..&quot; button at the bottom. In the bottom list, &quot;System Variables&quot; find and select the PATH variable and click Edit. Add a semi colon to the end of the list, and enter the path to your PEAR directory. You will need to open a new CMD window if you already have one open. Run &quot;pear upgrade&quot; to test and get the latest version in one handy step. Installing PHPUnit  Navigate to your PEAR folder and run the following commands  pear config-set auto_discover 1 pear install --alldeps pear.phpunit.de/PHPUnit PEAR creates a file called PHPUnit.bat, which we can run from anywhere because we put our PEAR directory into our PATH variable in the first step.  Installing Selenium for Integration Testing  Our Integration Tests use Selenium and involve launching a browser and running through things, they take siginificantly longer to run than Unit Tests and you'll probably not run them every day. They're useful (and will need updating) if you're making changes to the UI.  Selenium is a server to which PHPUnit will connect and issue commands.  You need Java installed, take the Offline version from here: http://java.com/en/download/manual.jsp Download Selenium Server here: http://seleniumhq.org/download/ Create a folder and save this in c:\program files\selenium\ Right click on your desktop, go to New &gt; Shortcut. For Location simply type &quot;Java&quot;, hit Next and type Selenium Server as the name. Right click your new shortcut and click Properties, at the end of the &quot;Target&quot; field add -jar &quot;C:\Program Files (x86)\Selenium\selenium-server-standalone-2.23.1.jar&quot; Running this shortcut should give you a console screen with happy output. To install the PHPUnit Selenium extensions (to be able to run the Integration Tests) download this file (or check for a later version of PHPUnit_Selenium from here) and merge the PHPUnit_Selenium-1.2.7\PHPUnit\Extentions folder with it's sister in your PEAR Directory under pear\PHPUnit Note that we are using Selenium 2, so you must use the Selenium2 classes.  Running the tests  Running the tests should take a matter of seconds and are run from the command line. From within the Squadify code base cd into the tests folder, type &quot;phpunit&quot; and hit enter, you should see something like:   PHPUnit 3.5.15 by Sebastian Bergmann.    .... Errors Come out here ...    Time: 0 seconds, Memory: 5.25Mb PHPUnit looks for a file called phpunit.xml from which it learns how you with the tests to run. There are command line options for running only sub sets of the tests specified, controlling the output and other cool things.  Writing or Editing Tests  Tests are seperated into TestCases, each TestCase will test one unit. Examples of units are models, pages and forms.  It's very easy to write useless tests, some pointers to avoid doing so:  Before writing tests, write a Doc Comment description before the Test Case explaining why the test exists. Write descriptive names for tests, similar to a Doc Comment these force you to think about what and why you're testing. You're supposed to write tests that fail, this means running it so you can see it fail, then fix the code to make it pass. It's important to remember that you must change the code being tested, not the test itself, for this. For the sake of maintainability put as much care into reusing your test cases code as any other code, without violating these:  TestCases should never be dependant on another Test Case, individual tests can be when it makes lots of sense but it should be avoided. The reason is so that (for speed) you run a subset of the tests (hence the name Unit Test). Test wanting to use the database must call $this-&gt;setupCleanDoctrine() before getting going, you may wish to run this again later. Factory methods should be begin with &quot;get&quot; and placed at the bottom of the class. They're used to make maintaining easier.   More Information  PHP Unit Docs: http://www.phpunit.de/manual/3.2/en/ Advice on writing tests: http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/">http://www.phpunit.de/manual/3.2/en/</a><br />
Advice on writing tests: <a href="http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/">http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2012/08/01/installing-pear-phpunit-and-selenium-on-windows/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Semuc Champey</title>
		<link>http://patabugen.co.uk/2012/05/14/semuc-champey/</link>
		<comments>http://patabugen.co.uk/2012/05/14/semuc-champey/#comments</comments>
		<pubDate>Mon, 14 May 2012 15:32:22 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Central America]]></category>
		<category><![CDATA[Guatemala]]></category>
		<category><![CDATA[Travels]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=855</guid>
		<description><![CDATA[Whowzers, what a magical place. Dozens of diddie water falls falling a few feet down steps 50m wide, and just above? Another step separated by a tranquil pool of crystal clear calm water. We dove right into the first pool, splashed about, hopped between underwater rocks and threw fruit at each other. It was blissful, [...]]]></description>
				<content:encoded><![CDATA[<p>Whowzers, what a magical place.</p>
<p>Dozens of diddie water falls falling a few feet down steps 50m wide, and just above? Another step separated by a tranquil pool of crystal clear calm water.</p>
<p>We dove right into the first pool, splashed about, hopped between underwater rocks and threw fruit at each other.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:4ad39c1f-b539-46b4-83d8-52c93803db13" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="So. Freaking. Happy." href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00723-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00723.png" alt="" width="250" height="228" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:b816b601-a0df-40c1-acf6-c4a49f5f6248" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="I'm a boat!" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00735-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00735.png" alt="" width="162" height="229" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:a1ded4bf-8458-4336-ac76-26d0a2efd72c" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Wordlessnessly Worldless" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00725-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00725.png" alt="" width="250" height="228" border="0" /></a></div>
<p>It was blissful, transported to another planet like refugees from stress. Not that Alex or I are much ones to stress, but Steph sure makes up for our lacking!</p>
<p>After a time we climbed up the slippery waterfalls of the first of 7 steps (the last some might say, since we were at the bottom) and dipped into the next pool.</p>
<h2>Fish Food</h2>
<p>The three of us lazily floated around being nibbled by fish feasting on the breakfast buffet of our dead skin, I wonder which they preferred &#8216; the Guatemalan, the USAian or the Brit?</p>
<p>Turns out they probably liked me best, though only because while Alex fetched off for the camera and Steph explored the pool I sat still as a rock waiting for more fish, tempting the larger ones to come and nibble.</p>
<p>I loved it, dozens of them a few cm long swarmed over my legs and back while those a few inches long bided their time &#8211; no doubt a trait that helped them get so big.</p>
<p>For the most part it felt like being prodded with a pencil, though every now and then tehy either bit harder or hit a nerve and the pinprick like shock made me jump and the fish in turn all jumped back a foot too.</p>
<p>The best, though, were those feasting on my feet. Tops and toes no worries, but soles had me giggling like a gaggle of girls in jumpsuits.</p>
<p>After, we walked a little.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:88a206f3-13ff-457a-8316-58080212af41" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5257-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5257.png" alt="" width="250" height="199" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:4790b4dd-2069-47ec-a5fa-f3067661148a" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5256-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5256.png" alt="" width="162" height="200" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:48abad83-01fb-40d6-af84-92992aa8c93c" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5265-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5265.png" alt="" width="250" height="199" border="0" /></a></div>
<h2>The Arrival</h2>
<p>It was not always so tranquil, however. This brief spell in paradise took an alarming amount of effort, 2 days is not enough to see Semuc from Guatemala City.</p>
<p>Alex is here volunteering in a hostel called El Retiro. Steph and I caught the 7am bus from Guate city to Coban (5.5 hours) then the skull rattling unbelievably slow paced mini bus (2.5 hours) to Lanquin, finally arriving around 3pm.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:f84b994f-f85b-4449-9801-49059832cbe7" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Little 'n' Large at El Retiro. On a slope, of course." href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5267-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5267.png" alt="" width="250" height="246" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:7bd928eb-5f82-4578-990d-f839b15ae85d" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Tasty Sloppy Breakfast" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00688-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00688.png" alt="" width="162" height="247" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:dcd25a17-f08d-4c25-9764-9dd7b59c2a1b" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Awesome Saucesome in El Portal's bar" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00687-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00687.png" alt="" width="250" height="247" border="0" /></a></div>
<h2>More Numbers</h2>
<p>We now learned that the 11km to Semuc takes about an hour, we had to catch the 1730 bus from Coban the next afternoon, which meant leaving Lanquin at 1330 and so Semuc at 1230. The earliest shuttle from Lanquin to Semuc Champey arrives there at 1000 giving us a mere 2.5 hours!</p>
<p>We opted to stay in El Portal, a hostel right by the park entrance where the electricity stops at 10pm but the bar is well stocked and we can enter the park at 8am.</p>
<h2>Home Time</h2>
<p>In the end we left at 12:30, didn&#8217;t get the 2pm bus because it didn&#8217;t exist, got the 3pm one which left at 3:20 and missed the last bus from Coban to Guate.</p>
<p>Steph stressed out in her own delightful way, I did consider dragging out for for my personal enjoyment but instead raided a cash machine (for which my banked blocked my card as suspected fraud) and haggled with a taxi driver and got her back to Guate by midnight before either turned into a pumpkin and her mum went mad with crazy.</p>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:1f37f0f5-ced5-49ec-a93c-0ee18aebaec9" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="The rattly 4v4 from Semuc to Lanquin" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5270-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSCF5270.png" alt="" width="250" height="246" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:c382f71a-cf03-45f4-935e-cb83559e0cc7" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="We paused at the local landfill site" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00769-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00769.png" alt="" width="250" height="246" border="0" /></a></div>
<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:79837e35-3330-4a77-81cd-9552cac279ec" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"><a title="Waiting for the bus, again" href="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00776-8x6.jpg" rel="thumbnail lightbox" rel="lightbox[855]"><img src="http://patabugen.co.uk/wp-content/uploads/2012/05/DSC00776.png" alt="" width="162" height="247" border="0" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2012/05/14/semuc-champey/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Good &#8216;n&#8217; Proper Virus Removal</title>
		<link>http://patabugen.co.uk/2012/05/12/good-n-proper-virus-removal/</link>
		<comments>http://patabugen.co.uk/2012/05/12/good-n-proper-virus-removal/#comments</comments>
		<pubDate>Sat, 12 May 2012 19:00:25 +0000</pubDate>
		<dc:creator>patabugen</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[Virus]]></category>

		<guid isPermaLink="false">http://patabugen.co.uk/?p=845</guid>
		<description><![CDATA[People get viruses all the time, I&#8217;ve no idea how but they seem to manage it. I spent lots of my time cleaning people&#8217;s computers, if you don&#8217;t wish to pay someone else to do it you can usually do it yourself using these directions (or get in touch if you&#8217;d like me to do [...]]]></description>
				<content:encoded><![CDATA[<p>People get viruses all the time, I&#8217;ve no idea how but they seem to manage it. I spent lots of my time cleaning people&#8217;s computers, if you don&#8217;t wish to pay someone else to do it you can usually do it yourself using these directions (or <a href="http://patabugen.co.uk/contact/">get in touch</a> if you&#8217;d like me to do it for you). You may get some hard to clean viruses which need research and persistence to remove &#8211; in this blog post I can&#8217;t help you with those.</p>
<p>Some Tips:</p>
<ul>
<li>You might need to do them one at a time if you find they&#8217;re going very slow.</li>
<li>Don&#8217;t forget to back up your files. Always: virus or no virus.</li>
<li>Each scan here could take between 1 and 8 hours to finish, depending on how much stuff you have on your computer.</li>
<li>They are all free, don&#8217;t pay for anything! Look for the &#8220;Free Version&#8221; or &#8220;Free Edition&#8221;</li>
<li>Where you get the option, ask for a Full Scan. You may need to click an &#8220;Advanced&#8221; button first.</li>
<li>Some will not clean &#8220;low-threat&#8221; items such as Cookies. Don&#8217;t worry about them, but clean anything else they let you.</li>
<li>You will need to have a working Java installed, go to <a href="http://www.java.com/">http://www.java.com</a> to check or download.</li>
<li>No Anti-Virus picks up everything, that&#8217;s why you need to run several to have a really good scrub.</li>
<li>If you have an anti virus installed, run a full scan with that first. Then disable it so it doesn&#8217;t scan files every time one of the other scans does.</li>
</ul>
<p>Run these from your browser:</p>
<ul>
<li><a href="http://www.pandasecurity.com/activescan/index/">http://www.pandasecurity.com/activescan/index/</a> (Must be Internet Explorer)</li>
<li><a href="http://housecall.trendmicro.com/uk/">http://housecall.trendmicro.com/uk/</a></li>
<li><a href="http://www.bitdefender.com/scanner/online/free.html">http://www.bitdefender.com/scanner/online/free.html</a></li>
<li><a href="http://www.f-secure.com/en_EMEA-Labs/security-threats/tools/online-scanner">http://www.f-secure.com/en_EMEA-Labs/security-threats/tools/online-scanner</a></li>
</ul>
<p>You need to download and install these ones. Remember to uninstall them after to free up your disk space:</p>
<ul>
<li><a href="http://www.safer-networking.org/en/spybotsd/index.html">http://www.safer-networking.org/en/spybotsd/index.html</a> (Un-check TeaTimer when it asks if you want to install it)</li>
<li><a href="http://www.malwarebytes.org/">http://www.malwarebytes.org/</a></li>
<li><a href="http://msnvirusremoval.com/">http://msnvirusremoval.com/</a></li>
</ul>
<p>Also make sure your current anti virus is up to date and not complaining about anything. If you don&#8217;t have one then install:</p>
<ul>
<li><a href="http://www.avast.com/en-gb/free-antivirus-download">http://www.avast.com/en-gb/free-antivirus-download</a></li>
</ul>
<div>You may also want to:</div>
<div>
<ul>
<li>Immunise in Spybot (You installed it for a scan earlier) &#8211; to block bad sites</li>
<li>Run <a href="http://www.piriform.com/ccleaner">CCleaner</a> - to clean up your caches, registry, broken links and suchlike</li>
<li>Defrag with <a href="http://www.mydefrag.com/">MyDefrag</a>  &#8211; to tidy up your files so they load faster</li>
</ul>
</div>
<p>If you know any other free online anti viruses, which actually clean up for you at the end, post them in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://patabugen.co.uk/2012/05/12/good-n-proper-virus-removal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
