ASP.NET Parts of Absolute Path

// Gets the base url in the following format: 
// "http(s)://domain(:port)/AppPath"


Ubuntu Change Boot Order for a Service

Use the update-rc.d command.

First remove the link fron the /etc/init.d directory to the rc.d directories

sudo update-rc.d -f my_old_script remove

Then change the boot order. The following updates the scripts boot order to 98.

sudo update-rc.d my_script defaults 98

This command can also be used to remove or add a service during boot.

Thunderbird Change Order of Accounts

  • Tools > Options > Tab: Advanced > TabĀ : General > Config editorĀ : “I’ll be careful, I promise!”
  • search for “account”
  • edit the variable “mail.accountmanager.accounts” and change your order here
  • quit thunderbird
  • launch thunderbird, change are now effective
You find the identities when you look for “<n>.useremail” and the relation between identities and accounts looking for “mail.account.account<n>.identities”. If you have several identities for an account, you can’t influence the order of these or order them separately; you can only have these identities together in a different position.