Skip to content

Instantly share code, notes, and snippets.

View beilly's full-sized avatar

benli.shi beilly

View GitHub Profile
@beilly
beilly / trial.key
Last active June 7, 2018 08:27 — forked from huqi/trial.key
Beyond Compare 4 license for Mac and Windows
Beyond Compare 4
Licensed to: ASIO Allsoftinone
Quantity: 1 user
Serial number: 1822-9597
License type: Pro Edition for Windows
--- BEGIN LICENSE KEY ---
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t
@beilly
beilly / init.gradle
Created September 17, 2018 08:37
gradle使用阿里云的镜像服务器,包含jitpack、私服配置
allprojects{
repositories {
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
maven{ url 'https://maven.aliyun.com/repository/google'}
maven { url "https://jitpack.io" }
maven { url 'http://172.17.16.112:8081/nexus/content/repositories/releases/' }
}
buildscript {
repositories {
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
@beilly
beilly / 开发通用工具.MD
Created April 23, 2019 05:40
开发工具收集
@beilly
beilly / email-sonar.html
Created May 14, 2019 03:16
Jenkins邮件模板
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>${ENV, var="JOB_NAME"}-第${BUILD_NUMBER}次构建日志</title>
</head>
<style>
.build_info_table,
@beilly
beilly / filelist.txt
Created July 7, 2019 06:32
一个基于ffmpeg的视频截取合并的过程记录
file 'cut111.mp4'
file 'cut333.mp4'
file 'cut222.mp4'
@beilly
beilly / frpc.sh
Last active September 20, 2019 07:35
mac jenkins 安装和启动
nohup ./frpc -c ./frpc.ini &
@beilly
beilly / AndroidManifest.xml
Last active August 20, 2019 02:03
Android Security Config
android:networkSecurityConfig="@xml/security_config"
@beilly
beilly / AndroidPath.MD
Last active August 21, 2019 06:14
记录Android系统文件访问权限
Log.i(TAG,context.getCacheDir().getPath());
///data/user/0/{packageName}/cache
Log.i(TAG,context.getFilesDir().getPath());
///data/user/0/{packageName}/files
Log.i(TAG,Environment.getExternalStorageDirectory().getPath());
///storage/emulated/0   需要权限
Log.i(TAG,context.getObbDir().getPath());
///storage/emulated/0/Android/obb/{packageName}  不需要权限,获取其他应用路径的需要权限
Log.i(TAG,context.getExternalCacheDir().getPath());
@beilly
beilly / slide_from_left.xml
Created September 23, 2019 06:37
Android 两个界面间快速切换时,会发现有短暂黑屏
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="@integer/slide_animation_duration"
android:fromXDelta="-100%p"
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
android:toXDelta="0"/>
</set>
@beilly
beilly / shell.sh
Last active February 25, 2022 05:02
常用shell 脚本、命令
echo time=`date +"%Y%m%d-%H%m%S"` > properties.txt
keytool -list -v -keystore "jsk路径" -storepass 密码