Skip to content

Instantly share code, notes, and snippets.

View kalungia's full-sized avatar

Abraham Kalungi kalungia

View GitHub Profile
server {
listen 80;
server_name yourdomain.com www.yourdomain.com;
access_log /var/log/nginx/domlogs/yourdomain.com.log;
root /home/imbrapos/yourdomain.com;
location / {
proxy_pass http://localhost:YOUR_PORT;
proxy_set_header Host $host;
""" ftp/utilities/pdf.py """
import os
from PyPDF2 import PdfFileWriter
import frappe
NoneType = type(None)
'''
USAGE EXAMPLE: