-
Git undo a commit and redo
When you need to undo your last git commit…
-
MS SQL - C# insert performance test
Introduction
-
SQLite check if a column exists c#
PRAGMA table_info(table-name)
returns one row for each column in the named table. Columns in the result set include the column name, data type, whether or not the column can be NULL, and the default value for the column. -
WPF TabControl First, Last TabItem Style
Using HTML and CSS is quite easy to apply a custom style to the first or last elements of a container using the
:first-child
or:last-child
pseudo elements. But in WPF it is a bit harder, because it does not support anything like that. -
C# Background Worker example
Simple file copy example using BackgroundWorker class.
-
Windows CMD Parameter Extensions
Parameters
A parameter (or argument) is any value passed into a batch script:
C:> MyScript.cmd January 1234 “Some value”
Parameters may also be passed to a subroutine with CALL:
CALL :my_sub 2468
-
Minimal XSD documentation generator
This is a simple XSLT to produce a HTML documentation of an XSD file.
-
MS SQL kill all other connections by database
The first trivial solution is to switch the database to single user mode. It can be done by the following command:
-
MS SQL list foreign keys
Sometime it is usefull, to list all the foreign keys of a database, the following script does it:
-
Welcome to szunyog.github.io!
RSS Feed