How to Reset Sitecore 7.1 & Sitecore 7.5 Forgotten/Lost Admin Password
In working on implementing a Sitecore site into an existing code base inherited from another vendor, I discovered that the admin password had been modified and the vendor would not share it. Not being able to login to the admin section of Sitecore was not ideal to say the least. After scouring the web, most articles contained instructions on how to reset the password, but almost all of them applied to Sitecore 6 and below. For Sitecore 7 and above, most articles were not applicable as they introduced the PasswordSalt field into the database which Sitecore uses to hash the password. If you've run into a similar situation, or you've forgotten or lost your admin account password, getting access back to everything is pretty simple. Load SQL Management (or your favorite SQL editor) and execute this query against your Core database:
How to Import Multiple VCF contacts into iCloud
One of my users recently came to me with an interesting problem this week. She had left her old job but had left all her contacts on her work account. Once the account was deleted, all the addresses were wiped out as well. By sheer luck, her iPad had a copy of the contacts since she never connected it to a new network which prevented any type of sync. We managed to export the contacts off the iPad to VCF cards but were now left with the tedious task of importing them all into iCloud for her to use on her phone. I tried dragging and dropping all the VCF cards into the browser but iCloud displayed 300+ errors saying the card could not be imported, without specifying which ones were a problem. The import would error out after clicking OK at around 300 times and not actually import a single one. I remembered that the format of the cards is simple text and you can easily merge the files into one big file to import.
Photography Blog is Now Live
It's been a while since I've updated this blog but I'll be adding more posts about thoughts and technology soon. On an unrelated note, I've gotten heavily into photography and am becoming quite proud of the art I've created. With the amount of photos I've taken, I've decided to split the photography into its own blog that's more suited for showcasing the work. The wolf picture above is one of the latest pictures I've taken and there's plenty more that you can see at http://gregv.photography.
How to Capture Google Analytics Before Redirect
Up until today, everyone I know has struggled to capture a Google Analytics event on redirect links. We've all had to come up with hacks and workarounds to ensure that the initial landing page is tracked. Today I finally figured out a solution that works. Google analytics now offers a callback event which lets you fire the redirect (or any custom functionality after the main tracking event fires. The snippet to add after the Google analytics tracking code setup is below:
Maple Syrup Pie Recipe from Aux Anciens Canadiens Restaurant
In January, I decided to take advantage of vacation deals and went to Quebec for a weekend to explore Quebec, Chateau de Frotenac, and the Ice Hotel. I had an incredible time overall. During my stay at the Chateau, I wandered around a bit and discovered the Aux Anciens Canadiens Restaurant, supposedly the oldest building in Quebec. The restaurant is located in the historic Maison Jacquet, just down the block from the hotel. The food was incredible and the service was impeccable. After my incredibly sumptuous dinner, they presented me with a dessert menu and I noticed one I've never had before called the Maple Syrup Pie. It was the house speciality so I decided I had to try it right away. If you can make it out there, I highly encourage you to go to the restaurant and try the restaurant's amazing food. Until you can enjoy this unique dessert at the Aux Anciens Canadiens Restaurant, you can make it yourself with this easy recipe.