Skip to content

Instantly share code, notes, and snippets.

View lbrealdev's full-sized avatar
🏠
Selassie is the almighty !

akae lbrealdev

🏠
Selassie is the almighty !
  • High Places Of Anu
View GitHub Profile
@narcelio
narcelio / crack-soul.py
Created October 10, 2023 02:09
Crack da seed do SOUL Bitcoin
#!/usr/bin/env -S pipenv run python3
# -*- coding: utf-8 -*-
#
# (c) Copyright 2023 by Narcelio Filho <narcelio@gmail.com>
import aiorpcx
import asyncio
import sys
import traceback
@joemccann
joemccann / install-evmos-on-macos.md
Created February 27, 2022 15:34
Quick and Dirty Gist to Install EVMOS on MacOS

Install EVMOS on MacOS

Install Go if you don't have it. Here's a quick guide.

Download the evmos binary:

Note depending on the release/version you'll need to update the version number and path of the tar file in the commands below. The version for this gist is v1.0.0-beta1/evmos_1.0.0-beta1_Darwin_arm64.tar.gz.

cd ~/Downloads/
using ColorSchemes
using Javis
N = 6 # Number of dots
radius = 20 # Radius of each dot
colors = ColorSchemes.rainbow1 # Color palette
speed = 10 # Degrees per frame
function draw_circle(frame, i, radius, speed)
# Angle of the direction vector for the dot

yt-dlp cheat sheet

download with auto generated subtitles: yt-dlp --write-auto-sub [youtube_url]

download with eng subtitles: yt-dlp --sub-lang=en [youtube_url]

to list all subtitles for a video: yt-dlp --list-subs [youtube_url]

@SrNightmare09
SrNightmare09 / coinmarketcap-api.md
Last active April 1, 2024 16:27
Using the CoinMarketCap API: A Beginner's Guide

Using the CoinMarketCap API: A Beginner's Guide

CoinMarketCap is the world's most-referenced price-tracking website for crypto assets in the rapidly growing cryptocurrency space. Its mission is to make crypto discoverable and efficient globally by empowering retail users with unbiased, high quality and accurate information

In this guide, we will break down the process of leveraging the CoinMarketCap API to seamlessly integrate real-time crptocurrency data in your applications or projects.

While the examples in this blog primarily utilize Python code, it's important to note that the API can be utilized with various programming languages. To explore further, click here.


@duboisf
duboisf / README.md
Last active April 26, 2024 12:50
Example GitHub graphql queries using the gh cli

List all the default branches of repositories in a specific organisation

gh api graphql --paginate \
    --jq '.data.organization.repositories.nodes[] | .defaultBranchRef.name + "\t" + .name' \
    -F org=SomeOrg \
    -f query='
query($org:String!, $endCursor:String) { 
  organization(login:$org) {
    repositories(first: 100, after: $endCursor, isFork:false, orderBy: {field:NAME, direction:ASC}) {
@andrebrait
andrebrait / keychron_linux.md
Last active April 25, 2024 13:24
Keychron keyboards on Linux + Bluetooth fixes

Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.

Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.

Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.

Make Fn + F-keys work (NOT FOR QMK-BASED BOARDS)

Older Keychron keyboards (those not based on QMK) use the hid_apple driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.

@ksatirli
ksatirli / _managing-github-with-terraform.md
Created January 31, 2020 13:17
Presentation Notes: Managing GitHub with Terraform
@lbrealdev
lbrealdev / cmd-windows.txt
Last active July 17, 2019 10:53
Comandos úteis para o dia a dia Windows CMD.
Comandos Windows CMD
Autor: lbreal dev
# Comando para Windows [cmd] semelhante ao cat Linux/Unix
type test.txt
# Criar arquivo Windows [cmd] semelhante ao vi / touch /nano Linux/Unix
fsutil file createnew testfile.txt 1000
# 2º maneira de criar arquivos