Skip to content

Instantly share code, notes, and snippets.

View plasx's full-sized avatar
🧭
👁️

Daniel Plas Rivera plasx

🧭
👁️
View GitHub Profile
@plasx
plasx / linux-commands.md
Last active March 17, 2020 16:20
Useful Gunicorn Nginx Commands

reload changes in nginx gunicorn files in system

sudo systemctl daemon-reload

Look at nginx errors live

sudo tail -f /var/log/nginx/error.log
@plasx
plasx / nvm-react-mac.md
Last active August 16, 2020 20:22
Getting Started

Install NVM

Remove existing brew installed node

brew uninstall --ignore-dependencies node
brew uninstall --force node
rm -f ~/.npm

Update homebrew

brew update

@plasx
plasx / sublime_text_helpful.md
Last active February 4, 2021 14:38
Sublime Text 3 Helpful Tricks

Enable Sublime Text 3 to open up via terminal (Mac OS Catalina 10.15.7)

ln -sv "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

@plasx
plasx / main.py
Created January 19, 2022 19:32
Rate Limiting Async API Requests With AIOHTTP and ASYNCIO
# standard
import asyncio
import logging
# thirdparty
import aiohttp
import attr
from attr.validation import instance_of
LOGGER_FORMAT = "%(asctime)s %(messages)s"