This file contains 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
use lettre::transport::smtp::SmtpTransport; | |
use lettre::{ | |
message::Message, | |
transport::smtp::{ | |
authentication::Credentials, | |
client::{Certificate, Tls, TlsParameters}, | |
}, | |
Transport, | |
}; |
This file contains 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
.cm-table-widget table thead tr { | |
background-color: var(--dark3); | |
} | |
.cm-table-widget table tbody tr:nth-child(even) { | |
background-color: var(--background-primary); | |
} | |
.cm-table-widget table tbody tr:nth-child(even) { | |
background-color: var(--background-secondary); |
This file contains 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
//引入 Loading页面 主页面 登录页等页面组件 | |
constructor(props) { | |
super(props); | |
this.state = { 登录状态: 等待检查 }; | |
} | |
componentDidMount() { | |
this.检查登录(); // 比如调用asyncstorage | |
} | |
检查登录() { | |
if(经过检查后是已登录状态) { |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
# coding=utf-8 | |
import urwid | |
import requests | |
import re | |
import time | |
from bs4 import BeautifulSoup, NavigableString | |
import lxml.html | |
USER = '' |