Skip to content

Instantly share code, notes, and snippets.

View lucasoal's full-sized avatar
:octocat:

Lucas Leal lucasoal

:octocat:
View GitHub Profile
@MrCl0wnLab
MrCl0wnLab / Bitcoin Address.log
Last active October 5, 2022 20:22
Full Dump email extorsão
Bitcoin Address
- 1PBgsz3bar9N64omj7APSY7rATQ2fyH6Vm
Bitcoin Abuse Database
- https://www.bitcoinabuse.com/reports/1PBgsz3bar9N64omj7APSY7rATQ2fyH6Vm
Block Chain
- https://www.blockchain.com/btc/address/1PBgsz3bar9N64omj7APSY7rATQ2fyH6Vm
@ohld
ohld / code_to_media_id.py
Created February 19, 2020 20:14
Convert Instagram media URL to media_id
# This is Python port of this Javascript method:
# https://github.com/notslang/instagram-id-to-url-segment/blob/master/lib/index.coffee
url = "https://www.instagram.com/p/B8iwlG9pXHI/"
# ----> use regexp to extract code from url
code = "B8iwlG9pXHI"
charmap = {
'A': '0',
'B': '1',
@matthewzring
matthewzring / markdown-text-101.md
Last active July 3, 2024 22:10
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@davidalves1
davidalves1 / desfazendo-push.md
Last active July 1, 2024 14:48
Desfazendo um git push

Desfazendo um git push

Não é possível desfazer um push diretamente, como é feito com o commit utilizando o comando $ git reset --soft|mixed|hard hash-do-penultimo-commit

Para desfazer um push são necessários 3 passos:

  1. Utilizar o comando $ git reset --mixed HEAD~1 e em seguida utilizar o comando $ git stash (se preferir pode usar a opção -m "revertendo o push blablabla" para salvar o stash com um contexto do que foi feito
  2. Utilizar o comando $ git revert HEAD~0
  3. Utilizar o comando $ git stash apply
  4. Utilizar o comando $ git push origin sua-branch -f
@leocomelli
leocomelli / git.md
Last active July 5, 2024 03:10
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda