Let's say you want to host domains first.com and second.com.
Create folders for their files:
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" android:layout_width="match_parent" | |
| android:layout_height="match_parent"> | |
| <LinearLayout | |
| android:id="@+id/accept_license_block" | |
| android:layout_below="@+id/description_tv" | |
| android:layout_width="fill_parent" | |
| android:layout_height="40dp" |
| // list.js | |
| class LinkedList { | |
| constructor() { | |
| } // END constructor | |
| myMethod() { | |
| console.log("myMethod"); | |
| } | |
| } |
| https://play.googleapis.com/play/log/timestamp |
| An external switch circuit: | |
| 3.3V | |
| --+-- | |
| | | |
| +-+ | |
| | | 1K ~ 10K | |
| +-+ | |
| | | |
| +--> D2 (for ESP8266, ex: GPIO16 in case of ESP32) | |
| | |
| book.js | |
| class Book { | |
| async doSomething() { | |
| console.log("Do something!"); | |
| } | |
| constructor() { | |
| this.id = 'id_1'; | |
| } | |
| set name(name) { |
| var http = require('http'), | |
| httpProxy = require('http-proxy'); | |
| // | |
| // Create a proxy server with custom application logic | |
| // | |
| var proxy = httpProxy.createProxyServer({}); | |
| // To modify the proxy connection before data is sent, you can listen | |
| // for the 'proxyReq' event. When the event is fired, you will receive |
| static float Vk=1.88;//分压电阻算出的值 | |
| static float Ik=0.25;//根据采样电阻(4mR)算出的值 | |
| static uint32_t VParam=0; | |
| static uint32_t VReg=0; | |
| static float V=0; | |
| static uint32_t IParam=0; | |
| static uint32_t IReg=0; | |
| static float I=0; | |
| static uint32_t PParam=0; |
| user nginx; | |
| worker_processes auto; | |
| error_log /var/log/nginx/error.log info; | |
| pid /var/run/nginx.pid; | |
| events { worker_connections 1024; } | |
| http { | |
| default_type text/html; | |
| log_format main '$remote_addr -> $request $status $body_bytes_sent bytes -> $upstream_addr'; | |
| access_log /var/log/nginx/access.log main; |
| #include <Arduino.h> | |
| #include <SoftwareSerial.h> | |
| SoftwareSerial mySerial(D5, D0); // RX, TX | |
| void start_learning_mode(); | |
| void read_ir_signal(); | |
| void setup() { |