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
# Built application files | |
/build/ | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties |
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
import com.ddddd.util.LoggerUtil; | |
import org.slf4j.Logger; | |
import java.security.InvalidAlgorithmParameterException; | |
import java.security.InvalidKeyException; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.spec.InvalidKeySpecException; |
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
### Android template | |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the ART/Dalvik VM | |
*.dex | |
# Java class files | |
*.class |
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
package cc.aoeiuv020.demo | |
import android.os.Build | |
import okhttp3.Request | |
import org.junit.Assert.fail | |
import org.junit.Test | |
import javax.net.ssl.SSLHandshakeException | |
/** | |
* Created by AoEiuV020 on 2018.09.04-15:19:30. |
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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
ext { | |
// 统一配置所有安卓应用模块, | |
applicationModules = ['app'] | |
// 统一配置所有javay库模块, | |
javaModules = ['jarlibrary'] | |
// 统一配置所有android库模块, | |
androidModules = ['aarlibrary'] |
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
{"lastUpload":"2021-08-24T09:03:31.852Z","extensionVersion":"v3.4.3"} |
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
#---------------------------------------------------# | |
# 配置文件需要放置在 $HOME/.config/clash/config.yml | |
# 或者运行目录下的config.yml | |
#---------------------------------------------------# | |
mixed-port: 1081 | |
port: 1082 | |
socks-port: 11181 | |
# Linux 和 macOS 的 redir 代理端口 (如需使用此功能,请取消注释) | |
# redir-port: 7892 |
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
@Test | |
public void testRadix() { | |
assertEquals("0.o72tt3lcjtq", toString("0.6721285152844136", 36)); | |
} | |
public String toString(String number, int radix) { | |
BigDecimal N = new BigDecimal(number); | |
StringBuilder sb = new StringBuilder(); | |
BigInteger i = N.toBigInteger(); | |
sb.append(i.toString(radix)); |
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
sudo ln -sf /usr/bin/vim /usr/bin/editor | |
curl -o ~/.bashrc 'https://raw.githubusercontent.com/AoEiuV020/rc/master/linux/.bashrc' | |
curl -o ~/.vimrc 'https://raw.githubusercontent.com/AoEiuV020/rc/master/linux/.vimrc' | |
git config --global user.email "aoeiuv020@gmail.com" | |
git config --global user.name "AoEiuV020" | |
git config --global push.default simple | |
git config --global core.editor vim |
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
#!/usr/bin/env python3 | |
from http.server import SimpleHTTPRequestHandler, test | |
import argparse | |
import os | |
import posixpath | |
import sys | |
class InlineHandler(SimpleHTTPRequestHandler): |
OlderNewer