Flutter is a UI framework written in Dart to create multi-platform apps. It is designed to have a high render performance of 60 fps [1]. Therefore the approach is to rebuild a widget if a content has changed instead of changing the content inside of a widget [2].
Continue readingReahl
Reahl is a Python framework to build a web application with Python code only. There is not need to write HTML, CSS or JavaScript [1]. Reahl is using bootstrap.io for most of the UI components [3]. Here are some examples. All samples are in a public repository: https://bitbucket.org/schroedingerdb/reahl-samples/
Continue readingUbuntu Shortcuts
Some shortcuts on Ubuntu 18.04 are not editable in the Keyboard Shortcuts UI. For example the switch workspace to left or to right shortcut CTRL+ALT+LEFT or RIGHT. This shortcut is also useful when you programming in your IDE and you would like to navigate back and forward.
Continue readingMySQL Docker
Known Issues
The server requested authentication method unknown to the client [caching_sha2_password]
Here a docker-compose.yml example with mysql native password.
1 2 3 4 5 6 7 8 9 |
version: '3' services: mysql: image: mysql:8 command: mysqld --default-authentication-plugin=mysql_native_password ports: - "3306:3306" environment: - MYSQL_ROOT_PASSWORD=master |
Docker Command Line
Helper Scripts
Stop and remove all docker container:
1 2 3 |
sudo su -c 'echo docker rm -f \$\(docker ps -a -q\) > /usr/bin/docker-rm; chmod 755 /usr/bin/docker-rm' docker-rm |
Delete all docker images:
1 2 3 |
sudo su -c 'echo docker rmi \$\(docker images --quiet\) --force > /usr/bin/docker-rmi; chmod 755 /usr/bin/docker-rmi' docker-rmi |
Crazyflie Client & Crazyradio
To run the Crazyflie client on your Ubuntu 18.04 system without using the virtual machine from bitcraze, you have to do this:
Ubuntu Mouse Settings
How to disable the mouse acceleration.
Ubuntu Graphics Cards
Ubuntu 19.04
After an installation of Ubuntu 19.04 all Nvidia drivers will be installed if you enabled the installation enable of 3rd party drivers.
Afterwards all graphics are installed. That is pretty easy in comparison to Ubuntu 18.04.
Ubuntu 18.04
How to use Nvidia Graphics Cards on Ubuntu 18.04 and switch between onboard Intel and Nvidia.
Qt
Installation
- Go to: https://www.qt.io/download-open-source
- download Qt Online Installer for Linux related to your OS
1 2 |
chmod 754 qt-unified-linux-x64-2.0.5-2-online.run ./qt-unified-linux-x64-2.0.5-2-online.run |
Ubuntu 16.04
Install special packages
To solve “cannot find -lGl” issue:
1 2 |
# OpenGL libraries sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev |
IntelliJ
Installation
How to install the IntelliJ Community edition:
- Go to: https://www.jetbrains.com/idea/download
- Click on the download button
Ubuntu 16.04
After downloading the tar.gz file unpack it and start IntelliJ:
1 2 |
tar -xf ideaIC-2017.1.2.tar.gz -C /opt/ /opt/idea-IC-171.4249.39/bin/idea.sh |
Shortcut
After starting IntelliJ the first time a wizard will create an application shortcut for you. If that not works you can create a shortcut by doing that:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
sudo su -c 'cat > /usr/share/applications/intellij.desktop <<EOF [Desktop Entry] Version=2017.1 Type=Application Terminal=false Icon[en_US]=/opt/idea-IC-171.4249.39/bin/idea.png Name[en_US]=IntelliJ Exec=/opt/idea-IC-171.4249.39/bin/idea.sh Name=IntelliJ Icon=/opt/idea-IC-171.4249.39/bin/idea.png EOF' sudo chmod 644 /usr/share/applications/intellij.desktop sudo chown root:root /usr/share/applications/intellij.desktop |
Now you can find the IntelliJ application in your Ubuntu application search bar.
And you can also pin IntelliJ now on our launch bar.