-
TIL 1: Laradock, mantra, PA
Mantra is the first thing that I need to do in the morning. Focus on what makes you happy at this moment. 4 hours of deep working session. It took 567 seconds to get Laradock running for the first time. It took 35 minutes to get PA up and running on a new development machine.…
-
Use yarn with docker
Use yarn up instead of docker-compose up -d Use yarn down instead of docker-compose down Use yarn bash instead of docker-compose exec workspace bash
-
WP Local Docker install error
Problem Resolve Use node version 14.17 instead of 16.x
-
Problem with Inspector, CakeFruit Cors on RunCloud
If you get problem with the CakeFruit Cors and Inspector on a RunCloud instance. Make sure that your app settings enable proc_open, proc_close, proc_nice, proc_terminate functions.
-
Empty json body in Lumen testing?
Failed to get json body with request like this? or Make sure you are using this package for the request instance:
-
Think twice before using lodash
Lodash is a great lib, but think twice before using it if you are developing micro app. Here is an example: Before lodash After lodash
-
Multi-dimension array field with URLSearchParams
Result:
-
Vue 3 cheatsheet
Course: https://www.vuemastery.com/courses/vue-3-essentials/why-the-composition-api/ Starter app: Vitejs (https://github.com/vitejs/vite) TDD: https://vue-test-utils.vuejs.org/v2/guide/introduction.html UI framework: https://2x.antdv.com
-
Puppeteer failed to launch the browser process!
Fix
-
Trying to get property ‘_mockery_expectations_count’ of non-object
For some reasons, you got this error during php unit tests: Use this trait: Source: https://github.com/mockery/mockery/issues/376