I just found this article that helped me to find the answer about the weird results with my log files produced by ASP.NET application:
log4net contextual properties and ASP.NET
Big thank you to the author!
I just found this article that helped me to find the answer about the weird results with my log files produced by ASP.NET application:
log4net contextual properties and ASP.NET
Big thank you to the author!
Today I bought HTC Wildfire S – my first Android phone. It is just 149.99 CAD from Virgin Mobile with a pre-paid plan. I chose a smart phone plan for $40. I paid under 200 CAD for the phone, the plan and any taxes.
It is locked to Virgin Mobile network but you can unlock it and can use it with any provider. At first I tried htcsimunlock.com. I paid $13.49 USD. Shortly got an email telling me they could not find the unlock code for my phone and that they have to do a “Deep Search” asking for additional $14.99 USD. I did not like it and requested refund. Next I tried another site – htcimeiunlock.com. This time I paid $25 USD and 8 minutes later I got an email with the unlock code. It worked and now I have really nice compact android phone that works with all providers.
Find out more about the phone below:
Here is the user manual:
A lot of people know how to restore an SQL Server database using the SQL Server Management Studio. Sometime it will not work if the database is in use. You have to close all active connections or even to take database offline and then online again.
It is much easier to restore the database via the attached script. Just unzip the file to a folder called C:\RestoreDB and copy the backup file to the same folder. Then edit RestoreDB.bat file and update it with the appropriate information – server name, user name, password, backup name, etc.
The last step is to run RestoreDB.bat – you can double-click it in Windows explorer or can oped a DOS prompt change the folder to C:\RestoreDB and run the script by typing its name and pressing “Enter” key.
For few days now I am a proud owner of a new grill – Weber Genesis EP-310 Premium Edition.
Why it is so good? Because it is really well made and uses stainless still grates for starters. Took me 2-3 hours to assemble it at home and I could see at first hand it was a quality built product. Very solid. Here is a review about this same model:
Weber Genesis EP-310 Premium Edition – Gas Grill Review
More useful links:
There is a really nice article about grilling outdoors available here:
A Complete Guide to Outdoor Grilling: Set Up, Stay Safe, and Cook Great Food
Note: This post is more than an year old. You can still use it to install FreeNAS on USB but I strongly recommend you to read the new one first which is much simpler:
Installing FreeNAS to USB stick (new and simpler way)
FreeNAS is an Open Source Storage Platform based on FreeBSD and supports sharing across Windows, Apple, and UNIX-like systems. It comes with a lot of protocols and services
Do you know how to search for a piece of text inside multiple files in Windows. I do not – not anymore. Earlier versions of Windows had this feature but I cannot figure out how to do it in Windows 7. It seems you have to index your files and folders and then maybe you can find what you are looking for. I do not want to do this.
In Unix and Linux you can use grep for this. Luckily there are some similar programs for Windows too. I found this one: AGREP
Go to Download page and get the stand-alone executable for Win95 and Win/NT (link)
Extract the archive – there is one file called agrep.exe. I copied it to C:\Windows\System32. This folder by default is in the PATH environment variable so you will be able to run the command from everywhere (no matter which is your current working folder).
Open the command prompt and try to search:
c:\> agrep -r word_to_search_for .
This will search all the files in the currect folder and all sub-folders for the word word_to_search_for
If you just type agrep it will show help and usage information.
I was looking for some information online today and ended up reading an article in Wikipedia about that matter. It is so nice to have a free encyclopedia where you can go and find the information you need. I made a small donation to keep it free and accessible for everyone. If you would like you can donate too. Just click on the image below:
Recently I was looking to buy a good computer speakers and was wondering how to test the sound. Then I found these:
This is a very useful video that describes how to configure FreeNAS iSCSI as a data store for ESXi. The credits go to mrholverson
A copy of this video is available here
USE [TestDb]
GO
ALTER DATABASE [TestDb] SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(TestDbLog, 1)
ALTER DATABASE [TestDb] SET RECOVERY FULL WITH NO_WAIT
GO