Spend more time developing and less on uploading

Introduction (can be skipped)

If you’re like me, you always want to speed up aspects of your life especially routine tasks. I’ll be doing this in Python but you can easily convert the code to a language of your choice.

Tutorial Starts Here

Prerequisites

We’re going to be using the Firefox Add-ons API to upload your add-on so you will need some API keys. You can get your API keys from https://addons.mozilla.org/developers/addon/api/key/.
Place the pair of API keys into a .env file like so:

jwt-issuer=string
jwt-secret=string

Third Party Libraries

After you do that, you will need to install some necessary modules
(add to requirements.txt): pip install requests PyJWT
After installing these two modules, copy the snippet below but continue reading as you need to modify some parts of the script which you may be able to realize yourself. …


Image for post
Image for post

+ no need to enter your password on every connect.

Did you know that you can make use of SSH + VSCode+(WSL) to get the ultimate experience? In this tutorial I’ll be going over setting up the Remote-SSH connection and also making sure so that you don’t have to reenter you password every single time.

If you’re on Windows, you will need to install WSL. You will also find it beneficial to upgrade to WSL2 .

Next open up your Terminal and create an ssh-rsa key if you don’t already have one.ssh-keygen -t ed25519 -a 100 if you can use the ed25519 algorithm else ssh-keygen -t rsa -b 4096 -o -a 100 . …


Image for post
Image for post

NOTE: Only works on Windows.

Back when I first started University, I decided to type out all my math notes. Yes, you heard me right, I typed out my math notes (equation editor is very powerful) — or took screenshot snippets of the textbook PDF and pasted them into my notes.docx if I was lagging behind and too lazy to type it out later. …

About

Elijah Lopez

Developer who’s constantly improving my life. Creator of #1 Firefox theme and a music player. http://elopez.me/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store