Skip to content

Instantly share code, notes, and snippets.

@paultumabini
paultumabini / deploy-static-site-heroku.md
Created March 8, 2022 07:38 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions

@paultumabini
paultumabini / Jupyter at venv-checkpoint.md
Last active December 28, 2021 05:11
installing and executing Jupyter Notebook with any Libraries from a virtual environment

Jupyter Notebook in a virtual environment (venv)

1. Create a virtual environment:

py -m venv <venv_name>

2. Get inside the environment

source ./<venv_name>/Script/activate
@paultumabini
paultumabini / xpath_cheatsheet.md
Last active November 19, 2021 22:58
learn how to use xpath syntax and expression

title: Xpath category: HTML layout: 2017/sheet tags: [Featured] weight: -5 description: | $x('//div//p//_') == $('div p _'), $x('//[@id="item"]') == $('#item'), and many other Xpath examples.

@paultumabini
paultumabini / python_cheatsheet.md
Last active October 31, 2021 00:47
Learning the basic syntax of python

Venv Cheat Sheet

Check version or upgrade pip

pip -V
pip --version
py -m pip --version
py -m pip install --upgrade pip

Create/ Install Venv

@paultumabini
paultumabini / pip_pipenv_guide.md
Last active October 31, 2021 00:14
pip and pipenv basic commands
@paultumabini
paultumabini / mastering_markdown.md
Last active October 31, 2021 00:22
guide to start and master markdown syntax in github gist

Syntax guide

Here’s an overview of Markdown syntax that you can use anywhere on GitHub.com or in your own text files.