Skip to content

Instantly share code, notes, and snippets.

View mothsART's full-sized avatar

Jérémie Ferry mothsART

View GitHub Profile
#!/usr/bin/env python3
import dbus
from gi.repository import GLib
from dbus.mainloop.glib import DBusGMainLoop
BUS_NAME = 'org.essai.blabla'
def get_url():
bus = dbus.SessionBus()
#!/bin/bash
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#!/usr/bin/python
# -*- coding:Utf-8 -*-
"""
HandyMenu : menu principal de la distribution
HandyLinux <http://handylinux.org>
Auteurs :
- HandyMenu-v1/2 : aka handy-menu
@mothsART
mothsART / pelicanconf.py
Last active December 16, 2015 11:54
i18n site
PLUGINS = [
'i18n_subsites',
]
# i18n
JINJA_EXTENSIONS = ['jinja2.ext.i18n']
I18N_GETTEXT_LOCALEDIR = 'themes/lab/translations'
DEFAULT_LANG = 'fr'
# define "I18N_SUBSITES" as a empty dictionary doesn't really matters : it's initialized on i18n_subsites.py on line 65
# I18N_SUBSITES = {}