Sunday, March 29, 2020

osx vs code java outline no symbol found

details:

outline section is empty, although the plugin of java language support by redhat been already installed.



problem:  JDK



fix:

uninstall the plugin

uninstall any other java plugins

restart vs code and quit

download JDK 1.8 from oracle, install it. 

restart computer

launch vs code

install java extension package

install java support by red hat

restart vs code

(working now)  :)


Labels: , ,

Sunday, March 15, 2020

write Raspbian Buster to SD card on Linux

2020-02-13 new version of raspbian buster

1) download image as a ZIP file from
https://www.raspberrypi.org/downloads/raspbian/

2) check shasum, open terminal
$ shasum -a 256 ~/Downloads/2020-02-13-raspbian-buster.zip
# compare with the sha sum on download page

3) insert an empty SD card into computer.  note dev name by
$ df -h
# mine is sdc1

4) unzip on the fly, and write to the sd card in one line (NOTE: replace sdc to your device)
$ unzip -p ~/Downloads/2020-02-13-raspbian-buster.zip | sudo dd of=/dev/sdc bs=1M && sync
# can skip sudo if already in root account
# now wait for about 10 minutes, no print out from terminal.

5) enable SSH before installation:
    mount the sd card, cd into its boot partition, eg. your
    cd /media/ken/root
    touch ssh


Labels: , , , ,