2019年9月17日 星期二

[linux]shell script 教學

不錯的文章

http://www.runoob.com/linux/linux-shell.html

linux echo命令的-n、-e两个参数
http://blog.sina.com.cn/s/blog_4da051a6010184uk.html

let命令
https://man.linuxde.net/let

http://mirror.sars.tw/Bash_Shell_by_ols3/c860.html

python 調用shell python shell 間變量傳遞
https://blog.csdn.net/ysdaniel/article/details/7970978  -->怪怪的!!

How to import python variable in shell script
https://unix.stackexchange.com/questions/316895/how-to-import-python-variable-in-shell-script

2019年8月29日 星期四

[raspberry]USB音效卡

不知為什麼,系統開機的audio 都無法預設成 usb audio.......@$%


不錯的文張

Using a USB Audio Device With a Raspberry Pi
https://computers.tutsplus.com/articles/using-a-usb-audio-device-with-a-raspberry-pi--mac-55876

Using a USB Audio Device with the Raspberry Pi
https://www.raspberrypi-spy.co.uk/2019/06/using-a-usb-audio-device-with-the-raspberry-pi/

Raspberry Pi 筆記(11):音效設定與播放器
https://atceiling.blogspot.com/2014/02/raspberry-pi.html

USB Audio Cards with a Raspberry Pihttps://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/instructions

2019年8月22日 星期四

[raspberry] python操作 GPIO

不錯的文張

讓你的 Raspberry Pi 透過 GPIO 閃爍 LED 燈
https://coldnew.github.io/f7349436/

2019年8月13日 星期二

[raspberry]python 操作 i2c

不錯的文張

Raspberry PI3 - 如何使用 Python 控制 Raspberry Pi 3 的 I2Chttp://andychen15577.blogspot.com/2016/08/raspberry-pi3-python-raspberry-pi-3-i2c.html

i2c-tools 的使用方法, i2cdetect 、 i2cdump、i2cset
https://b8807053.pixnet.net/blog/post/347698301-linux-tool---%3A--i2c-tools-%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95%EF%BC%8C-i2cdetect-%E3%80%81-i

2019年7月29日 星期一

[linux] ubuntu使用SSH安全加密連線遠程登錄


不錯的文章喔!!

[Linux系統] ubuntu利用SSH安全加密連線遠程登錄
https://andy6804tw.github.io/2019/01/23/ubuntu-ssh-remote/
Linux 的 scp 指令用法教學與範例:遠端加密複製檔案與目錄
https://blog.gtwang.org/linux/linux-scp-command-tutorial-examples/

2019年6月12日 星期三

[#]study get battery status

要 reference Windows.Devices.Power 就失敗了.






有用的文章:
Calling Windows 10 APIs From a Desktop Application
https://blogs.windows.com/buildingapps/2017/01/25/calling-windows-10-apis-desktop-application/#0VBvIDw8jFwbXajH.97

Battery and charging
https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/battery-and-charging

初探C#操作WMI類別及其應用
http://einboch.pixnet.net/blog/post/266960399-%E5%88%9D%E6%8E%A2c%23%E6%93%8D%E4%BD%9Cwmi%E9%A1%9E%E5%88%A5%E5%8F%8A%E5%85%B6%E6%87%89%E7%94%A8

Battery Level using System Management in C#https://stackoverflow.com/questions/18124436/battery-level-using-system-management-in-c-sharp

不錯的範例
https://gist.github.com/ahawker/9715872