Skip to content

Instantly share code, notes, and snippets.


JD joeld1

  • Southern California
View GitHub Profile
joeld1 /
Last active Nov 15, 2020
Collection of python-docx hyperlink snippets
joeld1 /
Last active Oct 24, 2020
Notes on ways to import requirements.txt files into Poetry

Original StackOverflow Post

  • Solution - 1

    • "poetry doesn't support this directly. But if you have a handmade list of required packages (at best without any version numbers), that only contain the main dependencies and not the dependencies of a dependency you could do this:"
      • cat requirements.txt|xargs poetry add
  • Solution - 2

    • Another Solution
      • for item in $(cat requirements.txt); do poetry add "${item}"; done
joeld1 / applayout.html
Created Oct 22, 2020
Pluralsight - Django Templates Course - Ticketing App Templates
View applayout.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Ticketing App - {% block title %} {% endblock %}</title>
<a href="/">Home</a>
<a href="/tickets">View Tickets</a>
You can’t perform that action at this time.