- SO-01H
- 256 : JPEG
- 34 : PRIVATE
- 35 : YUV_420_888
- SM-N920I
- 1 : DEPTH16
- 32 : RAW_SENSOR
- 256 : JPEG
- 34 : PRIVATE
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
package pattern4; | |
import java.util.*; | |
import java.util.function.Supplier; | |
/** | |
* Created by cattaka on 17/07/04. | |
* <p> | |
* Gist for https://twitter.com/Kory__3/status/882212409967919104 | |
*/ |
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
package pattern3; | |
import java.util.*; | |
import java.util.function.Supplier; | |
/** | |
* Created by cattaka on 17/07/04. | |
* <p> | |
* Gist for https://twitter.com/Kory__3/status/882212409967919104 | |
*/ |
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
package pattern2; | |
import java.util.*; | |
/** | |
* Created by cattaka on 17/07/04. | |
* <p> | |
* Gist for https://twitter.com/Kory__3/status/882212409967919104 | |
*/ | |
public abstract class MyCacheMap<K, V> { |
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
package pattern1; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.Set; | |
import java.util.UUID; | |
/** | |
* Created by cattaka on 17/07/04. | |
* <p> |
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
#include <SPI.h> | |
#include <LiquidCrystal.h> | |
#include <Servo.h> | |
#include "HX711.h" | |
#define PIN_L_EXTRUDE 5 | |
#define PIN_R_EXTRUDE 2 | |
#define PIN_TARE 4 | |
#define PIN_RESET 3 | |
#define PIN_DIAL A0 |
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 android.os.Bundle; | |
import android.os.Parcelable; | |
import android.support.annotation.Nullable; | |
import android.util.Size; | |
import android.util.SizeF; | |
import android.util.SparseArray; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; |
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 android.databinding.BindingAdapter; | |
import android.text.Editable; | |
import android.text.TextWatcher; | |
import android.view.View; | |
import android.widget.TextView; | |
/** | |
* These codes are licensed under CC0. | |
* <p/> | |
* Created by cattaka on 2016/10/18. |
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 java.io.ByteArrayOutputStream; | |
import java.io.ObjectOutputStream; | |
import java.util.ArrayList; | |
/** | |
* Created by cattaka on 2016/11/03. | |
*/ | |
public class NotSerializableExceptionExample { | |
public static void main(String[] args) throws Exception { | |
new NotSerializableExceptionExample().func(); |
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 android.animation.ArgbEvaluator; | |
import android.databinding.BindingAdapter; | |
import android.support.annotation.ColorInt; | |
import android.support.constraint.ConstraintLayout; | |
import android.view.View; | |
import android.view.ViewGroup; | |
/** | |
* Created by cattaka on 2016/10/24. | |
*/ |