Tuesday, January 21, 2020

Disable the source ouput to jsdoc

Don't want to output source code to the documentation,

Tye update jsdoc.conf.json (or your jsdoc config file).

     "templates": {
      "better-docs": {
          "name": "My React components"
        },
      "default":{
        "outputSourceFiles": false // Add this
      }




Monday, January 20, 2020

React doc

Just like java doc, this is jsdoc for react.

Sunday, January 19, 2020

raspberry pi wifi set up

Run command to find your wifi provider
sudo iwlist wlan0 scan

Find your provider with
ESSID:"testing"

Locate the setting
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Set wifi password to settings

network={
    ssid="testing"
    psk="testingPassword"
}

To encrypt wifi password, run
wpa_passphrase "[wifi id]"

then enter the encrpted password.
The output is
  network={
      ssid="testing"
      #psk="testingPassword"
      psk=131e1e221f6e06e3911a2d11ff2fac9182665c004de85300f9cac208a6a80531
  }
Copy to the above file and remove the original password.

Saturday, January 18, 2020

bootstrap 4 fade effect

The fade transition effect is working when show class adding to fade class.

For example,

<div class="fade">
...
</div>
change to

<div class="fade show">
...
</div>

The fading in effect is working with opacity property.

Try live example in codepen.