% My first GIST % Dr.Yahyaoui M.Kaddour % 09-08-2015
Je m'amuse comme je peux avec ces fantastiques outils que m'offre github
import csv | |
from django.http import HttpResponse | |
# also include UnicodeWriter from the Python docs http://docs.python.org/library/csv.html | |
class ExportModel(object): | |
@staticmethod |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Written by Titus von der Malsburg <[email protected]>, March 2014. | |
# This is a simple script for converting vCard files to | |
# org-contacts. There is one mandatory argument: the name of the | |
# vCard file. The result is printed to standard out. | |
# Usage: |
\starttypescriptcollection [alegreya] | |
\starttypescript [serif] [alegreya] | |
\setups[font:fallback:serif] | |
\definefontsynonym [Serif] [file:Alegreya-Regular.ttf] [features=default] | |
\definefontsynonym [SerifItalic] [file:Alegreya-Italic.ttf] [features=default] | |
\definefontsynonym [SerifSlanted] [file:Alegreya-Italic.ttf] [features=default] | |
\definefontsynonym [SerifBold] [file:Alegreya-Bold.ttf] [features=default] | |
\definefontsynonym [SerifBoldItalic] [file:Alegreya-BoldItalic.ttf] [features=default] | |
\definefontsynonym [SerifBoldSlanted] [file:Alegreya-BoldItalic.ttf] [features=default] |
from flask import Flask, render_template_string, request | |
class CustomFlask(Flask): | |
jinja_options = Flask.jinja_options.copy() | |
jinja_options.update(dict( | |
block_start_string='<%', | |
block_end_string='%>', | |
variable_start_string='%%', | |
variable_end_string='%%', | |
comment_start_string='<#', |
pdf: | |
pdflatex -recorder word.tex | |
pdflatex word.tex |
% My first GIST % Dr.Yahyaoui M.Kaddour % 09-08-2015
Je m'amuse comme je peux avec ces fantastiques outils que m'offre github
$if(abstract)$ | |
%TC:envir abstract [] ignore | |
$endif$ | |
$if(arara)$ | |
$for(arara)$ | |
% arara: $arara$ | |
$endfor$ | |
$endif$ | |
\RequirePackage{fixltx2e} | |
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(papersize)$$papersize$$else$a4paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} |