Skip to content

Instantly share code, notes, and snippets.

View pauloxnet's full-sized avatar
🐍
https://www.paulox.net

Paolo Melchiorre pauloxnet

🐍
https://www.paulox.net
View GitHub Profile
@pauloxnet
pauloxnet / signals.py
Last active April 1, 2016 08:45 — forked from jefftriplett/signals.py
Django management command to trace / list all signals. My fork is just a few cleanups where CommandError wasn't referenced, etc.
# coding:utf-8
import gc
import inspect
import weakref
from django.core.management.base import BaseCommand, CommandError
from django.dispatch import Signal
from django.dispatch.weakref_backports import WeakMethod
from optparse import make_option
@pauloxnet
pauloxnet / upgrade-postgresql-9.5-to-9.6.md
Last active September 20, 2017 18:33 — forked from delameko/upgrade-postgres-9.5-to-9.6.md
Upgrading PostgreSQL from 9.5 to 9.6 on Ubuntu 17.04

TL;DR

After upgrade to Ubuntu 17.04:

sudo pg_dropcluster 9.6 main --stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main
class ElasticsearchAT241 < Formula
desc "Distributed search & analytics engine"
homepage "https://www.elastic.co/products/elasticsearch"
url "https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.1/elasticsearch-2.4.1.tar.gz"
sha256 "23a369ef42955c19aaaf9e34891eea3a055ed217d7fbe76da0998a7a54bbe167"
bottle :unneeded
keg_only :versioned_formula
@pauloxnet
pauloxnet / README.md
Created November 14, 2017 16:34 — forked from zhiguangwang/README.md
Building Unreal Engine Game Client and Dedicated Server on Linux.

Building Unreal Engine Game Client and Dedicated Server on Linux

Because the build tools of UE4 works across platforms (Windows, Mac OS, Linux), steps in this article can be applied to Mac OS and Windows as well.

On Windows, You need to replace RunUAT.sh with RunUAT.bat though.

Prerequisites

First, get Unreal Engine 4 sourcecode and export the following environment variables:

@pauloxnet
pauloxnet / external_link_arrow.txt
Created November 10, 2023 08:58 — forked from miguelmota/external_link_arrow.txt
Unicode UTF-8 external link arrow symbol (closest thing to it)
@pauloxnet
pauloxnet / coverage-7.4.0-django-5.1-dev-log.py
Last active December 29, 2023 22:22
Coverage 7.4.0 with Django 5.1 dev
(django) paulox@net:~/Projects/django/tests$ COVERAGE_CORE=sysmon time python -m coverage run ./runtests.py --settings=test_sqlite --parallel=1
Testing against Django installed in '/home/paulox/Projects/django/django'
Found 16768 test(s).
Creating test database for alias 'default'...
Creating test database for alias 'other'...
System check identified no issues (17 silenced).
...............................................
Ran 16766 tests in 1724.237s
OK (skipped=1323, expected failures=5)
@pauloxnet
pauloxnet / djangoconeurope.md
Last active January 19, 2024 11:11
DjangoCon Europe

DjangoCon Europe

Here are DjangoCon Europe talk recordings ordered by views as of 2024-01-19:

$ yt-dlp -j --flat-playlist https://www.youtube.com/@DjangoConEurope | jq -r '.|[.view_count,.url,.title]|@tsv' | sort -nr
64046	https://www.youtube.com/watch?v=3GObi93tjZI	DjangoCon 2022 | From React to htmx on a real-world SaaS product: we did it, and it's awesome!
24240	https://www.youtube.com/watch?v=aEivCtavw-I	DjangoCon 2019 - Maps with GeoDjango, PostGIS and Leaflet
15048	https://www.youtube.com/watch?v=o4ol6EzGDSw	"An introduction to Django-oscar" by David Winterbottom
12482	https://www.youtube.com/watch?v=CRxjoklS8v0	DjangoCon 2018 - Representing Hierarchies in Relational Databases
@pauloxnet
pauloxnet / djangoconus.md
Created January 19, 2024 11:13
DjangoCon US

DjangoCon US

Here are DjangoCon US talk recordings ordered by views as of 2024-01-19:

$ yt-dlp -j --flat-playlist https://www.youtube.com/@DjangoConUS | jq -r '.|[.view_count,.url,.title]|@tsv' | sort -nr
55064	https://www.youtube.com/watch?v=XXG-ESzB9Q8	DjangoCon US 2016 - Building Dynamic Dashboards With Django and D3 by Clinton Dreisbach
20791	https://www.youtube.com/watch?v=zYHv6U86X0Y	DjangoCon US 2016 - Django and React: Perfect Together by Jack McCloy
20730	https://www.youtube.com/watch?v=pY-oje5b5Qk	DjangoCon US 2018 - Finally Understand Authentication in Django REST Framework by William S. Vincent
19728	https://www.youtube.com/watch?v=695y8rdHsA4	DjangoCon 2019 - Django REST Framework: Taking your API to the next level by Carlos Martinez