摘要:
import requests,bs4,sys,webbrowser print('It is searching...') res=requests.get('https://so.csdn.net/so/search/s.do?q='+' '.join(sys.argv[1:])) res.raise_for_status() soup=bs4.BeautifulSoup(res.text... 阅读全文
摘要:
(来源地址:https://i.cnblogs.com/EditPosts.aspx?opt=1) 一、环境:CentOS7 64,VPS,独立IP 域名:将一个域名或二级域名泛解析到VPS服务器上。例如将*.tunnel.mydomain.com解析到VPS的IP。 要注意,此时还需要将tunne 阅读全文
摘要:
/* 这个例子演示了如何建立一个简单的HTTP类服务器。 服务器将根据请求设置GPIO引脚。 http://Serviip IP/GPIO/0将设置GPIO2低电平, http://Serviip IP/GPIO/1将设置GPIO2高电平 Serviip IP是ESP8266模块的IP地址,将当模块 阅读全文
摘要:
/* * Arduino 环境下ESP8266程序 * 功能:连结WiFi,获取IP地址,串口输出IP信息 */ #include void setup() { Serial.begin(115200); Serial.println(); WiFi.begin("WIFI_SID","WIFI_PASSWORD"); Serial.print("Connecting"... 阅读全文
摘要:
一、环境:Arduino 1.8.5+ESP8266 二、设置: 开发板:Generic Esp8266 Module 端口:COM4 三、接线: 1. ESP8266插USB串口板 2.LED接 GP102与GND(串口板上直接连线) 四、代码 阅读全文
摘要:
1.接线如下接线: CH340 ESP8266 Arduino DataPin TXD -> URXD 13 RXD -> UTXD 12 3.3V -> VCC 3.3V 3.3V -> CH_PD 3.3V GND -> GND GND 2.编写代码 阅读全文
摘要:
MainActivity.javapackage com.example.widgetall;import android.os.Bundle;import android.app.Activity;import android.view.View;import android.content.In... 阅读全文
摘要:
1. MainActivity.javapackage com.example.textviewapp;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import ... 阅读全文
摘要:
package com.example.buttonapp;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;... 阅读全文
摘要:
一、界面tabcontrol1 GestureManager1 各tab页添加一些控件二、属性设置tabcontrol1: GestureManage选GestureManager1, Gestures.Standard设置手势,这里只用了左滑和右滑,三、代码:函数:设置活动页面及过度效果,看帮助吧... 阅读全文