- Shiro > 权限管理框架
- Carbon
Create and share beautiful images of your source code. Start typing or drop a file into the text area to get started.
- asciinema
Record and share your terminal sessions, the right way.
- 在线工具集合
- 数据结构和算法动态可视化
- IntelliJ IDEA官方文档
- Cheat Sheets
- tutorial spoint
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
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
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 {Component, default as React} from "react"; | |
import {Animated, Easing, StyleSheet, Text, View} from "react-native"; | |
interface ScannerViewState { | |
animation: Animated.Value | |
} | |
export class ScannerView extends Component<any, ScannerViewState> { | |
animate: Animated.CompositeAnimation; |
If you use atom... download & install the following packages:
-
简介(Introduction): [必备] [文件] 提供对产品和文档本身的总体的、扼要的说明
-
快速上手(Getting Started):[可选] [文件] 如何最快速地使用产品
-
入门篇(Basics): [必备] [目录] 又称”使用篇“,提供初级的使用教程
-
环境准备(Prerequisite):[必备] [文件] 软件使用需要满足的前置条件
-
安装(Installation):[可选] [文件] 软件的安装方法
-
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
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } | |
maven{ url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'} | |
<repositories> | |
<repository> |
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
public class SoftKeyBoardListener { | |
private View rootView;//activity的根视图 | |
int rootViewVisibleHeight;//纪录根视图的显示高度 | |
private OnSoftKeyBoardChangeListener onSoftKeyBoardChangeListener; | |
public SoftKeyBoardListener(Activity activity) { | |
//获取activity的根视图 | |
rootView = activity.getWindow().getDecorView(); | |
//监听视图树中全局布局发生改变或者视图树中的某个视图的可视状态发生改变 |
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
#!/bin/sh | |
# cross & static compile shadowsocks-libev | |
PCRE_VER=8.41 | |
PCRE_FILE="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VER.tar.gz" | |
MBEDTLS_VER=2.6.0 | |
MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz" |
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
############################################# | |
# | |
# 对于一些基本指令的添加 | |
# | |
############################################# | |
# 代码混淆压缩比,在0~7之间,默认为5,一般不做修改 | |
-optimizationpasses 5 | |
# 混合时不使用大小写混合,混合后的类名为小写 | |
-dontusemixedcaseclassnames |