Skip to content

Instantly share code, notes, and snippets.

View yakky's full-sized avatar
🐢
trying to catch up with maintainer duties

Iacopo Spalletti yakky

🐢
trying to catch up with maintainer duties
View GitHub Profile
@kennethreitz
kennethreitz / check.sh
Created February 7, 2016 15:48
How to find out why your RST isn't rendering on PyPi
pip install readme-renderer && python setup.py check -rs
@henning
henning / aldryn_installer_ideas.md
Last active December 28, 2015 01:29
Ideas about what we do to make the aldryn installer help users get terribly easy started with django CMS

We've been dicussing the Aldryn CMS installer and what it needs to make it a very good tool that serve's it's puprose very well.

First i gonna define what I, as a user, believe what an installer must do.

I believe in 80% and more it's the new and/or caual user wanting to testdrive, or setting up the system once a year for development. Experts, longterm and production use will and should always be handled with automated deployments(ansible, chef, puppet), selfmade distribution packages(rpm, deb,..) and such!

That means the installer must be able, to get a ready to use CMS system, for simple use cases, installed as simple and fast as possible, allowing the user to add more specific settings, further features and adjustments and extensions of functionally later as needed.

Here we realize: Its not only the installer, but a combination of documentation, configurability, extensibility, adjustability of the system itself, and the installer has to prepare a system that works well and easy as fast as possible, w

@stefanfoulis
stefanfoulis / osx_developer_installation.rst
Last active July 10, 2024 14:36
Instructions on how to setup an OSX developer machine for (python/django) development

OSX Developer System installation

This guide assumes a fresh install of Mac OSX 10.7 Lion.

Brew User

@rctay
rctay / gist:527113
Created August 16, 2010 15:18
[django] check if db table exists
"""
Came up with this for satchmo's downloadable product migration, 0001_split.
"""
def db_table_exists(table, cursor=None):
try:
if not cursor:
from django.db import connection
cursor = connection.cursor()
if not cursor:
raise Exception