Skip to content

Instantly share code, notes, and snippets.

View matuu's full-sized avatar

Matuu matuu

View GitHub Profile
@jparrill
jparrill / blurlock.sh
Created February 14, 2018 09:51
i3 Config + Scripts
#!/bin/bash
import -window root /tmp/screenshot.png
convert /tmp/screenshot.png -spread 6 /tmp/screenshotblur.png
rm /tmp/screenshot.png
i3lock -i /tmp/screenshotblur.png
@juancarlospaco
juancarlospaco / qpdf.py
Last active April 6, 2018 19:35
PDF Conversor powered by Qt5, does NOT show up any GUI, just needs an URL string, then it Prints PDF, and returns file path string, uses UUID if no output filename is passed, optional Landscape orientation if supported, CSS3 Just Works!.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""PDF Conversor powered by Qt5."""
from uuid import uuid4
from PyQt5.QtCore import QUrl
@juancarlospaco
juancarlospaco / setup.py
Last active June 5, 2024 22:21
setup.py Template, Generic but Complete, with instructions to Release to PyPI, DEB, RPM, PKGBUILD, EXE, EGG, ZIP, PYZ, and more.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
#
# To generate DEB package from Python Package:
# sudo pip3 install stdeb
# python3 setup.py --verbose --command-packages=stdeb.command bdist_deb
#
#
# To generate RPM package from Python Package: