Browsing: Technology

Kdenlive: How to Fix Audio Record Device

I unable to do audio recording in Kdenlive. Audio device does not show in Settings => Configure Kdenlive => Capture => Audio tab. To fix this issue, install libqt5multimedia5-plugins. $ sudo apt install libqt5multimedia5-plugins Restart Kdenlive and go to Settings => Configure Kdenlive => Capture => Audio tab. Audio device list will be shown and…

XAMPP: How to Open Phpmyadmin Access

XAMPP’s Phpmyadmin folder is forbidden as default if accessed from internet. To open access this folder we have to edit /xampp/apache/conf/extra/httpd-xampp.conf file in Windows or /opt/lampp/etc/extra/httpd-xampp.conf file in Linux. Open httpd-xampp.conf file in text editorFind the following line: # Windows Alias /phpmyadmin “C:/xampp/phpMyAdmin/” <Directory “C:/xampp/phpMyAdmin”> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory> # Linux…

Ubuntu: How to Install RTL8192EU Driver

First, we install all packages required for the installation of the driver using this command: sudo apt-get install linux-headers-generic build-essential dkms git Now clone the git repository: git clone https://github.com/clnhub/rtl8192eu-linux.git Move to the new folder created: cd rtl8192eu-linux Remove current drivers (check with dkms status or sudo lshw -C network what drivers are available): sudo rmmod rtl8xxxu Blacklist the…

Yii2: How to Create Editable Row in Gridview

Setup 1 – View Put the following code inside gridview: [ ‘class’=>’kartik\grid\EditableColumn’, ‘attribute’ => ‘nilai_tugas’, ‘value’ => function ($model) { return $model->nilai_tugas; }, ‘editableOptions’=> function ($model, $key, $index) { return [ ‘header’=>’Name’, ‘size’=>’md’, ‘formOptions’=>[‘action’ => [‘krs-detail/editNilai’]], ‘inputType’=>\kartik\editable\Editable::INPUT_TEXT, ]; } ], Setup 2 – Controller Put the following code into controller file: use kartik\grid\EditableColumnAction; use yii\helpers\ArrayHelper;…

1 2 3 13