Skip to content

Instantly share code, notes, and snippets.

View Jonamaita's full-sized avatar
🚀
I am Learning!

Jonathan Jonamaita

🚀
I am Learning!
View GitHub Profile
@Jonamaita
Jonamaita / instructions.md
Last active January 3, 2025 13:42 — forked from matthewjberger/instructions.md
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@Jonamaita
Jonamaita / settings.py
Created September 22, 2022 13:17 — forked from jurrian/settings.py
Client-side rate limiting for Sentry
import logging
import sentry_sdk
from ratelimitingfilter import RateLimitingFilter
from sentry_sdk.integrations.django import DjangoIntegration
from sentry_sdk.integrations.logging import LoggingIntegration
# Sentry
sentry_logging = LoggingIntegration(
level=logging.INFO, # Capture info and above as breadcrumbs
@Jonamaita
Jonamaita / curl.md
Last active March 8, 2022 18:13 — forked from subfuzion/curl.md
curl examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.