Skip to content

Instantly share code, notes, and snippets.

View All4Gis's full-sized avatar
👨‍🚀
Hic sunt dracones

Fran Raga All4Gis

👨‍🚀
Hic sunt dracones
View GitHub Profile
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active March 11, 2026 13:06
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@math2001
math2001 / Python Syntax Conventions.md
Last active September 22, 2018 09:24
Conventions for your Python code so that it looks beautiful 🎉

This gist simply lists some of the PEP8 conventions.

What is that? Simply some "rules" that you're not obliged to respect, but improves the visual quality of your python code. Because:

Readability counts.

So, let's get started.

import gi # type:ignore
import os
import csv
import time
import glob
import logging
import fractions
import subprocess
import tkinter as tk