/* Command strings */
#define GET_CAN_EXPAND "sudo raspi-config nonint get_can_expand"
#define EXPAND_FS "sudo raspi-config nonint do_expand_rootfs"
#define GET_HOSTNAME "sudo raspi-config nonint get_hostname"
#define SET_HOSTNAME "sudo raspi-config nonint do_hostname %s"
#define GET_BOOT_CLI "sudo raspi-config nonint get_boot_cli"
#define GET_AUTOLOGIN "sudo raspi-config nonint get_autologin"
#define SET_BOOT_CLI "sudo raspi-config nonint do_boot_behaviour B1"
#define SET_BOOT_CLIA "sudo raspi-config nonint do_boot_behaviour B2"
This file contains hidden or 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
keyboard.keymap = [ | |
# | |
[ | |
XXXXXXX, XXXXXXX, LAYER2, | |
XXXXXXX, FROG_FACE, THRILLED_FACE, | |
XXXXXXX, XXXXXXX, END_ZOOM_MEETING, | |
DESKTOP_LEFT, XXXXXXX, DESKTOP_RIGHT, | |
], | |
# NUM Layer | |
[ |
This file contains hidden or 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
#!/bin/sh | |
# openwrt extroot /dev/sda1 ext4 /dev/sda2 swap | |
# latest version https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/ar71xx/generic/ | |
opkg update | |
opkg install kmod-usb-storage kmod-scsi-core block-mount kmod-fs-ext4 kmod-usb-uhci e2fsprogs fdisk | |
echo " | |
sysctl -w net.ipv6.conf.all.disable_ipv6=1 | |
sysctl -w net.ipv6.conf.default.disable_ipv6=1 |
This file contains hidden or 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
dkms status | |
dkms | |
sudo apt-get install dkms | |
git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git | |
cd rtl* | |
sudo make dkms_install | |
dkms status | |
# reboot pi | |
sudo iwlist wlan1 scan |
This file contains hidden or 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
#https://raspberrypi.stackexchange.com/questions/138954/uart-not-the-board-itself-stopped-working-after-connecting-5v-to-gnd-can-it-b | |
#https://elinux.org/R-Pi_Troubleshooting#Testing | |
#!/bin/bash | |
skipped="" | |
tested="" | |
failed="" |
This file contains hidden or 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
//https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/micro_speech | |
//https://colab.research.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/examples/micro_speech/train/train_micro_speech_model.ipynb#scrollTo=VJsEZx6lynbY | |
var model=atob("IAAAAFRGTDMAAAAAAAASABwABAAIAAwAEAAUAAAAGAASAAAAAwAAAJRIAAA0QgAAHEIAADwAAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAAIAAAACwAAABMAAABtaW5fcnVudGltZV92ZXJzaW9uAAwAAADUQQAAtEEAACQDAAD0AgAA7AIAAOQCAADEAgAAvAIAACwAAAAkAAAAHAAAAAQAAAAWvf//BAAAAAUAAAAxLjUuMAAAAJS6//+Yuv//Mr3//wQAAACAAgAA+u4oxO7+zw8e9x8GDe3pg1zJGOP5FCgqCfIYNGLq79Y2tx73OyIoOcKd8QdeCx4sB939w9hK8yinFtXxwwX9J8y6HsvXPdQpAP0oRPvy87ZPzwnw+kVBSQXFF11kAPjuSBf06S5LLj/f7uQIOPEWEy8q7cK/NvQCz6rS+qwT9ui1aBK2zg7fWORJFBUD7frUQKf2yvsATV7kVR0wReL8AUiB6fEe/CEy7Uvt+i/S+vtNp+3Hkt/m2/gf2fqR9eXFjBcPudLH/mjTUS5JH70B6zEX8O//uF1iAg8feGqw+f5PzNP/CpYeLO289AtCyPHqbljsxJmu3NcSh9gGosLmooEk6azOthVrugAZWCm2/gElltLsDpxgX+n09WlrteH2Xrex5RGbGBDj4eANT6Xe5W/i+5mCpcm2H0bzBMbK1peQHcCV8Bkwd8I8+iQCTQYHFQKw5yc |
This file contains hidden or 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
var model=atob("HAAAAFRGTDMUACAAHAAYABQAEAAMAAAACAAEABQAAAAcAAAAmAAAAMgAAAAcAwAALAMAADAJAAADAAAAAQAAAAQAAABg9///EAAAABgAAAAoAAAARAAAAAUAAABzZXJ2ZQAAAA8AAABzZXJ2aW5nX2RlZmF1bHQAAQAAAAQAAAC8////CQAAAAQAAAAHAAAAZGVuc2VfNAABAAAABAAAAHb9//8EAAAADQAAAGRlbnNlXzJfaW5wdXQAAAABAAAADAAAAAgADAAIAAQACAAAAAsAAAAEAAAAEwAAAG1pbl9ydW50aW1lX3ZlcnNpb24ADAAAAFACAABIAgAANAIAANwBAACMAQAAbAEAAFwAAAA8AAAANAAAACwAAAAkAAAABAAAAPr9//8EAAAAEAAAADEuNS4wAAAAAAAAAAAAAACE/f//iP3//4z9//8i/v//BAAAABAAAAAhpYvKXh3OQp3OH7DfVC+BPv7//wQAAAAAAQAA7vwA7AUX7+zm+AMBAPr49dzrJxTx3uLb8N4xBgLm7vkAFgfg/v/pBufvgRsY6skBDwDa9w7sEx8EE7Tm/Qa54A3s8N7r9wUmGuRvGuoeNd8a8/EZDwMb4d4T9hn/9hsY8BzaGxsg5Rr1/5YLAAHN3g32FuPt/A7p+utc/B0CW+Lh9RXs9AATBewMHRQO5wv0GQDXBScCFerqApsADPro6v0AFP0LAu/uBu4BDQbm9xH3CfjxIf8O8+wSJh3y6SgY4Pvz9AUdHfv9HvwR6AcJAxLyNvvcHPnv8+dvDB0ARf0O8AsZGvrgGR8TNhwS6zsMtMvmE/rr8QYc+hjl68sM9Er///8EAAAAEAAAAHUcEeEMgaVC/tXUsmF4Gd9m////BAAAAEAAAAAGAAAAdwsAAFP2//8AAAAAdwwAAAAAAAAAAAAA0wYAAAAAAAAAAAAAciEAAAAAAAAvBwAAZ/X//zTw//8AAAAAsv///wQAAABAAAAAAAAAALUEAAB4CgAA |
This file contains hidden or 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://h-wrt.com/en/doc/ | |
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration | |
http://dashohoxha.fs.al/recycle-tplink-router/ | |
sudo mke2fs /dev/sdb1 -O ^metadata_csum | |
sudo fdisk /dev/sdb | |
kmod-usb-storage |
This file contains hidden or 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
var PWR_PIN = D26; | |
pinMode(PWR_PIN, "output"); | |
digitalWrite(PWR_PIN, 1); | |
var initCmds = new Uint8Array([ 0xAE, // 0 disp off | |
0xD5, // 1 clk div | |
0x80, // 2 suggested ratio | |
0xA8, 0x7F, // 3 set multiplex | |
0xD3, 0x62, // 5 display offset | |
0x40, // 7 start line |
This file contains hidden or 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
14 Response:{"Version1":null,"Version2":null,"Version3":{"NewUrl":"https://www.vphband.com/vph_2/VPH_2_00063300_14.zip","NewVersion":"00.06.33","Version":"06.33","Url":"https://www.vphband.com/vph_2/VPH_2_00063300_14.zip","Type":"zip","DeviceType":"14","Des":"1. The firmware upgrade will take 1-3 minutes.\n2. Before upgrading, ensure that the battery of your mobile phone and the device are both 40% above.\n3. Please do not operate the mobile phone while upgrading, and keep the device and cell phone within 0.2 meters.\n4. The device name will change to DFULang or DFU-52 if the upgrade fails, and the device will maintain upgrade state and the screen can not bright. Please reconnect the device and upgrade again.\n5. If upgrades fail repeatedly, please change a phone to upgrade again, due to the possibility of instability of mobile phone bluetooth. Before that´╝î please switch off the bluetooth of preceding mobile phone.","Size":"71672","NewSize":"71672","MD5":"f98ff19c61ebd0b55b137705ec97540a","NewMD5":"f98ff19c |
NewerOlder