static void

Windows Tips

Setting Up A New Machine

Software

Settings

Development machine- Visual Studio

General options

  • SQL Server (Express) latest + SPs. In Management Studio, server node rightclick/ Properties/ Security/ SQL Server and Windows Authentication (i.e. mixed mode)
  • SSMS can be slow so uncheck IE Options/Advanced tab/Security-Check publisher's certificate revocation (or put this entry in C:\windows\system32\drivers\etc\hosts: 127.0.0.1 crl.microsoft.com)
  • For SSL:
  • Development machine- Node + Grunt

    Git and Proxies

    git.config for external (eg github) and internal. Set the proxy to empty.

    [http]
    	proxy = http://proxy.corporate:80
    [http "https://internal-git"]
    	proxy =
    	sslVerify = false
    

    Show what's set: git config --get-urlmatch http https://internal-git

    Environmental variables always override the git.config. NB: https_proxy must have http url (not https).

    http_proxy=http://username:[email protected]:port
    https_proxy=http://username:[email protected]:port
    no_proxy=https://internal-git
    

    Home machine

    And see the Scott Hanselman tools list

    Misc.

    VB6

    Unfortunately still around :(

    Assign a virtual drive letter to a folder

    Use DOS subst: subst x: c:\directory

    To persist it in w98, put it in autoexec.bat. Cannot be used for network drives (which you can map anyway).

    See also Visual Subst

    LUA

    MS guide and see DropMyRights

    DOS