Skip to content

Instantly share code, notes, and snippets.

View MatheusAmelco's full-sized avatar
😄
Working...

Matheus Amelco MatheusAmelco

😄
Working...
View GitHub Profile
@MatheusAmelco
MatheusAmelco / crash-2023-08-19_17.26.05-client.txt
Created August 19, 2023 20:30
crash-2023-08-19_17.26.05-client.txt
---- Minecraft Crash Report ----
// Why did you do that?
Time: 2023-08-19 17:26:05
Description: Rendering entity in world
java.lang.ClassCastException: class dev.shadowsoffire.hostilenetworks.client.GhostVertexBuilder cannot be cast to class me.jellysquid.mods.sodium.client.render.vertex.VertexBufferWriter (dev.shadowsoffire.hostilenetworks.client.GhostVertexBuilder is in module hostilenetworks@5.1.3 of loader 'TRANSFORMER' @1da75dde; me.jellysquid.mods.sodium.client.render.vertex.VertexBufferWriter is in module rubidium@0.6.5 of loader 'TRANSFORMER' @1da75dde)
at me.jellysquid.mods.sodium.client.render.vertex.VertexBufferWriter.of(VertexBufferWriter.java:8) ~[rubidium-0.6.5.jar%23389!/:?] {re:mixin,re:classloading}
at net.minecraft.client.model.geom.ModelPart.m_104290_(ModelPart.java:1058) ~[client-1.20.1-20230612.114412-srg.jar%23414!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:playerAnimator-common.mixins.json:ModelPartMixin,pl:mixin:APP:rubidium.mixins.json
@MatheusAmelco
MatheusAmelco / settings
Last active June 3, 2019 20:36
Arquivo de Configuração do VSCode.
/*
Arquivo de configurações padrões para o VSCode.
Algumas dessas configuraçoes dependem das extensões: ESLint, Prettier, Dracula Official
e vscode-icons.
Também utiliza-se o Fira Code como fonte, para deixar os operadores mais
bonitos e fáceis de identificar.
*/
{
@MatheusAmelco
MatheusAmelco / .editorconfig
Last active November 26, 2018 20:21
EditorConfig - Configuração Padrão
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@MatheusAmelco
MatheusAmelco / NumberPicker.java
Last active November 13, 2017 13:25
Custom number picker for Android
package com.matheusamelco.android.components;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;
import android.widget.CompoundButton;
@MatheusAmelco
MatheusAmelco / CPFFormatter.java
Last active November 25, 2021 13:33
Brazilian "CPF" formatter for Android
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;
public class CPFFormatter implements TextWatcher {
private final String CPF_MASK = "###.###.###-##";
private final char[] CPF_MASK_ARRAY = CPF_MASK.toCharArray();
private boolean isInTextChanged = false;
private boolean isInAfterTextChanged = false;
@MatheusAmelco
MatheusAmelco / PhoneFormatter.java
Last active October 18, 2017 13:28 — forked from joaopedronardari/PhoneMask.java
Brazilian Phone Number Formatter for Android
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;
public class PhoneFormatter implements TextWatcher {
private static final String PHONE_MASK = "(##) #####-####";
private final char[] PHONE_MASK_ARRAY = PHONE_MASK.toCharArray();
private boolean isInTextChanged = false;
private boolean isInAfterTextChanged = false;