Skip to content

Instantly share code, notes, and snippets.

@PaulleDemon
PaulleDemon / 1tikCommerce.md
Last active July 9, 2024 12:59
Tikcommerce concept prototype

TikCommerce

TikCommerce, is a conecept of providing a minute long video, instead of the traditional product display method cluttering the UI. With studies showing that video tends to bring 6 times more engagement and higher conversion rates, a minute long product video is the future of the E-Commerce.

This is submitted as part of Wix Studio challenge

Read more about TikCommerce

The code is licensed under GPL-3

@PaulleDemon
PaulleDemon / django-templates.md
Created June 19, 2024 04:58
Django themes and templates to supercharge Django development

Django themes and templates

Writing a django app from scratch has been a hassle, so if you are looking to speed up your web development check out Django templates by foxcraft.

It comes with responsive design, google reCAPTCHA, modern Admin dashboard and more. Read the features below

Demo

You can check out the demo website here

@PaulleDemon
PaulleDemon / FileTreeGenerator.py
Created August 5, 2022 06:37
walks through a specified directory listing all the files and folders in with indent.
# used to generate file overview
import os
ignore_dirs = ['.git']
ignore_files = ['.env']
def path_tree(root, inner=0):
for dir in os.listdir(root):
# print("DIR: ", root, dirs, files)
@PaulleDemon
PaulleDemon / PyPi Upload.md
Last active January 19, 2024 16:52
This is quick description to upload to PyPi
  • create setup.py file

Eg:

from setuptools import setup

with open("Readme.md", 'r') as f:
    long_description = f.read()

setup(
@PaulleDemon
PaulleDemon / Speech_to_text.py
Last active July 20, 2021 10:25
PyQt/PySide with speech_recognition
# MIT License
#
# Copyright (c) 2021 Paul
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@PaulleDemon
PaulleDemon / Resize_CanvasItems.py
Last active August 26, 2021 07:16
This is an example on how to resize canvas items by dragging the corner in tkinter.
# MIT License
#
# Copyright (c) 2021 Paul
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: