Skip to content

Instantly share code, notes, and snippets.

View annalee's full-sized avatar

Annalee annalee

View GitHub Profile
@annalee
annalee / kijimi-coc.md
Created December 20, 2019 04:23
Code of Conduct for the Kijimi slack.

Kijimi Code of Conduct

Welcome!

Welcome to Kijimi! This space is a temporary community that exists so we can discuss Star Wars: Rise of Skywalker without spoiling friends who haven't seen it yet. Spoilers are allowed in cleartext in all channels.

The current admins are:

  • Annalee.
@annalee
annalee / craitbase-coc.md
Created December 15, 2017 04:50
Crait Base Code of Conduct

Crait Base Code of Conduct

Welcome!

Welcome to Crait Base! This space is a temporary community that exists so we can discuss Star Wars: The Last Jedi without spoiling friends who haven't seen it yet. Spoilers are allowed in cleartext in all channels.

The current admins are:

  • Annalee.
@annalee
annalee / sample-slack-coc.md
Last active April 11, 2024 21:14
A sample code of conduct for social slack teams.

[SLACKNAME] Code of Conduct

Welcome!

[BRIEF DESCRIPTION OF THE SLACK AND ITS PURPOSE]

The current admins are:

  • [NAMES]
@annalee
annalee / jakku-code-of-conduct.md
Last active December 18, 2015 16:50
The Code of Conduct for the Jakku slack community.

The Jakku Code of Conduct

Welcome to Jakku-- a discussion community for Star Wars: The Force Awakens.

This space is an experiment in temporary community. It exists so we can discuss Star Wars without spoiling friends who haven't seen it yet. Spoilers are allowed in cleartext in all channels. If you haven't seen the movie yet, you're in the wrong place.

We want this to be a fun, pleasant, and harassment-free experience for everyone, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, or religion. We do not tolerate harassment of participants in any form. Participants asked to stop any harassing behavior are expected to comply immediately.

Definitions

@annalee
annalee / django-sample.md
Last active August 29, 2015 14:23
django code review sample.

The code below is from a django project for a kickstarter-like funding platform.

This is the view for the individual project page, which shows the project's title, description, and featured image, and asks the user to donate to the project. The page provides four suggested donation amounts, with a fifth option for the user to write in a custom amount. The minimum donation is $5. The max is $1000. The median is $20.

def project_page(request, slug):
    project = get_object_or_404(Project.objects.get(slug=slug, published=True))
    featured_image = project.featured_image
    account = project.account