Environment, Web development

Setup Nginx, PHP, MySQL and phpMyAdmin on macOS High Sierra

Recently I bought a Mac and with all the curiosity, I upgraded to the newest OS which is High Sierra. I heard a lot about the ease of setting up development environment on Mac with package manager like brew Beside, I have used Linux and Windows simultaneously for almost a year, so I thought an… Continue reading Setup Nginx, PHP, MySQL and phpMyAdmin on macOS High Sierra

PHP

stdClass là gì? Làm thế nào để có Dynamic Properties trong PHP?

Chào các bạn, mình là Đăng, và mình đã trở lại rồi đâyy  Nếu bạn là 1 người rất hay tò mò nghịch ngợm, giống tôi, thì chắc hẳn bạn đã từng lang thang trong core của mấy thằng PHP framework như Laravel hay Yii, và chắc cmn cú là các bạn cũng đã thấy… Continue reading stdClass là gì? Làm thế nào để có Dynamic Properties trong PHP?

position css
HTML, CSS

Short & accurate definition about position in CSS

Ever since I started developing web, I've seen and used the CSS attribute so-called "position". But I'd never seem to understood what it does, I just randomize its value until I got what I needed (yeah that's stupid and ignorance). But then, one day, I realize something big, something important is missing... I feel so empty inside... DAMN I HAVE TO WRAP MY HEAD AROUND THIS "POSITION" THING! So here it hoes *goes (sorry, typo), real short and accurate. Hope this post will help some fallen angel like I used to be.