понедельник, 11 мая 2020 г.

Ciatronic BS 1307 floor nozzle rotates badly - how to fix it

If your vacuum cleaner Ciatronic BS 1307a become less efficient and slow in rotating a floor nozzle, probably you should to disassemble brush roller. There you should to clean around the motor, most likely there solid bunch of hair, the tip is to cut them, for example with scissors. I had spent 30 minutes to cut hair, that's why there was such problem with vacuum cleaner performance. After that seems like it becomes work better. I have been using this household appliance for 1 year.

суббота, 14 марта 2020 г.

How to convert Ubuntu to Kubuntu without reinstall?

You can do it safely with command sudo apt-get install kubuntu-desktop , and you will get absolutely the same version as Kubuntu.

пятница, 21 февраля 2020 г.

FZF + Ohmyzsh: "Cannot find fzf installation directory" fix

Add export FZF_BASE=~/.oh-my-zsh/plugins before plugins line in .zshrc

Also for Ubuntu you can install .deb package by Launchpad link: http://launchpadlibrarian.net/456699009/fzf_0.20.0-1_amd64.deb

суббота, 4 января 2020 г.

[KDE] how to disable Vaults

Only way is to uncheck it in "Configure system tray settings", by pressing right mouse button on notification arrow near to clock on panel. AFAIK it cannot be disabled by activities settings.

Works on Plasma 5.16 and later.

вторник, 31 декабря 2019 г.

[Typescript] [Vue] how to declare child vue component

This post describes an situation, when you want to put component to your parent vue component. In this example parent component is App, and child component is Canvas.

Firstly, install a vue-class-component npm package.
Then for your Typescript class use annotation like this:

import Vue from 'vue';
import Component from 'vue-class-component';
import {Canvas} from "./Canvas";

@Component({
    template: `<div><Canvas-component @element-added="addElement"></Canvas-component></div>`,
    components: {
        'Canvas-component': Canvas
    }
})
export default class App extends Vue
...
Like this you can declare also props field like in vanilla js Vue component.

вторник, 17 декабря 2019 г.

[Android] admob invalid application id fix

If you tried everything from https://developers.google.com/admob/android/quick-start#update_your_androidmanifestxml and still doesn't work, get a test Ads from here , for example Banner ad format, paste it into your AndroidManifest.xml and change its meta-data value slash symbol (/) to tilda (~).

воскресенье, 8 декабря 2019 г.

"vue.use is not a function" fix

You should call vue.use() before vue object initialization (before calling new Vue({})), not after, and call it like static method, not instance method. For example:

import Vue from 'vue';
import App from "./App";
import * as VueWindow from '@hscmap/vue-window'

Vue.use(VueWindow);
let vue = new Vue({
    el: '#app',
    template: '<App></App>',
    render: h => h(App)
})
export {vue};