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
domain:pglstatp-toutiao.com, | |
domain:pangolin-sdk-toutiao.com, | |
domain:pangolin-sdk-toutiao-b.com, | |
domain:hykjdd.com, | |
domain:mobads.baidu.com, | |
domain:tracking.miui.com, | |
domain:ad.xiaomi.com, | |
domain:applog.uc.cn, | |
domain:qh-material.taobao.com, | |
domain:tdlog.tangdou.com, |
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
# 切换阿里云源 | |
mv /etc/apt/sources.list /etc/apt/sources.list.bak | |
bash -c "cat << EOF> /etc/apt/sources.list && apt update | |
deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse | |
deb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse | |
deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse | |
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse | |
deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse | |
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse | |
deb http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse |
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
import { SafeAreaView, StyleSheet, Text, View, ActivityIndicator, BackHandler } from 'react-native'; | |
import React, { useRef, useState, useEffect } from 'react'; | |
import { WebView } from 'react-native-webview'; | |
const Contents = ({ navigation }) => { | |
const webViewRef = useRef() | |
const [isLoading, setLoading] = useState(false); | |
const handleBackButtonPress = () => { | |
if (webViewRef.current.canGoBack) { |
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
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
OlderNewer