Skip to content

Instantly share code, notes, and snippets.

View jackie1santana's full-sized avatar
✍️
writing code ..

Jackie Santana jackie1santana

✍️
writing code ..
View GitHub Profile
@jackie1santana
jackie1santana / a
Last active April 23, 2025 18:15
a
Hey, just wanted to give you a quick heads-up. Everything’s pretty routine on my end, but I’m currently involved in a custody matter outside of work—just working toward joint custody of my kids.
It hasn’t impacted my work at all, and it won’t. There may occasionally be a court hearing I’ll need to attend, but since I work fully remote, I always make sure all deliverables are handled either before or after.
I do have an upcoming court date that hasn’t been confirmed yet, but I’ll let you know as soon as I have that info—just so it’s on your radar. It’s not an ongoing thing, just here and there when something comes up.
Appreciate the understanding!

Set the base image to Ubuntu must be first instruction - use docker search to find images

FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)

Set the maintainer info

@jackie1santana
jackie1santana / docker-help.md
Created February 2, 2021 03:30 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@jackie1santana
jackie1santana / node_nginx_ssl.md
Created January 30, 2021 03:32 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@jackie1santana
jackie1santana / postgres-cheatsheet.md
Created June 20, 2020 19:26 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@jackie1santana
jackie1santana / django_deploy.md
Created June 18, 2020 15:52 — forked from bradtraversy/django_deploy.md
Django Deployment - Digital Ocean

Django Deployment to Ubuntu 18.04

In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc

Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server

Create A Digital Ocean Droplet

Use this link and get $10 free. Just select the $5 plan unless this a production app.

@jackie1santana
jackie1santana / python_heroku.MD
Created June 18, 2020 15:52 — forked from bradtraversy/python_heroku.MD
Python & Postgres Heroku Deployment

Python Heroku Deployment

Steps to create a postgres database and deply a Python app to Heroku

Install guinicorn locally

pipenv install gunicorn
or
pip install gunicorn
@jackie1santana
jackie1santana / python_mysql.py
Created June 18, 2020 15:50 — forked from bradtraversy/python_mysql.py
Python & MySQL crash course for beginners
import mysql.connector
from mysql.connector import errorcode
config = {
'user': 'root',
'password': '',
'host': 'localhost',
'database': 'acme'
}
@jackie1santana
jackie1santana / django_cheat_sheet.md
Created June 18, 2020 15:49 — forked from bradtraversy/django_cheat_sheet.md
Django command cheat sheet

Django 2.x Cheat Sheet

Creating a virtual environment

We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder

python -m venv ./venv
1) npm install -g firebase-tools
2) firebase login
3) firebase init hosting
4) pick folder
5) firebase serve (if u want to see how the site looks in dev)
6) firebase deploy