Skip to content

Instantly share code, notes, and snippets.

View stasm's full-sized avatar

Stanisław Małolepszy stasm

View GitHub Profile
@stasm
stasm / fuzz
Last active August 29, 2015 14:23 — forked from zbraniecki/fuzz
#!/usr/bin/env python
import argparse
import random
import hglib
import json
import subprocess
PY_COMPARE = 'compare-dirs'
JS_COMPARE = '/home/stas/moz/compare-locales.js/bin/compare-dirs.js'
@stasm
stasm / attrs.ftl
Last active October 5, 2017 20:45 — forked from zbraniecki/attrs.ftl
Experiment with FTL syntax
key = Value
key.attr = Attribute
key.attr2 = Attribute 2
key.attr = Attribute
key.attr2 = Attribute 2
key =
Multiline
Value
@stasm
stasm / test.py
Last active May 7, 2018 13:04 — forked from flodolo/test.py
# coding=utf8
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
from __future__ import absolute_import
import fluent.syntax.ast as FTL
from fluent.migrate import COPY
from fluent.migrate.helpers import transforms_from