Git aliases I can’t live without

Being still quite new to git (and moving from world of VSS/TFS), I became big fan of Git’s flexibility and configuration. It really boosts productivity and makes developer’s life much easier.

Below I list git aliases I found most useful. For sure this list will grow in future.


Unit Testing stack for C#/Visual Studio

After spending some time on digging through unit testing components, I ran into a setup I am finally happy with. This consists of: – acts as DI container/object factory, significantly improving unit test maintainability – awesome mocking framework, fully integrated with AutoFixture – excellent utility for comparing instances – great for simplifying assertion statements – superb […]

T-SQL Tricks

Few useful SQL tricks: Move table to different schema

Rename object

Simplest way to restore MSSQL Server database

Here’s a simplest way I found (so far) to restore a database in MS SQL Server. First part lists “logicalnames” from the backup that you want to restore. Modify the path so it points to the actual path where your backup file is:

This shows LogicalName and PhysicalName of the data and log backup […]

How to delete all stored procedures from MSSQL database using cursor

Here is a code for deleting all stored procedures in SQL Server database using cursor.

Next Page »