Skip to content

Instantly share code, notes, and snippets.

View otnansirk's full-sized avatar
:octocat:
Coding

Kris otnansirk

:octocat:
Coding
View GitHub Profile
#php7.2 to php7.4
if now in php7.2
=> sudo update-alternatives --set php /usr/bin/php7.4
#php7.4 to php7.2
if now in php7.4
=> sudo update-alternatives --set php /usr/bin/php7.2
Try to run :
flutter config --android-sdk /home/[YOUR_USER]/Android/Sdk
if you get this error
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
✗ Android licenses not accepted. To resolve this, run: flutter doctor
# Show date
gsettings set org.gnome.desktop.interface clock-show-date true
#Show clock seconds
gsettings set org.gnome.desktop.interface clock-show-seconds true
#Show weekday
gsettings set org.gnome.desktop.interface clock-show-weekday true
$sudo apt install php7.2-mysql
OR
$sudo apt install php5.6-mysql
Change php5.6-mysql with the version you want
$ sudo apt install curl php-cli php-mbstring git unzip php-xml
This solved it for me:
Edit /etc/modprobe.d/alsa-base.conf as root and add options snd-hda-intel dmic_detect=0
Edit /etc/modprobe.d/blacklist.conf as root and add blacklist snd_soc_skl at the end of the file.
After that, reboot your system.
More details (and credits): https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html
docker run --name mysql5.7 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root mysql:5.7.31
gsettings set org.gnome.desktop.interface clock-show-date true
aslamanver.vsc-export
brainfit.vscode-importmagic
cjhowe7.laravel-blade
CoenraadS.bracket-pair-colorizer
Dart-Code.dart-code
Dart-Code.flutter
dbaeumer.vscode-eslint
Equinusocio.vsc-community-material-theme
Equinusocio.vsc-material-theme
equinusocio.vsc-material-theme-icons
=======================================================
Dockerfile
=======================================================
FROM php:7.3-apache
RUN docker-php-ext-install mysqli
=======================================================
docker-compose.yml
=======================================================
version: "3.1"