Srini's Point of View

My thoughts on technology, food and other fancies…

Get Table creation date on SQL Server

I was trying to find some changes I had made to some tables and was having a hard time finding the table I modified.. This helped me find the ones I was last working on ;)

For SQL Server 2005 and up, you can use

SELECT  
[name]  
,create_date  
,modify_date  
FROM  
sys …

Bread Pakora

20130302-142637.jpg

This is how I remember eating Bread Pakora’s in Amar Colony, New Delhi. So the other day when I suggested to Priya that we should try making Bread Pakoras with Paneer, Priya was inspired!

This is Priya’s recipe -

Ingredients
Paneer
Dhaniya chutney
Chat masala
White Bread
Besan (Chick …

Syntax Checking your python script without running it

This is a neat little trick to test your python code on the command line without running the script.

$ python -m py_compile yourpythonscript.py

All that command does is compile your python script and create a .pyc file. If there are any errors, you will see the errors be spit …