Use Docker Swarm secrets in ASP.NET Core Configuration

Posted in category docker, Programming

Need to pull in docker swarm secrets into the core configuration? The following article linked here:  Use docker swarm secrets in Asp.Net core demonstrates how to write a custom configuration provider to do just that, or pull the existing NuGet package and let it do the work.

Xamarin & .NET Core how to ignore SSL certificate errors

Posted in category Programming

The following article talks about ignoring SSL Certificate errors in Xamarin and .NET Core (Xamarin.Android, Xamarin.iOS, SignalR, Refit):

Ignore ssl certificate errors in xamarin & .Net core / “Servercertificatevalidationcallback” is not called anymore on android

GIT – How to merge specific files from another branch

Posted in category Programming, Unix/Linux, Web

Using GIT you can merge specific files from another branch using the ‘checkout’ command. After you checkout the files do a commit on the current branch.


$ git checkout anotherBranchName  path/to/file.etx    path/to/file2.ext     path/to/file3.ext

$git commit -m “Merged files from anotherBranchName”

Digital photographic mosaics using AndreaMosaic

Posted in category Graphics, Windows

Using Andrea Mosaic you can create interesting digital photography mosaics. A photo mosaic is an image composed of many tiled photos.

AndreaMosaic is free to download.

Visit the page at:

M-AUDIO Fast Track Ultra not recognized. Problem identified.

Posted in category Audio


A number of M-AUDIO Fast Track Ultra devices has a problem of not being recognized by the operating system or losing connectivity after system restart.
M-AUDIO has identified the problem, and it is a technical one which requires the device to go into repair.

If the 6th digital is the letter “F”, there is a chance your device may be affected by this malfunction. M-AUDIO tech support should be contacted.

Official statement:

*TIP: If your device is not recognized by the operating system, try quickly switching it on and off several times in a row.

Linux server – Change default timezone

Changing the timezone on a Ubuntu/Debian server can be done using the following command:

su dpkg-reconfigure tzdata

Use GMail to send emails through the Linux consolse

If you need to be able to send simple, one user account emails from a Linux server which has no mail server configured then this is for you.

Additionally you can use GMail to send messages from.

Install software:

# apt-get update

# apt-get install ssmtp

Edit configuration file:

#nano /etc/ssmtp/ssmtp.conf


# echo “email test” | mail -s “Email test” myemailaddress@domain.tld

VirtualBox – Disable Date and Time synchronization for a VirtualBox Guest system

The following command will disable the date/time synchronization for a Guest operating system.

Assuming the host is running Windows OS.

Open the command prompt. (Run -> cmd)

Enter command:
C:\Users\User>”c:\Program Files\Oracle\VirtualBox\VBoxManage.exe” setextradata ENTER_MACHINE_NAME_HERE “VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled” “1″

* Replace ENTER_MACHINE_NAME_HERE with Guest system name
* This command will add an extra line to the “C:\Users\User\VirtualBox VMs\MACHINE_NAME\MACHINE_NAME.vbox” file.
* To enable the sync again, edit the file above


If GuestAdditions have been installed, they will automatically sync the clock. Disable GuestAdditions.

# /etc/init.d/vboxadd-service stop

MySQL InnoDB table truncate fails because of foreign keys

Posted in category Database

If trying to truncate MySQL InnoDB tables and you are getting an error because of foreign keys constraints try disabling the foreign keys checks.

TRUNCATE tableName;
TRUNCATE tableName2;

MediaWiki – List all namespaces and their ID numbers

Posted in category Web

To list all available namespaces and their ID numbers in MediaWiki you have to query MediaWiki’s api.

Simpy open the following address in your browser:


*replacing http://www.mywebsite.tld/mediawiki_installation with the path to your MediaWiki page.

This will return a XML representation of Namespaces data.