Last major update: 25.08.2020
- Что такое авторизация/аутентификация
- Где хранить токены
- Как ставить куки ?
- Процесс логина
- Процесс рефреш токенов
- Кража токенов/Механизм контроля токенов
| # Слоумо | |
| ffmpeg -i 'input.mp4' -f rawvideo -b 100000000 -vcodec rawvideo -s 1280x720 -y - | ffmpeg -f rawvideo -r 100 -s 1280x720 -i - -b 8000000 -y output.mp4 | |
| # Таймлапс из видео (ускорить видео) | |
| ## 0.125 — в 8 раз | |
| ffmpeg -i input.mp4 -filter:v "setpts=0.125*PTS" -r 60 -an output.mp4 |
| // This is a super simplified example of how to use the new dagger.android framework | |
| // introduced in Dagger 2.10. For a more complete, in-depth guide to dagger.android | |
| // read https://proandroiddev.com/how-to-android-dagger-2-10-2-11-butterknife-mvp-part-1-eb0f6b970fd | |
| // For a complete codebase using dagger.android 2.11-2.17, butterknife 8.7-8.8, and MVP, | |
| // see https://github.com/vestrel00/android-dagger-butterknife-mvp | |
| // This example works with Dagger 2.11-2.17. Starting with Dagger 2.11, | |
| // @ContributesAndroidInjector was introduced removing the need to define @Subcomponent classes. |
| package pl.mkaras.utils; | |
| import android.content.Context; | |
| import android.support.design.widget.AppBarLayout; | |
| import android.support.design.widget.CoordinatorLayout; | |
| import android.support.v4.view.ViewCompat; | |
| import android.support.v7.widget.Toolbar; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.view.ViewGroup; |