วันอังคารที่ 13 เมษายน พ.ศ. 2564

laravel 8 route 404 not found

/etc/apache2/site-avaliable/000-xxxxx
<Directory "path/to/laravel/project/public">
    Allowoverride All
</Directory>
sudo a2enmod rewrite

 systemctl restart apache2

วันอาทิตย์ที่ 7 มีนาคม พ.ศ. 2564

table fixed thead on top with css

 table {

  text-align: left;
  position: relative;
  border-collapse: collapse; 
}
th {
  background: white;
  position: sticky;
  top: 0; /* Don't forget this, required for the stickiness */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

วันเสาร์ที่ 30 มกราคม พ.ศ. 2564

ubuntu 16 install mysql5.6


sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'
sudo apt-get update
sudo apt install mysql-server-5.6 mysql-client-5.6



ที่มา

https://itectec.com/ubuntu/ubuntu-install-mysql-5-6-on-ubuntu-16-04/