This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refer section 1.3 of AN232B-05BaudRates.pdf | |
Divisor = n + sub-interger divisor | |
Divisor = 1 will give 2MBaud | |
==> Divisor = 01 + 00 | |
Refer section 2.2 of AN232B-05BaudRates.pdf | |
71,02 => divisor = 625, rate = 4800 | |
Refer section 6.1 of AN107_AdvancedDriverOptions_AN_000073.pdf | |
=> Open register.exe in windows directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. Check How to flash firmware | |
1) https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/flash-firmware | |
2) https://github.com/nodemcu/nodemcu-devkit-v1.0 | |
3) https://nodemcu.readthedocs.io/en/dev/en/flash/ | |
1. ls /dev/tty* and find out used serial port | |
2. python esptool.py --port /dev/tty.SLAB_USBtoUART erase_flash | |
esptool.py v1.3-dev | |
Connecting... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sudo apt-get install ibus | |
#Install RIME | |
sudo apt-get install ibus-rime | |
#Install bopomofo IME | |
sudo apt-get install librime-data-terra-pinyin librime-data-bopomofo | |
#Config in Home directory | |
~/.config/ibus/rime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://mqjing.blogspot.tw/2008/05/python-ssh-plinkexe.html | |
plink 的簡易教學 | |
使用 ssh telnet 連線 | |
c:\plink -ssh login.example.com | |
login as: | |
自動連上(包含 username 與 passwd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install xorg gnome-core gnome-tweak-tool | |
Two ways. Either you install Language Support: | |
sudo apt-get install language-selector-gnome | |
and do it from there. Optionally you can just run these commands in a terminal window: | |
sudo mkdir /usr/share/locale-langpack/ru | |
sudo apt-get install $(check-language-support) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
screen /dev/ttyACM0 | |
pyb.bootloader() #As short BOOT0 to VDD, then MCU Reset change to bootloader (DFU mode) | |
# Refer to https://github.com/micropython/micropython/wiki/Board-STM32F407-Discovery | |
sudo apt-get install dfu-util | |
sudo vi /etc/udev/rules.d/49-stmdiscovery.rules and put the following contents: | |
# f055:9800 - STM32F4 Discovery running MicroPython in USB Serial Mode (CN5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 常常用筆電做簡報的人一定要把這組熱鍵記起來:「Command + F1」,它可以快速切換雙螢幕的「鏡像模式」或「延伸桌面模式」 | |
2. 除此之外,按「Option + F1」也可以快速進入「系統偏好設定 > 顯示器」,方便你調整雙螢幕相對位置、設定主畫面等 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reference: https://www.raspberrypi.org/forums/viewtopic.php?p=1086671#p1086671 | |
1) Run Raspian with Pixel x86 with Persistence | |
1. Fire up VMWare Fusion | |
2. Create a new VM | |
3. Select "Install from disc or image" as the installation method | |
4. Select "2016-12-13-pixel-x86-jessie.iso" | |
5. Select "Debian 8.x" as the operating system | |
6. Customize the settings as desired. I changed the vm name and set the memory to 1024 MB. I left the vdisk size as 20 GB | |
7. Start up the newly created vm. Note that PIXEL is actually running from the virtual CD and not the virtual hard disk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create a .condarc file at: C:\Users\username folder. | |
http://conda.pydata.org/docs/config.html#the-conda-configuration-file-condarc | |
Example: conda config --add channels r | |
use copy con .condarc file if does not exist at above folder. | |
File content is: | |
proxy_servers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://code.visualstudio.com/docs/setup/setup-overview#_proxy-server-support | |
User Setting by settings.json | |
// 將您的設定放入此檔案中以覆寫預設值 | |
{ | |
"http.proxyStrictSSL": false, | |
"http.proxy": "http://proxy.xxxxx.com:8080", | |
"window.zoomLevel": 0 //your CNTLM | |
} |
OlderNewer