Skip to content

Instantly share code, notes, and snippets.

View lucasmz-dev's full-sized avatar
👋
Probably on @signalapp

Lucas lucasmz-dev

👋
Probably on @signalapp
View GitHub Profile
@daltux
daltux / 2023-07-09_samsung.md
Last active October 1, 2023 17:14
Obsolescência programada da Samsung venceu

Obsolescência programada da Samsung venceu

Originalmente publicado em 9 de julho de 2023.

Orgulhava-me por conseguir usar celulares até acabarem, desistindo apenas quando literalmente quebravam ou a reposição da bateria ficava inviável. Já fiz vários "ressuscitarem", após deixarem de ter atualizações das fabricantes, instalando geralmente alguma versão de LineageOS (Cyanogenmod anteriormente), uma distribuição comunitária com atualização frequente do Android, sistema operacional cujas partes genéricas, incluindo o Kernel Linux, têm o código-fonte aberto. Código-fonte é a programação escrita que pode ser estudada, auditada e/ou reaproveitada. As fabricantes dos aparelhos adicionam ao Android componentes específicos para cada modelo e normalmente promovem

@lucasmz-dev
lucasmz-dev / 8907XX-SW-MAIN-XX6500SS5300S615-VS.367_USB.md
Last active June 1, 2024 00:28
Atualização TCL S6500 32" V367 em protocolo BitTorrent (em forma de torrent) para maior velocidade e arquivamento
@stravant
stravant / GoodSignal.lua
Last active May 14, 2024 22:52
Good Roblox Signal Implementation
--------------------------------------------------------------------------------
-- Batched Yield-Safe Signal Implementation --
-- This is a Signal class which has effectively identical behavior to a --
-- normal RBXScriptSignal, with the only difference being a couple extra --
-- stack frames at the bottom of the stack trace when an error is thrown. --
-- This implementation caches runner coroutines, so the ability to yield in --
-- the signal handlers comes at minimal extra cost over a naive signal --
-- implementation that either always or never spawns a thread. --
-- --
-- API: --
@stevecondylios
stevecondylios / resize-image-in-github-issue-github-flavored-markdown.md
Last active May 16, 2024 06:14
How to Resize an Image in a Github Issue (e.g. Github flavored Markdown)

How to Resize an Image in Github README.md (i.e. Github Flavored Markdown)

Percentage:

<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width=50% height=50%>

Pixels:

<img src="https://user-images.githubusercontent.com/16319829/81180309-2b51f000-8fee-11ea-8a78-ddfe8c3412a7.png" width="150" height="280">

Github Two-Factor Authentication (2FA) for Brazil via SMS

The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55 will be the first on the list, already selected:


🇧🇷 [pt-BR]

Autenticação em dois fatores (2FA) do GitHub para o Brasil via SMS

@WhyNotHugo
WhyNotHugo / MinecraftIPv6.java
Created June 17, 2014 22:06
Run minecraft forcing IPv6 on
import java.io.IOException;
import java.net.InetAddress;
import net.minecraft.bootstrap.Bootstrap;
/*
* Launches minecraft forcing the usage of IPv6.
* You should make sure minecraft.jar is added to the classpath
* That's /usr/share/minecraft/minecraft.jar on most distros.
*