Skip to content

Instantly share code, notes, and snippets.

View setiawanjemy88's full-sized avatar
:octocat:
I may be slow to respond.

JEMY SETIAWAN setiawanjemy88

:octocat:
I may be slow to respond.
View GitHub Profile
bundle exec ruby bot.rb
bot created
(JSON::ParserError)bies/ruby-2.3.0/lib/ruby/2.3.0/json/common.rb:156:in `parse': 784: unexpected token at '<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx/1.9.1</center>
</body>
</html>
'
@setiawanjemy88
setiawanjemy88 / matrix-collection.twig
Created August 11, 2021 01:03 — forked from danieltott/matrix-collection.twig
Matrix in Matrix Workaround
{% macro outputTiles(tileList) %}
{# use macro to keep it DRY #}
<div class="tiles">
{% for tile in tileList %}
<div class="tile">{{ tile.tileTitle }}</div>
{% endfor %}
</div>
{% endmacro %}
@setiawanjemy88
setiawanjemy88 / MatrixEvaluator.java
Created August 11, 2021 01:02 — forked from niusounds/MatrixEvaluator.java
Matrix to Matrix implementation
import android.animation.TypeEvaluator;
import android.graphics.Matrix;
public class MatrixEvaluator implements TypeEvaluator<Matrix> {
private Matrix evaluated = new Matrix();
private float[] values = new float[9];
private float[] startValues = new float[9];
private float[] endValues = new float[9];
@Override