Working with multiple TFS servers is prone to problems with cached credentials when switching accounts, especially on laptop systems that suspend/resume across domain authentication. Clear the TFS cache by deleting all files to remove cached credentials, and force re-authentication.
Author: bobnoordam
SqlServer: Detecting and acting based on the active database
Detecting and acting on the database name to change query behaviour for example for different company workflows within the same database. This is BRITTLE because database names can change outside your application. The safe way to handle this is by checking some flag to determine correct processing.
Remove the outlook mobile spam from the desktop version
If you are fed up with your daily advertising banner in the desktop version of outlook pushing you to the mobile app version, here is the page detailing how to remove it. How to remove the Get and set up Outlook Mobile app on my phone option from Outlook OF COURSE you should not have […]
Solved: xrdp immediate disconnect after login
The default install on debian will have your system boot into graphical mode; Which will prevent XRDP from working correctly. (You will get an immediate disconnect after the login screen, without much to go on in the log files). Setting the system to boot into text mode solves this problem. Set the system to boot […]
Using dd to secure wipe an entire disk
Linux has many small but extremely powerfull tools, and the disk duplicator dd is one of them. By copying from the system’s random data stream onmto a target disk, we can overwrite a disk front to end, partition data and all. Make very sure abot the target disk. If you don’t get that part right, […]
Enable mysql server on Debian 10
Debian 10 by default ships mariadb, here are the steps to add the official mysql repository to your system and enable the server. Download the MySql apt repository to your system, and install the package as root, or with sudo privileges. You can find the latest version at this location: https://dev.mysql.com/downloads/repo/apt/ At the time of […]
Multiple submit buttons, and making a difference
Say we have some auto committing controls, like dropdownlist, and also a simple ‘next step’ button.How to detect a difference between the two submit events for the form ? The TYPE of the button determines it to be a form submission the NAME of the button can be used as a parameter in the controller […]
EF Framework core for ling2sql users
Linq2Sql had a few extremely practical tools such as sqlmetal enabling you to generate code form an existing database with a single command, replace a single file and be done with it. EF Core seems to align with the trends lately to make everything more cumbersome, but you can stil use a workflow much like […]
Postfix queue management
Queue management for postfix is done with the postsuper command, which you can use to delete mail in vareious scenario’s. #1 Remove specific mail Run the mailq command to list pending mail, en get the id, next you can delete a specific mail with: #2 Remove ALL mail #3 Remove all deferred (stalled) mail, without […]
HTTPS redirect with web.config
If you configure HTTP to HTTPS redirection from the IIS console, it will get overwritten by the web.config form a published application. Here is how to configure http to https redirection isde your project web.config. We can also add non-www to www redirection, by using the setup below: