Gnomon

The world is like a fleeting show

TSQL

TSQL

TSQL Reference TSQL This is Microsoft Doc Link Variable Define local variable use @, global variable use @@ -- Declare a variable -- Sytanx: DECLARE [variable] [date type] DECLARE @myvar char(20...

SQL Server Remote Connection

SQL Server Remote Connection Configuration

MSSQL Remote Connection Change Server Authentation in Server Properties, this operation requires restart service Make sure Allow remote connections to this server checked ...

Abstract Class In C#

Abstract Class In C#

Abstract Class Abstract class can contains abstract method and non-abstract method, and abstract method cannot be private. Meanwhile, sealed can not be declared with abstract public abstrac...

Git

Git

Git Key deploy git key ssh-keygen -t rsa -C "youremail@example.com" Check Ignored Files check ignored files git ls-files --other --ignored --exclude-standard

Python Features

Python Features

Genearl Concept What is .pyd .pyd files are DLL’s, but there are a few differences. If you have a DLL named foo.pyd, then it must have a function initfoo(). You can import this dll in Python impor...

Useful WindowAPI

Useful WindowAPI

Windows API [DllImport("kernel32.dll")] public static extern uint GetTickCount(); [DllImport("user32.dll",EntryPoint="FindWindowEx",SetLastError=true)] public static extern IntPtr FindWindowEx(Int...

Set Global Proxy in Ubuntu

Set Global Proxy in Ubuntu (Command Line)

Set Global Proxy in Ubuntu (Command Line) System-wide proxies in CLI Ubuntu/Server must be set as environment variables. Open the /etc/environment file. This file stores the system-wide variables ...

Overview of HTML JQuery NodeJS

Overview of HTML JQuery NodeJS

HTML HTML (Hyper Text Markup Language) HTML markup language <!-- header --> <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading<...

CSS Vertical Align

CSS Vertical Align

Vertical Align Basic Approach #box { height: 90px; line-height: 90px; } It only works for a single line of text though, because we set the line’s height to the same height as the contain...