Chill Bits

  • Setup letsencrypt with Laradock

    in docker-compose.yml set $CN and $EMAIL with your data: in docker-compose.yml add the volumes used in certbot: Make sure port 443 is disabled in your laradock/nginx/sites/xxx.conf stop nginx container docker-compose stop nginx rebuild nginx container with –no-cache option docker-compose build –no-cache nginx build certbot container docker-compose build –no-cache certbot start nginx container docker-compose up -d…

    June 24, 2021
  • 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.…

    June 11, 2021
  • 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

    June 11, 2021
  • WP Local Docker install error

    Problem Resolve Use node version 14.17 instead of 16.x

    June 10, 2021
  • 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.

    February 18, 2021
  • 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:

    January 13, 2021
  • 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

    December 28, 2020
  • Multi-dimension array field with URLSearchParams

    Result:

    December 27, 2020
  • 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

    December 19, 2020
  • Puppeteer failed to launch the browser process!

    Fix

    December 15, 2020
←Newer Posts Older Posts→

Chill Bits

Proudly powered by WordPress