You can make your own HD animated GIF generator.
Follow along with these commands to get started.
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
import java.util.Arrays; | |
class NonCapturing { | |
public static void main(String... args) { | |
run(new Runnable() { | |
@Override public void run() { | |
System.out.println("Hey!"); | |
} | |
}); | |
} |
/* | |
* Copyright (C) 2016 Jesse Wilson | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
package com.example.columnspacing | |
import android.graphics.Paint; | |
import android.graphics.Rect; | |
import android.support.v4.content.ContextCompat; | |
import android.support.v7.widget.GridLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.Log; | |
import android.view.View; |
/* | |
* Copyright (C) 2016 Square, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
import java.io.IOException; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
import okhttp3.Request; | |
import okhttp3.ResponseBody; | |
import retrofit2.Call; | |
import retrofit2.CallAdapter; |
Function | Function type | Target passed as | Returns |
---|---|---|---|
also |
Extension | it |
Target |
apply |
Extension | this |
Target |
let |
Extension | it |
Block return value |
run |
Extension | this |
Block return value |
with |
Regular | this |
Block return value |
package com.squareup.refmt | |
import okio.Okio | |
import java.io.File | |
fun main(args: Array<String>) { | |
val directory = File(args[0]) | |
Reformatter().reformatDirectory(directory) | |
} |
import android.util.AtomicFile | |
import okio.Buffer | |
import okio.Sink | |
import okio.sink | |
import okio.source | |
import java.io.FileOutputStream | |
import java.io.IOException | |
fun AtomicFile.source() = openRead().source() |