Skip to content

Instantly share code, notes, and snippets.

View edmarola's full-sized avatar

Eduardo Rodríguez edmarola

View GitHub Profile
@edmarola
edmarola / figma.py
Created June 6, 2023 18:01
Python Figma SVG download
import logging
import os
import requests
from requests.models import HTTPError
def make_figma_request(url: str):
ACCESS_TOKEN = os.environ["ACCESS_TOKEN"]
BASE_URL = "https://api.figma.com/v1"
@edmarola
edmarola / keychron_linux.md
Created December 23, 2022 04:05 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux + Bluetooth fixes

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

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

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

@edmarola
edmarola / installing-postman.md
Created December 23, 2022 02:57 — forked from pmkay/installing-postman.md
Installing Postman on Ubuntu/Gnome

Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux

Although I highly recommend using a snap

sudo snap install postman

Installing Postman

tar -xzf Postman-linux-x64-5.3.2.tar.gz