(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Title</title> | |
| </head> | |
| <body> | |
| <form method="post"> | |
| {{ form.hidden_tag() }} | |
| {{ form.example }} |
| /* | |
| * Copyright (c) 2017 Emil Davtyan | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining | |
| * a copy of this software and associated documentation files (the | |
| * "Software"), to deal in the Software without restriction, including | |
| * without limitation the rights to use, copy, modify, merge, publish, | |
| * distribute, sublicense, and/or sell copies of the Software, and to | |
| * permit persons to whom the Software is furnished to do so, subject to | |
| * the following conditions: |
| import android.content.Context; | |
| import android.support.v7.widget.Toolbar; | |
| import android.text.TextUtils; | |
| import android.util.AttributeSet; | |
| import android.widget.TextView; | |
| import java.lang.reflect.Field; | |
| public class MarqueeToolbar extends Toolbar { |
| import android.content.Context; | |
| import android.text.Editable; | |
| import android.text.Spannable; | |
| import android.text.TextWatcher; | |
| import android.text.style.RelativeSizeSpan; | |
| import android.util.AttributeSet; | |
| import android.widget.EditText; | |
| public class TitledEditText extends EditText implements TextWatcher{ | |
转换方法:
使用附件中的java程序。命令如下:
cp Vector2Svg.java path/to/xml_dir
javac Vector2Svg.java
java Vector2Svg ./*.xml
mkdir svg_dir
| public abstract class EndlessRecyclerViewScrollListener extends RecyclerView.OnScrollListener { | |
| // The minimum amount of items to have below your current scroll position | |
| // before loading more. | |
| private int visibleThreshold = 5; | |
| // The current offset index of data you have loaded | |
| private int currentPage = 0; | |
| // The total number of items in the dataset after the last load | |
| private int previousTotalItemCount = 0; | |
| // True if we are still waiting for the last set of data to load. | |
| private boolean loading = true; |
| # | |
| # Build configuration for Circle CI | |
| # | |
| # See this thread for speeding up and caching directories: | |
| # https://discuss.circleci.com/t/installing-android-build-tools-23-0-2/924 | |
| # | |
| general: | |
| artifacts: | |
| - /home/ubuntu/AndroidCI/app/build/outputs/apk/ |