摘要:Oops - unable to determine board type... model: 17 $ sudo apt-get install wiringpi Reading package lists... Done Building dependency tree Reading stat
阅读全文
摘要:AndroidBug5497Workaround.class public class AndroidBug5497Workaround { // For more information, see https://issuetracker.google.com/issues/36911528 //
阅读全文
摘要:WiFi网络设置,在SD卡(boot)下创建一个wpa_supplicant.conf文件,示例如下: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=CN network={ ssid=
阅读全文
摘要:$ vi my-pi-temp.sh $ cat my-pi-temp.sh #!/bin/bash # Script: my-pi-temp.sh # Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3 # Au
阅读全文
摘要:服务端 $ cat frps.ini [common] bind_port = 7000 vhost_http_port = 80 vhost_https_port = 443 客户端 $ cat frpc.ini [common] server_addr = example.com server_
阅读全文
摘要:$ sudo vi /etc/rc.local $ cat /etc/rc.local ...... # minio export MINIO_ACCESS_KEY=minio export MINIO_SECRET_KEY=minio123 nohup /minio/minio server st
阅读全文
摘要:$ sudo cp /gogs/scripts/systemd/gogs.service /lib/systemd/system/ $ sudo vi /lib/systemd/system/gogs.service $ cat /lib/systemd/system/gogs.service [U
阅读全文
摘要:服务端 $ sudo vi /lib/systemd/system/frps.service $ cat frps.service [Unit] Description=Frp Server Service After=network.target [Service] Type=simple Use
阅读全文
摘要:<ScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:overScrollMode="never" android:scrollbars="none" />
阅读全文
摘要:selector.xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="@color/
阅读全文