This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maybe your qt creator could not find QMYSQL | |
QSqlDatabase: QMYSQL driver not loaded | |
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7 | |
use this command to update the path | |
install_name_tool -change /usr/local/mysql/lib/libmysqlclient.20.dylib /usr/local/mysql/lib/libmysqlclient.21.dylib ~/Qt/5.12.3/clang_64/plugins/sqldrivers/libqsqlmysql.dylib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/adunning/Mac-Keyboard-Layouts-for-Windows | |
http://andrewdunning.ca/Mac-Keyboard-Layouts-for-Windows/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We are going to use buildroot to download, configure and compile the kernel. | |
First, download and uncompress buildroot: https://buildroot.org/download.html | |
Go to the directory and: | |
make qemu_x86_defconfig | |
make menuconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A C program consists of functions and variables. A function contains statements that specify the computing operations to be done, | |
and variables store values used during the computation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've stumbled upon this problem after migrating from sysvinit to systemd. | |
To get the serial console working on systemd I had to set up a service called [email protected]. It uses | |
agetty as a way to open ports, ask for login name and password. | |
The problem started after I noticed that my custom program, called with /sbin/agetty -i -n -l <program>, would not recognize the | |
Enter inserted as a End Of Line (EOL) special char. Then, I had to change from agetty to /bin/busybox getty to get the key recognized. | |
*latter I learned that this problem could be resolved using the command 'stty cooked'* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How do I change the Linux kernel command line? | |
The linux kernel command line is typically specified in the machine config using the APPEND variable. For example, you can add some | |
helpful debug information doing the following: | |
APPEND += "printk.time=y initcall_debug debug" | |
examples: | |
panic=N (if kernel panic happen, reboot after N seconds.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Every time you update your Fedora or in a plain new installation, run these commands to get your wifi working. | |
Install | |
1- install the kernel-devel packages: | |
sudo dnf install akmods "kernel-devel-uname-r == $(uname -r)" | |
2- install broadcom-wl: | |
sudo dnf install broadcom-wl |