Btsync – reset password

in case you have forgotten password for btsync Web UI, you can override it in config file.
For example on Debian it is located in: /etc/btsync/debconf-default.conf

Find webui section in configuration and add 2 options: username and password:

“login”: “admin”,
“password”: “password”

So “webui” configuration section will look like this:

        "webui" :
        {
                "directory_root" : "/var/btsync",
                "listen" : "0.0.0.0:8888",
                "force_https" : true,
                "ssl_certificate" : "/etc/btsync/debconf-default.crt",
                "ssl_private_key" : "/etc/btsync/debconf-default.key",
                "login": "admin",
                "password": "password"
        }

Now restart btsync serviceby running:

service btsync restart

You can now login using username “admin” and password “password” and reset password in WebUI.

Raspberry Pi 3 disable bluetooth and wifi

To completely disable WiFi and Bluetooth by disabling kernel modules in Raspbian / OSMC add following lines to
/etc/modprobe.d/raspi-blacklist.conf

#wifi
blacklist brcmfmac
blacklist brcmutil
#bt
blacklist btbcm
blacklist hci_uart

Kodi video buffer cache location

When you disable RAM caching by setting “cachemembuffersize = 0” in .kodi/userdata/advancedsettings.xml Kodi will write video cache to disk.
Video cache will be written to kodi temporary folder:

~/.kodi/userdata/temp

with filename:

filecache000.cache

transaction check error – mysql-community-libs-compat conflicts with file from package compat-mysql51

While upgrading MySQL server on centos 6 from 5.5 to 5.7 you may encounter following error:

Transaction Check Error:
  file /usr/lib64/mysql/libmysqlclient.so.16.0.0 from install of mysql-community-libs-compat-5.7.11-1.el6.x86_64 conflicts with file from package compat-mysql51-5.1.54-1.el6.remi.x86_64
  file /usr/lib64/mysql/libmysqlclient_r.so.16.0.0 from install of mysql-community-libs-compat-5.7.11-1.el6.x86_64 conflicts with file from package compat-mysql51-5.1.54-1.el6.remi.x86_64

It can be resolved by running following yum transaction:

$ yum shell
> remove compat-mysql51
> install mysql-community-libs-compat
> run

This will update affected mysql libraries to newer version without breaking any dependencies.

Remove all store apps windows 10

windows_modern_apps_bloatware

If you don’t use new (modern / metro) style application in windows you can delete all of them with a single PowerShell command.
To open PowerShell: Right click on Windows logo -> Command Prompt (Administrator – type powershell and press Enter.

This command removes all store apps for currently logged in user.

Get-AppxPackage | Remove-AppxPackage

To delete installation packages from disk and prevent installation for new users:
WARNING! This cannot be undone, you will lose ability to install new apps from Windows Store.

Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online