Skip to content

Instantly share code, notes, and snippets.

@matclab
matclab / hamster.1m.py
Created October 7, 2019 21:15
Argos hamster plugin
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
##### Custommization
# Shall we use an icon instead of the current activity in the
USE_ICON=False
# Shall we add an "Add activity" link (for hamster 2+)
### Keybase proof
I hereby claim:
* I am matclab on github.
* I am matclab (https://keybase.io/matclab) on keybase.
* I have a public key ASDghi9bjHqIY4Aqx0OyN6bbuIxcVvd3UZD20vKKDwc2bwo
To claim this, I am signing this object:
@matclab
matclab / fr.py
Last active November 15, 2015 14:13
Tentative construct_plural_form for fr (gluon/contrib/plural_rules/fr.py)
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Plural-Forms for fr (French))
nplurals=2 # French language has 2 forms:
# 1 singular and 1 plural
# Determine plural_id for number *n* as sequence of positive
# integers: 0,1,...
# NOTE! For singular form ALWAYS return plural_id = 0